Skip to content

auto-sync - #220

Merged
davidabram merged 7 commits into
mainfrom
auto-sync
Aug 20, 2026
Merged

auto-sync#220
davidabram merged 7 commits into
mainfrom
auto-sync

Conversation

@davidabram

Copy link
Copy Markdown
Member

No description provided.

Enable the planned post-commit synchronization boundary to resolve a conservative, config-file-only boolean without changing the existing sync engine. Extend the canonical schema and Rust config layers with global-before-local precedence, default-false behavior, provenance-aware inspection, and focused validation/resolution coverage.

This keeps automatic synchronization disabled until the later launcher and hook-integration tasks are implemented.
Plan: automatic-agent-trace-sync (T01)

Co-authored-by: SCE <sce@crocoder.dev>
@vercel

vercel Bot commented Aug 19, 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 19, 2026 2:30pm

Request Review

Provide a sync-owned one-shot launcher so callers can start asynchronous Agent Trace synchronization without blocking or inheriting child output. It resolves the current executable, runs `sync --format json` from the repository root with null standard streams, and ignores executable or spawn failures; tests cover exact command construction and fail-open behavior.

Ref: context/plans/automatic-agent-trace-sync.md (T02)

Co-authored-by: SCE <sce@crocoder.dev>
Enable the config-gated post-commit boundary to launch the existing detached
sync-owned `sync --format json` command only after Agent Trace persistence
succeeds. Preserve fail-open launcher behavior and keep the child asynchronous
so the hook does not wait or add high-frequency trigger paths.

Plan: automatic-agent-trace-sync (T03)

Co-authored-by: SCE <sce@crocoder.dev>
Reuse `sce sync --format json` as a detached, one-shot post-commit launch after local Agent Trace persistence, with repository-root execution and ignored launcher failures. Record the config, routing, and retry boundaries while preserving manual synchronization as the recovery path.

Plan: automatic-agent-trace-sync (T03)

Co-authored-by: SCE <sce@crocoder.dev>
Add a regression test proving post-commit Agent Trace validation failures return before config resolution or auto-sync launch. Record completion and validation evidence for automatic-agent-trace-sync task T04.

Co-authored-by: SCE <sce@crocoder.dev>
Preserve the configured matchers and commands while making the JSON hook layout consistent.
Make agent_trace.auto_sync default to true across runtime resolution and the canonical schema, while preserving explicit false as the opt-out. Align the CLI contracts and shared documentation with the default-enabled post-commit sync behavior.

Co-authored-by: SCE <sce@crocoder.dev>
@davidabram
davidabram merged commit 899a88f into main Aug 20, 2026
10 checks passed
@davidabram
davidabram deleted the auto-sync branch August 20, 2026 08:21
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