Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .fixtures/seeds/bilal-port-variants/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Deterministic filter, implemented in [`_variant-script.ts`](./_variant-script.ts
- keep only nodes whose `source` starts with `stakeholder`, `external-observed`, or `technical-observed`
- keep only edges whose endpoints both survive the node filter
- rewrite `local_id` and edge endpoint ids densely from 1 in source order
- emit spec slug `macro-view-grounded-intent` at `readiness_grade: elicitation_ready`
- emit spec slug `macro-view-grounded-intent`

The variant is curated starting truth for tracer runs. Product-created curation output is not merged back into this reusable seed; mixed-basis evidence belongs under `.fixtures/runs/fixture-curation/<run-id>/`.
2 changes: 0 additions & 2 deletions .fixtures/seeds/bilal-port-variants/_variant-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ interface SeedFixture {
spec: {
slug: string;
name: string;
readiness_grade: string;
};
nodes: Array<{
local_id: number;
Expand Down Expand Up @@ -67,7 +66,6 @@ async function main(): Promise<void> {
spec: {
slug: VARIANT_SLUG,
name: 'Macro View — grounded intent base',
readiness_grade: 'elicitation_ready',
},
nodes,
edges,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "macro-view-grounded-intent",
"name": "Macro View — grounded intent base",
"readiness_grade": "elicitation_ready"
"name": "Macro View — grounded intent base"
},
"nodes": [
{
Expand Down
2 changes: 1 addition & 1 deletion .fixtures/seeds/bilal-port/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Each `<slug>.json` is the seed contract consumed by the loader:

```
{
"spec": { "slug", "name", "readiness_grade" },
"spec": { "slug", "name" },
"nodes": [ { "local_id", "plane", "kind", "title", "body?", "basis", "source?", "detail?" } ],
"edges": [ { "category", "source_local_id", "target_local_id", "stance?", "basis", "rationale?" } ]
}
Expand Down
4 changes: 2 additions & 2 deletions .fixtures/seeds/bilal-port/_port-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ function portSpec(sourceName: string, slug: string, displayName: string): SpecPo
/** Assemble the consolidated seed contract — one file per spec, atomic seed unit. */
function buildSeed(result: SpecPortResult, displayName: string): SeedFixture {
return {
spec: { slug: result.slug, name: displayName, readiness_grade: 'commitments_ready' },
spec: { slug: result.slug, name: displayName },
nodes: result.brunchNodes,
edges: result.brunchEdges,
};
Expand Down Expand Up @@ -783,7 +783,7 @@ function writeReadme(results: { slug: string; displayName: string; stats: Record
'',
'```',
'{',
' "spec": { "slug", "name", "readiness_grade" },',
' "spec": { "slug", "name" },',
' "nodes": [ { "local_id", "plane", "kind", "title", "body?", "basis", "source?", "detail?" } ],',
' "edges": [ { "category", "source_local_id", "target_local_id", "stance?", "basis", "rationale?" } ]',
'}',
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/bilal-port/code-health.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "code-health",
"name": "Code Health",
"readiness_grade": "commitments_ready"
"name": "Code Health"
},
"nodes": [
{
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/bilal-port/explorer-ui.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "explorer-ui",
"name": "Explorer UI",
"readiness_grade": "commitments_ready"
"name": "Explorer UI"
},
"nodes": [
{
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/bilal-port/macro-view.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "macro-view",
"name": "Macro View",
"readiness_grade": "commitments_ready"
"name": "Macro View"
},
"nodes": [
{
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/brunch-self/spec-graph.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "brunch-self",
"name": "Brunch (self-described spec graph)",
"readiness_grade": "planning_ready"
"name": "Brunch (self-described spec graph)"
},
"nodes": [
{ "local_id": 1, "plane": "intent", "kind": "goal", "title": "Build Brunch as a local spec-elicitation product layered on Pi without forking it", "basis": "explicit", "source": "memory/SPEC.md" },
Expand Down
2 changes: 1 addition & 1 deletion .fixtures/seeds/dumpchat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Faithful vs. projected:
milestone / frontier / slice nodes are plausible projections from the intent,
marked `source: "projected"`.

`readiness_grade` is `commitments_ready`: the source spec commits firmly to
The source spec commits firmly to
decisions, invariants, and selector policy, but carries no explicit plan.

Coverage (a by-product of being faithful, not the goal):
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/dumpchat/spec-graph.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "dumpchat",
"name": "Dumpchat (chat-export browser extension spec graph)",
"readiness_grade": "commitments_ready"
"name": "Dumpchat (chat-export browser extension spec graph)"
},
"nodes": [
{ "local_id": 1, "plane": "intent", "kind": "goal", "title": "Export AI chat conversations to a Markdown file from supported platforms", "basis": "explicit", "source": "README.md" },
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/edge-spread/category-directions.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "category-directions",
"name": "Category Directions",
"readiness_grade": "commitments_ready"
"name": "Category Directions"
},
"nodes": [
{ "local_id": 1, "plane": "intent", "kind": "thesis", "title": "Unproven thesis exemplar", "basis": "explicit", "source": "fixture" },
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/edge-spread/hub-neighborhood.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "hub-neighborhood",
"name": "Hub Neighborhood",
"readiness_grade": "commitments_ready"
"name": "Hub Neighborhood"
},
"nodes": [
{ "local_id": 1, "plane": "intent", "kind": "requirement", "title": "Stage 2 configuration-space requirement (hub anchor)", "basis": "explicit", "source": "fixture" },
Expand Down
2 changes: 1 addition & 1 deletion .fixtures/seeds/fable/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Faithful vs. projected:
and slices map to the real done/pending roadmap slices (config spike, walking
skeleton, manifest parity, preview mode, source view, watermark audit).

`readiness_grade` is `planning_ready`: the source carries a committed SPEC plus
The source carries a committed SPEC plus
an ordered ROADMAP of done and pending slices.

Coverage (a by-product of being faithful, not the goal):
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/fable/spec-graph.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "fable",
"name": "Fable (Vite-native component workbench)",
"readiness_grade": "planning_ready"
"name": "Fable (Vite-native component workbench)"
},
"nodes": [
{ "local_id": 1, "plane": "intent", "kind": "goal", "title": "Build a Vite-native component workbench with a small deep core and explicit framework adapters", "basis": "explicit", "source": "memory/SPEC.md" },
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/kind-band-spread/coverage-matrix.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "coverage-matrix",
"name": "Coverage Matrix",
"readiness_grade": "elicitation_ready"
"name": "Coverage Matrix"
},
"nodes": [
{ "local_id": 1, "plane": "intent", "kind": "goal", "title": "Anchor the product problem", "basis": "explicit", "source": "fixture" },
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/rd-loop/spec-graph.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "rd-loop",
"name": "RD-Loop (frontier-governance harness for autonomous R&D)",
"readiness_grade": "planning_ready"
"name": "RD-Loop (frontier-governance harness for autonomous R&D)"
},
"nodes": [
{ "local_id": 1, "plane": "intent", "kind": "goal", "title": "Govern autonomous R&D as a controlled epistemic process, not a single agent trying hard", "basis": "explicit", "source": "concept-2-b.md" },
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/workspace-spread/alpha-grounding.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "alpha-grounding",
"name": "Alpha Grounding",
"readiness_grade": "grounding_onboarding"
"name": "Alpha Grounding"
},
"nodes": [
{ "local_id": 1, "plane": "intent", "kind": "goal", "title": "Help a user orient inside one workspace", "basis": "explicit", "source": "fixture" },
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/workspace-spread/beta-commitments.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "beta-commitments",
"name": "Beta Commitments",
"readiness_grade": "commitments_ready"
"name": "Beta Commitments"
},
"nodes": [
{ "local_id": 1, "plane": "intent", "kind": "requirement", "title": "Workspace overviews should report node counts per spec", "basis": "explicit", "source": "fixture" },
Expand Down
3 changes: 1 addition & 2 deletions .fixtures/seeds/yamlbase/spec-graph.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"spec": {
"slug": "yamlbase",
"name": "Yamlbase (Dogbase — agent-oriented local DB with Git-backed JSON storage)",
"readiness_grade": "planning_ready"
"name": "Yamlbase (Dogbase — agent-oriented local DB with Git-backed JSON storage)"
},
"nodes": [
{ "local_id": 1, "plane": "intent", "kind": "goal", "title": "Give agents a fast, queryable local DB whose data stays human-auditable and Git-trackable", "basis": "explicit", "source": "memory/SPEC.md" },
Expand Down
88 changes: 85 additions & 3 deletions drizzle/0004_gaps_node_kind_reference.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,85 @@
ALTER TABLE `elicitation_gaps` ADD `refers_to` text NOT NULL;--> statement-breakpoint
ALTER TABLE `elicitation_gaps` ADD `question` text NOT NULL;--> statement-breakpoint
ALTER TABLE `elicitation_gaps` DROP COLUMN `name`;
CREATE TABLE `elicitation_gaps_new` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`spec_id` integer NOT NULL,
`refers_to` text NOT NULL,
`question` text NOT NULL,
`rationale` text NOT NULL,
`disposition` text DEFAULT 'open' NOT NULL,
`basis` text DEFAULT 'explicit' NOT NULL,
`readiness_band` text NOT NULL,
`predicate_kind` text NOT NULL,
`predicate` text NOT NULL,
`importance` integer DEFAULT 1 NOT NULL,
`plane_affinity` text,
`lens_affinity` text,
`arose_from_gap_id` integer,
`resolved_by_node_id` integer,
`created_at_lsn` integer NOT NULL,
`disposition_set_at_lsn` integer,
FOREIGN KEY (`spec_id`) REFERENCES `specs`(`id`) ON UPDATE no action ON DELETE no action,
FOREIGN KEY (`arose_from_gap_id`) REFERENCES `elicitation_gaps_new`(`id`) ON UPDATE no action ON DELETE no action,
FOREIGN KEY (`resolved_by_node_id`) REFERENCES `nodes`(`id`) ON UPDATE no action ON DELETE no action
);
--> statement-breakpoint
INSERT INTO `elicitation_gaps_new` (
`id`,
`spec_id`,
`refers_to`,
`question`,
`rationale`,
`disposition`,
`basis`,
`readiness_band`,
`predicate_kind`,
`predicate`,
`importance`,
`plane_affinity`,
`lens_affinity`,
`arose_from_gap_id`,
`resolved_by_node_id`,
`created_at_lsn`,
`disposition_set_at_lsn`
)
SELECT
`id`,
`spec_id`,
CASE
WHEN `name` = 'domain' THEN 'context'
WHEN `name` = 'protagonist' THEN 'thesis'
WHEN `name` = 'pain_pull' THEN 'thesis'
WHEN `name` = 'constraint' THEN 'constraint'
WHEN `name` = 'value' THEN 'goal'
WHEN `name` = 'context_of_use' THEN 'context'
WHEN `name` = 'success_sketch' THEN 'criterion'
WHEN `name` = 'solution_boundary' THEN 'constraint'
ELSE COALESCE(json_extract(`predicate`, '$.nodeKind'), json_extract(`predicate`, '$.subjectKind'), 'context')
END,
CASE
WHEN `name` = 'domain' THEN 'What kind of thing is this, and what domain or environment does it live in?'
WHEN `name` = 'protagonist' THEN 'Who is this for?'
WHEN `name` = 'pain_pull' THEN 'What pull or pain makes this worth doing?'
WHEN `name` = 'constraint' THEN 'What binding constraints, non-goals, or boundaries already shape the work?'
WHEN `name` = 'value' THEN 'What outcome or value should this create?'
WHEN `name` = 'context_of_use' THEN 'When, where, or under what conditions will it be used?'
WHEN `name` = 'success_sketch' THEN 'How will we recognize success or good enough?'
WHEN `name` = 'solution_boundary' THEN 'What is explicitly out of scope or off the table?'
ELSE CASE WHEN trim(`name`) = '' THEN 'What needs to be clarified here?' ELSE trim(`name`) END
END,
`rationale`,
`disposition`,
`basis`,
`readiness_band`,
`predicate_kind`,
`predicate`,
`importance`,
`plane_affinity`,
`lens_affinity`,
Comment on lines +71 to +76
`arose_from_gap_id`,
`resolved_by_node_id`,
`created_at_lsn`,
`disposition_set_at_lsn`
FROM `elicitation_gaps`;
--> statement-breakpoint
DROP TABLE `elicitation_gaps`;
--> statement-breakpoint
ALTER TABLE `elicitation_gaps_new` RENAME TO `elicitation_gaps`;
Comment thread
cursor[bot] marked this conversation as resolved.
1 change: 1 addition & 0 deletions drizzle/0005_bumpy_vampiro.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `specs` DROP COLUMN `readiness_grade`;
Loading
Loading