Skip to content

fix(embedded): restore emptied standards embeds — main hotfix (ag-arpk follow-up)#799

Merged
boshu2 merged 2 commits into
mainfrom
fix/embedded-sync-hotfix
Jun 6, 2026
Merged

fix(embedded): restore emptied standards embeds — main hotfix (ag-arpk follow-up)#799
boshu2 merged 2 commits into
mainfrom
fix/embedded-sync-hotfix

Conversation

@boshu2
Copy link
Copy Markdown
Owner

@boshu2 boshu2 commented Jun 6, 2026

Main is red — hotfix

cli/embedded/skills/standards/references/{go,test-pyramid}.md were empty (0 bytes) on main HEAD; #776's merge truncated them. contracts-sync / correctness run the full embedded-sync check on main-push (changed-files-scoped on PRs, so it slipped through during the batch drain) → main Validate failed (run on 3df599d, def8fc9).

Fix

  • Re-synced both embedded files from their sources via the cli/Makefile recipe (cp ../skills/standards/references/*). scripts/validate-embedded-sync.sh now reports All embedded files are in sync.
  • Corrected that script's stale fix hint: make sync-embedded (no such target) → make sync-hooks (the real recipe).

Evidence

bash scripts/validate-embedded-sync.sh → "All embedded files are in sync."

Bounded-context: BC5-Runtime
Evidence: cli/embedded/skills/standards/references/go.md

…main hotfix)

main HEAD had cli/embedded/skills/standards/references/{go,test-pyramid}.md
empty (0 bytes) — #776's merge truncated them, and contracts-sync (full on
main-push, changed-files-scoped on PRs) caught it -> main red. Re-synced from
source via the cli/Makefile sync-hooks recipe (cp). Also fixed validate-embedded-
sync.sh's stale fix hint ('make sync-embedded' -> 'make sync-hooks').
@github-actions github-actions Bot added the cli label Jun 6, 2026
…d hole)

The embedded-sync step ran only on hooks/go/ci changes, but the embedded
files mirror skills/standards/references/*, skills/using-agentops/SKILL.md and
skills/compile/scripts/compile.sh. A skills-only PR could drift the embeds
undetected — exactly how #776 reached main with empty embedded standards files
(main-red 2026-06-06). Add skills + contracts to the gate condition so this
class can't slip through PR CI again.
@github-actions github-actions Bot added the ci label Jun 6, 2026
@boshu2 boshu2 merged commit a999bcb into main Jun 6, 2026
15 of 16 checks passed
@boshu2 boshu2 deleted the fix/embedded-sync-hotfix branch June 6, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant