auto-sync - #220
Merged
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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>
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.