Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .specfuse/LEARNINGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4650,3 +4650,16 @@ compaction counterpart — it merges duplicates, retires superseded entries into
previously uncalled code, name the ratchet update in its acceptance and run
`tests.test_caller_check_ratchet` in its verification; a green narrow tier does not cover
repo-wide ratchets.

- [FEAT-LOOP-2026-0250/T04] **A unit that edits `docs/*.md` must also refresh that file's packaged
copy under `specfuse/loop/data/docs/` in the same unit.** T04 edited `docs/methodology.md` and
not its packaged copy; its narrow tier selected no docs-sync test, so it passed, and three
docs-sync tests went red only in the gate's broad run. Run `scripts/sync-scaffold.sh` before
reporting, and list the packaged copy in `produces:` so the diff guard sees it.

- [FEAT-LOOP-2026-0250/T01] **A test that validates events through `validate_event` must pin the
real packaged schemas and clear the validator's module caches.** `test_emitted_events_validate`
passed alone and failed in the full suite because an earlier test left
`_DRIVER_EVENT_TYPES_CACHE` empty, dropping every driver event type from the enum. Copy the
pinning from `tests/test_event_gate_full_envelope.py` when writing the test, not after the broad
run fails.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ Licensed under the Apache License, Version 2.0. See LICENSE.
docs-sync tests went red only in the gate's broad run. Run `scripts/sync-scaffold.sh` before
reporting, and list the packaged copy in `produces:` so the diff guard sees it.

> **Accepted 2026-11-25** — promoted to `.specfuse/LEARNINGS.md` as `[FEAT-LOOP-2026-0250/T04]`.

- [FEAT-LOOP-2026-0250/T01] **A test that validates events through `validate_event` must pin the
real packaged schemas and clear the validator's module caches.** `test_emitted_events_validate`
passed alone and failed in the full suite because an earlier test left
`_DRIVER_EVENT_TYPES_CACHE` empty, dropping every driver event type from the enum. Copy the
pinning from `tests/test_event_gate_full_envelope.py` when writing the test, not after the broad
run fails.

> **Accepted 2026-11-25** — promoted to `.specfuse/LEARNINGS.md` as `[FEAT-LOOP-2026-0250/T01]`.