myxce/.claude/skills
Rongsong Shen d32f06e5fc
docs: formalize save/restore field-completeness as a standing invariant
Prompted by rediscovering the same bug class in two places this
session: the controller's WAL already has this documented for one
mechanism (persistence.md's APPLY_CLEAN/bug-1678 section, xce-audit-
invariants controller dimension 7) but the scheduler's separate
snapshot save/load mechanism had the identical gap (job->allocs, this
session's scheduler-snapshot-job-allocation brief) with no equivalent
tracking. Closes that gap and makes the invariant self-reinforcing
going forward rather than something that has to be independently
rediscovered per persistence mechanism:

- xce-audit-invariants: new scheduler dimension 4 ("Field-complete
  snapshot save/load parity"), sibling of controller dimension 7,
  scoped to snapshot.c/snapshot_wire.c/snapshot_load.c.
- persistence.md: new "Snapshot Save/Load Field-Completeness
  (Scheduler)" section cross-referencing the WAL-side bug-1678 writeup
  and the new scheduler dimension.
- CLAUDE.md: new top-level Key Rules bullet stating the invariant
  plainly, plus adding persistence.md to the steering-file pointer
  table (it was missing).
- kiro-spec-design's design-review-gate.md (the mandatory pre-write
  gate) and kiro-validate-design's design-review.md (the optional deep
  review): new conditional review sections -- applies only when a
  design touches a save/restore mechanism, requires enumerating every
  persisted field's capture status rather than trusting an aggregate
  "state looks right" check. Catches this class of gap at design time,
  before implementation, rather than only via a later audit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AgYRU3zDTqNGV5Jk8aiKLg
2026-08-27 08:59:48 +00:00
..
gitea-sync feat(tooling): add cc-sdd to Gitea sync skill 2026-07-23 04:29:06 +00:00
kiro-debug add kiro skills 2026-05-21 03:41:57 +00:00
kiro-discovery add kiro skills 2026-05-21 03:41:57 +00:00
kiro-impl add kiro skills 2026-05-21 03:41:57 +00:00
kiro-review add kiro skills 2026-05-21 03:41:57 +00:00
kiro-spec-batch add kiro skills 2026-05-21 03:41:57 +00:00
kiro-spec-design docs: formalize save/restore field-completeness as a standing invariant 2026-08-27 08:59:48 +00:00
kiro-spec-init docs(kiro): reconcile spec metadata, promote 3 new specs, fix template path 2026-08-16 11:02:06 +00:00
kiro-spec-quick docs(kiro): reconcile spec metadata, promote 3 new specs, fix template path 2026-08-16 11:02:06 +00:00
kiro-spec-requirements docs(kiro): reconcile spec metadata, promote 3 new specs, fix template path 2026-08-16 11:02:06 +00:00
kiro-spec-status add kiro skills 2026-05-21 03:41:57 +00:00
kiro-spec-tasks docs(kiro): reconcile spec metadata, promote 3 new specs, fix template path 2026-08-16 11:02:06 +00:00
kiro-steering docs(kiro): reconcile spec metadata, promote 3 new specs, fix template path 2026-08-16 11:02:06 +00:00
kiro-steering-custom docs(kiro): reconcile spec metadata, promote 3 new specs, fix template path 2026-08-16 11:02:06 +00:00
kiro-validate-design docs: formalize save/restore field-completeness as a standing invariant 2026-08-27 08:59:48 +00:00
kiro-validate-gap add kiro skills 2026-05-21 03:41:57 +00:00
kiro-validate-impl add kiro skills 2026-05-21 03:41:57 +00:00
kiro-verify-completion add kiro skills 2026-05-21 03:41:57 +00:00
weekly_report chore(specs): add scheduler-sim-eager-reconciliation spec, weekly report, cross-spec sequencing notes 2026-08-24 12:56:35 +00:00
xce-audit-invariants docs: formalize save/restore field-completeness as a standing invariant 2026-08-27 08:59:48 +00:00
xce-build docs: sync skills and steering docs with bug-1562..1566 findings 2026-08-17 10:21:25 +00:00
xce-deploy-ha feat(xce-deploy-ha): support real xcecd worker deployment alongside virtual 2026-08-19 09:48:53 +00:00
xce-test-ha chore(xce-test-rc-file): pass --norc from existing xce_test automation 2026-08-27 02:24:56 +00:00
xce-test-resources chore(xce-test-rc-file): pass --norc from existing xce_test automation 2026-08-27 02:24:56 +00:00