Skip to content

agent-trace: Add stable source-instance identity - #186

Open
davidabram wants to merge 3 commits into
mainfrom
sce-sync
Open

agent-trace: Add stable source-instance identity#186
davidabram wants to merge 3 commits into
mainfrom
sce-sync

Conversation

@davidabram

Copy link
Copy Markdown
Member

No description provided.

@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sce-config-json Ready Ready Preview Aug 9, 2026 7:58am

Request Review

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant