feat(agentjournal): a handoff is a goal another agent can pick up - #63
Merged
Conversation
agent-runtime was a tested library with zero estate consumers, linked to GDS by gitlink and docs alone. Now the engine consumes it where its contract fits exactly: gds handoff checkpoints unfinished work for a next actor, and that is a Goal journal -- durable, revisioned, validated by agent-runtime itself, never a private dialect. Apply creates the goal (genesis create, then the store's own CAS update) and completes the checkpoint item with commit and file evidence; verify completes the verification item idempotently; both append handoff lifecycle events to a JSONL stream through the library's emitter. A journal failure is a finding beside a checkpoint that already exists, never a rollback of it. Claude-Session: https://claude.ai/code/session_01LsGid6U5RrQdFvJmvYdGCF
rldyourmnd
force-pushed
the
feat/agent-runtime-journal
branch
from
September 1, 2026 10:31
bd3820f to
3eff819
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes the estate ledger item
agent-runtime-is-used-or-leaveson its own recommendation: integration.go.modgainsgithub.com/NDDev-OpenNetwork/agent-runtimeas a direct dependency.core/agentjournal: a Recorder over agent-runtime'sgoal.Storeandobservabilityemitter.RecordCheckpointcreates the goal at genesis and CAS-completes thecheckpoint-publisheditem (commit + carried files as evidence);RecordVerifiedcompleteshandoff-verifiedidempotently; both emit handoff lifecycle events (dispatched/completed) intohandoff-events.jsonlthrough the library's own validation.ApplyHandoff/VerifyHandoffwire it beside the operation state (<state dir>/agent-journals/); a recording failure is a medium finding on a successful envelope — the checkpoint is never rolled back for its journal.Tests: full round trip validated by agent-runtime's own
Validate, idempotent re-verify, refusal without a checkpoint, goal-id derivation against the library's pattern.validate_go_core.sh: PASS (full).https://claude.ai/code/session_01LsGid6U5RrQdFvJmvYdGCF