agent-trace: Add stable source-instance identity - #186
Open
davidabram wants to merge 3 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Agent Trace repository databases previously identified only the logical repository, leaving independently created database lineages indistinguishable and allowing hook runtime to create or migrate storage implicitly. Add an additive migration and typed UUIDv4 metadata initialization that atomically converges concurrent callers on one persisted source identity while preserving repository mismatch validation. Split setup-safe and hook-runtime-safe storage resolution so hooks require a prepared, migration-complete database, and expose the metadata through lifecycle setup output and synchronized context. Plan: stable-agent-trace-source-instance-identity (T01, T02) Co-authored-by: SCE <sce@crocoder.dev>
Cover independent database identities, migration upgrades, and concurrent initialization so source-instance metadata remains valid and converges on one persisted value. Add hook-runtime coverage proving baseline-only databases fail with setup guidance without applying migrations, using a test-only migration fixture seam. Plan: stable-agent-trace-source-instance-identity (T03) Co-authored-by: SCE <sce@crocoder.dev>
Clarify repository, database-lineage, and checkout identity distinctions while documenting the additive metadata migration and no-migration hook readiness contract. Update durable context to match typed metadata behavior and future ETL provenance requirements, and record completion evidence for the documentation task. Plan: stable-agent-trace-source-instance-identity.md (T04) Co-authored-by: SCE <sce@crocoder.dev>
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.
No description provided.