Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
1516997
plan: add branch for M5 agent-graph-integration (FE-785)
lunelson Jun 1, 2026
3a9a115
move src/tui-client/.pi → src/.pi per D52-L source topology
lunelson Jun 1, 2026
208acc0
wire commit_graph and read_graph Pi tools through CommandExecutor
lunelson Jun 1, 2026
da240fd
reconcile SPEC.md and PLAN.md: path refs → src/.pi/, M5 in-progress
lunelson Jun 1, 2026
b802fbc
stubs for future
lunelson Jun 1, 2026
445bcce
config and package updates, maybe breaking
lunelson Jun 2, 2026
2e5fa71
format and lint fixes
lunelson Jun 2, 2026
7338028
vite react plugin v6
lunelson Jun 2, 2026
4834d1f
prep for spec-persistence-and-startup batch 1
lunelson Jun 2, 2026
210a31d
Add spec persistence command boundary
lunelson Jun 2, 2026
b6285bb
Boot workspaces from DB-backed specs
lunelson Jun 2, 2026
945d596
Move src/ to D52-L topology; reconcile spec-persistence
lunelson Jun 2, 2026
dcd4dbf
Reconcile agent-composition model into SPEC; replan frontiers
lunelson Jun 2, 2026
7958182
remove legacy brunch memory files
lunelson Jun 2, 2026
50d4194
agent context composition re-spec I
lunelson Jun 2, 2026
c36101d
agent context composition re-spec/-plan II
lunelson Jun 2, 2026
2fe8bcc
Collapse duplicate session entry predicate
lunelson Jun 2, 2026
677a20b
Share transcript entry predicates
lunelson Jun 2, 2026
1206588
Handle unreadable session files
lunelson Jun 2, 2026
6333203
Lock agent-composition manifest model; reconcile SPEC/PLAN
lunelson Jun 2, 2026
18c3300
Align agents/ READMEs to locked composition model
lunelson Jun 2, 2026
82239be
Extract workspace boot session store classifier
lunelson Jun 2, 2026
b3dc4ef
Preserve session store oracle binding diagnostics
lunelson Jun 2, 2026
8e2f963
docs: reconcile workspace posture persistence
lunelson Jun 2, 2026
2843c95
FE-789: Fix session-agent runtime vocabulary
lunelson Jun 2, 2026
d2af892
FE-785: Prove propose-graph commit path
lunelson Jun 2, 2026
83d252e
FE-785: Gate review-set proposals by dry-run validation
lunelson Jun 2, 2026
021c8d1
FE-785: Fold runtime vocabulary into graph integration plan
lunelson Jun 2, 2026
a7b3e6b
FE-785: Rename session-agent goals as objectives
lunelson Jun 2, 2026
e7e8adf
Document public RPC exchange vocabulary
lunelson Jun 2, 2026
c3047b0
FE-785: Align review-set proposal state with RPC contract
lunelson Jun 2, 2026
f04b48d
Lock graph persistence topology
lunelson Jun 2, 2026
c77a3fd
mega sync and archive of docs vs SPEC
lunelson Jun 2, 2026
b1fed92
FE-785: Reframe plan around POC delivery
lunelson Jun 2, 2026
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
8 changes: 0 additions & 8 deletions .amp/settings.json

This file was deleted.

3 changes: 0 additions & 3 deletions .codex/config.toml

This file was deleted.

