7 Commits

Author SHA1 Message Date
0xBigBoss 8ec333eddb fix(scripts): dereference symlinks when staging skill copies
Plugin caches ship shared docs as relative symlinks pointing outside the
skill dir; a verbatim copy dangles in the codex tree and GNU diff reports
the broken pair as perpetual --check drift on Linux.
2026-06-12 12:18:05 -05:00
0xBigBoss ebfa2b7a77 feat(scripts): strip claude-only frontmatter during skill sync
Codex skill frontmatter does not support allowed-tools, which previously
required maintaining a full codex-overrides copy of upstream skills just to
drop that line. Copies now stage through a transform that strips it, and
--check diffs the staged result so copy and check can never disagree.

Drop the canton-nodes override: its only delta was the allowed-tools line,
now handled by the transform, and it duplicated internal infra reference
data into this public repo.
2026-06-12 12:00:54 -05:00
0xBigBoss fbcbc1191d fix(scripts): skip codex-overridden skills in upstream sync phases
Upstream user/plugin sync copied skills that a codex-overrides entry later
replaced, so --check compared the override-shadowed destination against the
upstream source and reported perpetual false drift. Override-owned skills are
now skipped upstream; sync_codex_override_skills copies, checks, and marks
them itself.
2026-06-12 11:45:50 -05:00
Allen 178a733f5c feat(sync): curate codex skill sync 2026-03-11 18:42:03 -05:00
Allen 25afa26fc0 fix(sync): dedupe plugin skills before drift checks
Normal sync uses last-writer-wins when multiple plugins export the same
skill name, but --check compared each source against the same Codex
destination and reported false drift on the earlier provider.

Collect plugin skill candidates first and only copy/check the final winning
source for each skill name so check mode matches sync mode.
2026-03-11 14:09:32 -05:00
Big Boss 5042351460 feat(sync): add codex drift check and preserve manifest 2026-02-09 05:13:35 -06:00
Big Boss e68e2e5285 fix(scripts): preserve safe codex sync behavior on macOS
Prevent sync automation from failing in default macOS environments and from deleting skills through the legacy wrapper path.

- replace Bash 4 associative arrays with Bash 3.2-compatible tracking in sync-codex.sh

- make sync-skills-to-codex.sh opt out of pruning to keep wrapper behavior non-destructive
2026-02-08 20:14:50 -06:00