Repository navigation
Add a software-factory memory handoff example - #935
Merged
Merged
Conversation
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
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.
Changelog category
Why
Coding agents need to hand source evidence and a saved lesson to a reviewer without treating task completion as code acceptance. This example joins the SDK's existing source lookup, memory, run and fenced-task operations in one finite application.
Scope and risk
Add a Python reference script, usage and prerequisite documentation, and eleven offline mocked-transport cases. The caller supplies an indexed public repository, its commit, a review claim, an existing shared namespace and inbox, and two scoped service-account credentials. Application code awaits each lookup and write; no model chooses tools or implements or reviews a patch.
The example checks source watermarks, a complete definition, stored-note provenance and task ownership. It compares returned source bodies, reports an evidence handoff with a neutral run outcome, and deletes only its generated memory key. It checks the observed task fence before cleanup and sends that fence on cancellation, including before a successful claim. Rate-limit pacing and retries are disabled. Cleanup is not an atomic lifecycle reservation; other workers must not claim or defer the example task. Operation receipts omit credentials, source bodies, claims and raw error bodies.
It does not wait for native code-link processing or verify a lesson's truth. The documentation distinguishes tombstoning from erasure, retained task/run history, ambiguous responses, provider use and operator reconciliation. Real deployment execution and model quality remain unmeasured.
Compatibility, rollout and rollback
Tests
AI assistance in the code
AI-generated: Codex wrote the example, documentation and tests. The SDK contracts, source/provenance boundaries, cleanup and offline behavior were checked.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist