Skip to content

feat(sync): compile and publish repository sources - #994

Draft
ctawiah wants to merge 1 commit into
ctawiah/sync-descriptor-storage-3bbffrom
ctawiah/sync-source-publication-3bbf
Draft

ctawiah wants to merge 1 commit into
ctawiah/sync-descriptor-storage-3bbffrom
ctawiah/sync-source-publication-3bbf

Conversation

@ctawiah

@ctawiah ctawiah commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Context

Descriptor-backed sources need compilation, dependency tracking, grouped edits, stale checks, and rollback as one host workflow.

What changes

  • Compile descriptors into variation, tool, and skill projections.
  • Read static repository dependencies.
  • Group edits by physical file.
  • Reject stale and overlapping edits.
  • Reparse and verify complete results.
  • Restore earlier files after a later publication failure.
  • Add compile, dependency, safety, and rollback tests.
primary source + imported prompt -> one checked publication batch

Design notes

  • Compilation and publication share source bundle helpers.
  • This actual code dependency keeps both behaviors in one focused PR.

Review focus

  • Can stale bytes reach a write?
  • Does rollback restore every earlier file?
  • Are non-target projections preserved?

Verification

  • make build
  • go test ./...
  • Repository lint
  • Relevant race tests

Related changes

  1. ctawiah/sync-projection-core-3bbf: projection and problem core
  2. ctawiah/sync-reference-core-3bbf: reference registry and Markdown
  3. ctawiah/sync-structured-adapters-3bbf: structured adapters
  4. ctawiah/sync-provider-profiles-3bbf: provider profiles
  5. ctawiah/sync-python-adapter-3bbf: Python adapter
  6. ctawiah/sync-typescript-adapters-3bbf: TypeScript and JavaScript adapters
  7. ctawiah/sync-descriptor-storage-3bbf: descriptor storage
  8. This PR: source compilation and publication
  9. ctawiah/sync-source-planner-3bbf: planner integration
  10. ctawiah/sync-descriptor-detach-3bbf: descriptor detach
  11. ctawiah/sync-link-preparation-3bbf: link preparation
  12. ctawiah/sync-link-command-3bbf: link commands
  13. ctawiah/sync-reference-cleanup-3bbf: Phase 1 cleanup

@ctawiah
ctawiah added this pull request to stack #1000 October 30, 2026 20:15
@ctawiah
ctawiah force-pushed the ctawiah/sync-source-publication-3bbf branch from eaf8d23 to 9c1ef3d Compare October 31, 2026 00:06
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