-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat(coding-agent): deliver the semantic-edge ledger through the agent-traces outbox #1984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 22 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e4fba20
feat(coding-agent): ACP lineage-v1 provenance producer
snimu d7e9a41
fix(coding-agent): harden lineage retry identity, spawn ancestry, and…
snimu cd18572
fix(coding-agent): eager lineage body hash and mutation-hardened tests
snimu e66d91e
test(coding-agent): kill the last two lineage mutants
snimu 06b80dc
feat(coding-agent)!: convert the provenance producer to ACP semantic-…
snimu 1e531cb
test(coding-agent): kill the five surviving semantic-edge mutants
snimu 9f62820
feat(coding-agent): failed subagent runs also return their last commit
snimu fdfd5fa
fix(coding-agent): harden semantic-edge retry identity and ledger fau…
snimu 7f8c934
fix(coding-agent): distinct request identity per split-turn summary call
snimu 4f53497
merge: main into feat/acp-lineage-v1 (kernel protocol 2)
snimu 5b9c8fb
fix(coding-agent): degrade the semantic-edge recorder instead of thro…
snimu d066a75
fix(coding-agent): flush pending edges to the last-committed summary …
snimu 82241bc
fix(coding-agent): dedupe the terminal flush against generated contin…
snimu 3b44c95
Merge main into local-acp-lineage-v1
snimu 3c654e6
refactor(coding-agent): reschedule agent-trace uploads through a disk…
snimu 0e7da14
fix(coding-agent): make the trace outbox per-entry, durable at persis…
snimu 2eb82f2
fix(coding-agent): retry failed intent markers and cap Retry-After at…
snimu 3e473f3
Merge remote-tracking branch 'origin/main' into feat/acp-lineage-v1
snimu ec01ea1
Merge remote-tracking branch 'origin/refactor/agent-traces-outbox' in…
snimu 64ef1b6
fix(coding-agent): commit summary slices only when the compaction com…
snimu 856a088
Merge branch 'feat/acp-lineage-v1' into feat/acp-lineage-delivery
snimu 2b27521
feat(coding-agent): register the semantic-edge ledger with the agent-…
snimu 2ac123e
fix(coding-agent): re-register the ledger intent when the outbox ledg…
snimu 69ef139
Merge remote-tracking branch 'origin/main' into feat/acp-lineage-deli…
snimu 22606d5
fix(coding-agent): consent-gate outbox intent at persist time and dro…
snimu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Register the per-session semantic-edge ledger with the agent-traces outbox: durable kind-tagged intent at persist, an append-only byte cursor, catch-up counting, and pruning on deletion. No delivery endpoint exists yet; pending ledgers are counted, never sent. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| - Added an ACP semantic-edges-v1 producer: each agent session appends an append-only `semantic-edges.jsonl` ledger beside its session artifacts, every provider turn and compaction summary call carries one opaque request ID on `X-ACP-Model-Request-ID` and `Idempotency-Key` (minted before the call, committed or failed when its stream resolves, and stable across retry attempts of the same call body), spawned subagents record their parent session and spawning request while successful children record their return, and `deriveSemanticEdges` folds a session tree's ledgers into commit-gated `continuation`/`subagent_call`/`subagent_return`/`compaction` edges matching the verifiers semantic-edges-v1 schema. Derivation only — nothing publishes or reads the ledger yet. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| - Reworked agent-trace upload scheduling as a disk-cursor outbox: upload intent and per-session uploaded-content cursors persist as one small entry file per session under `agent-traces-outbox/` in the agent dir, a startup catch-up uploads anything a previous process never finished (pruning cursors of deleted session files), scheduled and catch-up uploads never re-send unchanged sessions (the explicit `/traces upload` command still force-uploads), and rate-limited uploads reschedule (honoring an advertised Retry-After) instead of sleeping. Session disposal and process exit no longer wait on trace uploads at all, and upload timers never keep the process alive; the exit drain barrier is gone (the startup catch-up replaces it). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.