12 changes: 0 additions & 12 deletions .cursor/mcp.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"schemaVersion": 1,
"probeId": "propose-graph-commit",
"runId": "2026-06-02-propose-graph-commit",
"generatedAt": "2026-06-02T14:11:25.395Z",
"mission": "Prove the propose-graph strategy can commit graph truth through commit_graph.",
"evaluationFocus": "A14-L structural legality for direct commitGraph batches.",
"success": true,
"cwd": "/var/folders/2c/ptn6jcrj61lck_yzfz_p3b5m0000gn/T/brunch-propose-graph-commit-28lS9B",
"specId": 1,
"sessionId": "019e88ac-c864-7eb4-8ee0-85cd75c8dcc6",
"prompt": "Brunch A14-L probe: the user has accepted the following concept-level proposal and asked you to persist it now.\n\nConcept: A Brunch specification workspace needs an explicit launch-readiness subgraph that records the launch goal, the rollback requirement, the operator visibility criterion, and the assumption that users can recover from a failed launch.\n\nUse the read_graph tool once in overview mode, then use commit_graph to persist a coherent intent-plane graph. Requirements for the commit_graph call:\n- create at least four intent-plane nodes\n- include at least one goal, one requirement, one criterion, and one assumption\n- create at least three edges connecting the nodes\n- use only legal edge categories from the tool guidance\n- include stance only on support or proof edges\n- avoid decision and term nodes for this proof so detail schemas are not needed\n\nIf commit_graph returns STRUCTURAL_ILLEGAL, read the diagnostics and retry once with a corrected complete batch. Stop after a successful commit_graph result.",
"model": "claude-opus-4-7",
"maxAttempts": 2,
"attemptCount": 1,
"retryCount": 0,
"firstAttemptStatus": "success",
"finalStatus": "success",
"attempts": [
{
"index": 1,
"status": "success",
"lsn": 2,
"nodeRefs": {
"g1": 1,
"r1": 2,
"c1": 3,
"a1": 4
},
"edgeIds": [
1,
2,
3,
4
],
"content": "Graph committed successfully (LSN 2).\nNodes created: g1 → #1, r1 → #2, c1 → #3, a1 → #4\nEdges created: #1, #2, #3, #4"
}
],
"finalGraph": {
"nodeCount": 4,
"edgeCount": 4,
"lsn": 2
},
"committedNodeTitles": [
"Launch readiness",
"Rollback capability",
"Operator visibility",
"Users recover from failed launch"
],
"friction": [],
"artifacts": {
"runDir": ".fixtures/runs/propose-graph-commit/2026-06-02-propose-graph-commit",
"sessionJsonl": ".fixtures/runs/propose-graph-commit/2026-06-02-propose-graph-commit/session.jsonl",
"transcriptMarkdown": ".fixtures/runs/propose-graph-commit/2026-06-02-propose-graph-commit/transcript.md",
"reportJson": ".fixtures/runs/propose-graph-commit/2026-06-02-propose-graph-commit/report.json"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{"type":"session","version":3,"id":"019e88ac-c864-7eb4-8ee0-85cd75c8dcc6","timestamp":"2026-06-02T14:11:25.412Z","cwd":"/var/folders/2c/ptn6jcrj61lck_yzfz_p3b5m0000gn/T/brunch-propose-graph-commit-28lS9B"}
{"type":"custom","customType":"brunch.session_binding","data":{"schemaVersion":1,"specId":1},"id":"bd8476b9","parentId":null,"timestamp":"2026-06-02T14:11:25.412Z"}
{"type":"session_info","id":"44a7abf9","parentId":"bd8476b9","timestamp":"2026-06-02T14:11:25.412Z","name":"A14 propose-graph commit proof — session 1"}
{"type":"custom","customType":"brunch.agent_runtime_state","data":{"schemaVersion":1,"reason":"switch","state":{"schemaVersion":1,"operationalMode":"elicit","agentStrategy":"propose-graph","agentLens":"intent","agentGoal":"commitment-converge"},"previous":{"schemaVersion":1,"operationalMode":"elicit","agentStrategy":"auto","agentLens":"auto","agentGoal":"grounding-advance"},"source":"extension"},"id":"a6dce430","parentId":"44a7abf9","timestamp":"2026-06-02T14:11:25.413Z"}
{"type":"model_change","id":"9d488815","parentId":"a6dce430","timestamp":"2026-06-02T14:11:25.425Z","provider":"anthropic","modelId":"claude-opus-4-7"}
{"type":"thinking_level_change","id":"dd57d5d2","parentId":"9d488815","timestamp":"2026-06-02T14:11:25.425Z","thinkingLevel":"medium"}
{"type":"message","id":"0eb8d639","parentId":"dd57d5d2","timestamp":"2026-06-02T14:11:25.469Z","message":{"role":"user","content":[{"type":"text","text":"Brunch A14-L probe: the user has accepted the following concept-level proposal and asked you to persist it now.\n\nConcept: A Brunch specification workspace needs an explicit launch-readiness subgraph that records the launch goal, the rollback requirement, the operator visibility criterion, and the assumption that users can recover from a failed launch.\n\nUse the read_graph tool once in overview mode, then use commit_graph to persist a coherent intent-plane graph. Requirements for the commit_graph call:\n- create at least four intent-plane nodes\n- include at least one goal, one requirement, one criterion, and one assumption\n- create at least three edges connecting the nodes\n- use only legal edge categories from the tool guidance\n- include stance only on support or proof edges\n- avoid decision and term nodes for this proof so detail schemas are not needed\n\nIf commit_graph returns STRUCTURAL_ILLEGAL, read the diagnostics and retry once with a corrected complete batch. Stop after a successful commit_graph result."}],"timestamp":1780409485427}}
{"type":"message","id":"9c0cf8a1","parentId":"0eb8d639","timestamp":"2026-06-02T14:11:30.935Z","message":{"role":"assistant","content":[{"type":"thinking","thinking":" I should review the graph before making any changes.","thinkingSignature":"Eu4BCmMIDhgCKkDfi0PV+5Zhp834C+AQF8+Zsl5dp9wCXuecFW3oxmVAT/ZAsaFJsurV6/bOXXDyNJt7HlmTICMA6fpzO79lky58Mg9jbGF1ZGUtb3B1cy00LTc4AEIIdGhpbmtpbmcSDBlvobp/wsIxcg4wMxoMKDvy7u+bok1tlWZHIjD4ubCnT9I1JKzUl8sp5lLG2D1fN4EB30RYR4lTcPweGt3ZBWTEud/i1LwezTs3ehcqOfbAKPqLLIIG+2821+3lsmTuziEy3X2Tcdwh8aqYsP9IALDtr5BWcUjL4JNV2uQDr5HftaczGTiIwxgB"},{"type":"toolCall","id":"toolu_01DtKKmcMRAvKEB1SXyaP96d","name":"read_graph","arguments":{"mode":"overview"}}],"api":"anthropic-messages","provider":"anthropic","model":"claude-opus-4-7","usage":{"input":6,"output":98,"cacheRead":0,"cacheWrite":10518,"totalTokens":10622,"cost":{"input":0.000030000000000000004,"output":0.00245,"cacheRead":0,"cacheWrite":0.0657375,"total":0.0682175}},"stopReason":"toolUse","timestamp":1780409485470,"responseId":"msg_01XEsKg1GHnEDqphuKXMZxbD"}}
{"type":"message","id":"333d6bdc","parentId":"9c0cf8a1","timestamp":"2026-06-02T14:11:30.937Z","message":{"role":"toolResult","toolCallId":"toolu_01DtKKmcMRAvKEB1SXyaP96d","toolName":"read_graph","content":[{"type":"text","text":"The graph is empty (no nodes or edges)."}],"details":{},"isError":false,"timestamp":1780409490937}}
{"type":"message","id":"23c9ee36","parentId":"333d6bdc","timestamp":"2026-06-02T14:11:39.998Z","message":{"role":"assistant","content":[{"type":"toolCall","id":"toolu_01HJQLJQCtM9r3uCon8sa88x","name":"commit_graph","arguments":{"nodes":[{"ref":"g1","plane":"intent","kind":"goal","title":"Launch readiness","body":"Ship the launch in a state where failures can be detected and reversed without lasting user harm."},{"ref":"r1","plane":"intent","kind":"requirement","title":"Rollback capability","body":"The launched system must support a rollback path that returns users to the prior known-good state."},{"ref":"c1","plane":"intent","kind":"criterion","title":"Operator visibility","body":"Operators can observe launch health (errors, key flows, rollback triggers) in near-real-time during and after launch."},{"ref":"a1","plane":"intent","kind":"assumption","title":"Users recover from failed launch","body":"Users are able to resume their work after a failed launch once rollback completes, without manual data repair."}],"edges":[{"source":"r1","target":"g1","category":"support","stance":"for","rationale":"Rollback capability is a necessary condition for launch readiness."},{"source":"c1","target":"g1","category":"support","stance":"for","rationale":"Operator visibility is required to know whether the launch is healthy or needs rollback."},{"source":"a1","target":"r1","category":"support","stance":"for","rationale":"The rollback requirement presumes users can resume work after rollback; otherwise rollback alone would not suffice."},{"source":"c1","target":"r1","category":"dependency","rationale":"Deciding to invoke rollback depends on operator visibility into launch health."}]}}],"api":"anthropic-messages","provider":"anthropic","model":"claude-opus-4-7","usage":{"input":1,"output":605,"cacheRead":10518,"cacheWrite":130,"totalTokens":11254,"cost":{"input":0.000005,"output":0.015125000000000001,"cacheRead":0.005259,"cacheWrite":0.0008125000000000001,"total":0.0212015}},"stopReason":"toolUse","timestamp":1780409490937,"responseId":"msg_01PfPpnssDTbF5A8KpMXoViy"}}
{"type":"message","id":"9905b0cb","parentId":"23c9ee36","timestamp":"2026-06-02T14:11:40.002Z","message":{"role":"toolResult","toolCallId":"toolu_01HJQLJQCtM9r3uCon8sa88x","toolName":"commit_graph","content":[{"type":"text","text":"Graph committed successfully (LSN 2).\nNodes created: g1 → #1, r1 → #2, c1 → #3, a1 → #4\nEdges created: #1, #2, #3, #4"}],"details":{"status":"success","lsn":2,"nodes":{"g1":1,"r1":2,"c1":3,"a1":4},"edges":[1,2,3,4]},"isError":false,"timestamp":1780409500002}}
{"type":"message","id":"e47855e1","parentId":"9905b0cb","timestamp":"2026-06-02T14:11:42.714Z","message":{"role":"assistant","content":[{"type":"text","text":"Persisted the launch-readiness subgraph (LSN 2):\n\n- #1 goal — Launch readiness\n- #2 requirement — Rollback capability → supports #1\n- #3 criterion — Operator visibility → supports #1; depends on by #2\n- #4 assumption — Users recover from failed launch → supports #2"}],"api":"anthropic-messages","provider":"anthropic","model":"claude-opus-4-7","usage":{"input":1,"output":110,"cacheRead":10648,"cacheWrite":702,"totalTokens":11461,"cost":{"input":0.000005,"output":0.0027500000000000003,"cacheRead":0.005324,"cacheWrite":0.0043875,"total":0.012466499999999998}},"stopReason":"stop","timestamp":1780409500002,"responseId":"msg_016QhQDQBvksBViYK8Caro4w"}}
Loading
Loading