Skip to content

Fine-tune 0.3.1: rename schema key to sync_version, clean upgrade prompt - #2

Merged
dzykovic merged 4 commits into
mainfrom
feature/fine-tune-upgrade-to-31
May 19, 2026
Merged

Fine-tune 0.3.1: rename schema key to sync_version, clean upgrade prompt#2
dzykovic merged 4 commits into
mainfrom
feature/fine-tune-upgrade-to-31

Conversation

@dzykovic

@dzykovic dzykovic commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Fine-tunes the 0.3.1 modular/update work from #1 (no new release): renames the permanent config.yaml schema-version contract key intelligence_sync_versionsync_version everywhere (it is a frozen key — picked the clean final name once), and makes the CHANGELOG.md upgrade instruction a clean copy-paste prompt (fenced block, no blockquote > artifacts; single source — removed the duplicate inside the 0.3.1 entry). The intelligence-update skill's on-failure "read the CHANGELOG breaking notes" hint is kept as-is.

Type of change

  • Bug fix
  • New adapter
  • New helper / skill
  • Documentation
  • Refactor (no behavior change)

Permanent contract key rename + docs. No new version section (still ## [0.3.1]).

Verification

  • bash intelligence/sync/scripts/sync.sh runs cleanly against an example project (CI smoke ×6 + migration chain; locally revalidated stamp/read with the new sync_version key)
  • lint_frontmatter produces no new warnings
  • Adapter changes tested with an actual IDE (n/a — no adapter changes)
  • Documentation updated (CHANGELOG.md, README.md, docs/CONVENTIONS.md, CLAUDE.md, intelligence/sync/INIT.md, vendored docs)
  • CHANGELOG.md updated (under existing ## [0.3.1]; no new version by request)

Checks: 0 stale intelligence_sync_version occurrences repo-wide; sync_version consistent across engine / ci.yml (×9) / examples/* / INIT; bash -n clean on all scripts; ci.yml valid YAML; working tree clean.

Notes for reviewers

  • Frozen key. sync_version is a permanent, format-stable, top-level scalar in config.yaml — no migration may ever rename/move it (the rename is done now, before it's relied on at scale). Engine reads/writes it via read_engine_stamp/stamp_version; CI migration job and examples/* carry it.
  • No behavior change. Pure token rename + doc wording; migration/dispatch logic, status codes, and fail-closed guards unchanged from Modular layout + version-aware breaking-change update architecture #1.
  • Scope. Two commits: 865f18e (rename + kept on-failure skill hint), f79f9fd (clean copy-paste upgrade prompt, de-duplicated). Squash-merge intended.

dzykovic and others added 2 commits May 19, 2026 22:40
…ure hint to read CHANGELOG breaking notes

Permanent frozen key, picked the clean final name now (touches engine/docs/examples/ci). intelligence-update skill: on any failure code, re-read CHANGELOG entries current<release<=engine (esp. ### Breaking) before retry/escalate. No new release/version added.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…o blockquote); removed duplicate prompt in 0.3.1

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 19, 2026 19:53
…breaking notes, base plan on them, latest scripts, retry)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Renames the frozen schema-version contract key from intelligence_sync_version to sync_version across the codebase (engine, examples, CI, docs) and tidies the CHANGELOG upgrade instruction into a clean fenced copy-paste prompt (de-duplicating the prior inline 0.3.1 note). No behavioral changes; pure token rename plus documentation cleanup, all under the existing ## [0.3.1] entry.

Changes:

  • Rename intelligence_sync_versionsync_version in engine (lib/migrations.sh IS_VERSION_KEY, sync.sh error text), examples, CI assertions, INIT, and docs.
  • Replace blockquote-style upgrade instruction in CHANGELOG.md with a single fenced code block and remove the duplicate hint inside the 0.3.1 entry.
  • Update SKILL.md to add an on-failure CHANGELOG re-read hint and propagate the rename in all references.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Updates schema key name in the update-flow description.
intelligence/sync/skills/intelligence-update/SKILL.md Renames key references; adds on-failure CHANGELOG re-read hint.
intelligence/sync/scripts/sync.sh Updates error message and comment to new key name.
intelligence/sync/scripts/lib/migrations.sh Changes IS_VERSION_KEY value to sync_version.
intelligence/sync/INIT.md Updates bootstrap key emission references.
intelligence/sync/docs/CONVENTIONS.md Renames key throughout the schema-contract section.
docs/CONVENTIONS.md Mirrors the vendored CONVENTIONS rename.
CLAUDE.md Updates architecture overview key reference.
CHANGELOG.md Cleans upgrade prompt into a fenced block; de-duplicates 0.3.1 hint; renames key.
examples/{go-api,dotnet-api-with-react-frontend,platform-with-submodules}/config.yaml Updates example configs to the new key.
.github/workflows/ci.yml Updates 9 CI assertions/configs to the new key.

Verified zero stale intelligence_sync_version occurrences remain repo-wide.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dzykovic
dzykovic merged commit b6264b8 into main May 19, 2026
10 checks passed
@dzykovic
dzykovic deleted the feature/fine-tune-upgrade-to-31 branch May 19, 2026 20:00
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.

2 participants