Skip to content
Merged
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
1 change: 1 addition & 0 deletions docs/hygiene-history/ticks/2026/05/01/0723Z.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| 2026-05-01T07:23:00Z | opus-4-7 / autonomous-loop tick | 98fc7424 | PR #1018 CI-fix tick — two CI failures root-caused and fixed. (1) **shellcheck SC2295** on `tools/backlog/generate-index.sh` line 142: parameter expansion `${file#${REPO_ROOT}/}` needs inner expansion quoted separately to prevent pattern matching. Changed to `${file#"${REPO_ROOT}"/}` per shellcheck's recommendation. (2) **BACKLOG.md generated-index drift**: B-0124, B-0125, B-0126 were filed without YAML frontmatter (only markdown headers). The new generator (which warns AND skips on missing frontmatter) emitted different output than committed BACKLOG.md (which had empty entries for those three files). Backfilled YAML frontmatter on all three with `id`/`priority`/`status`/`title`/`created`/`last_updated` fields per the schema other backlog rows use. Regenerated BACKLOG.md via `BACKLOG_WRITE_FORCE=1 tools/backlog/generate-index.sh`. Both CI checks pass locally; auto-merge armed. Merged PRs visible in this tick: #986 (CSAP-absorption Deepseek corrections + Aaron 'center of the storm') and #1036 (tick-shard 0710Z) landed on main. Cron 98fc7424 healthy. | [PR #1018: 2 CI failures → 0; auto-merge armed] / [#986 + #1036 merged to main] | Class-level lesson reinforced: **the verify-before-state-claim discipline applies at backlog-row authoring time too.** B-0124/0125/0126 were filed with markdown headers but no schema-conforming YAML frontmatter — the file claimed backlog-row status structurally without satisfying the schema. PR #1018's WARN behavior is exactly the mechanization Aaron asked for in task #350 (auditor extension to verify file-internal metadata claims at pre-commit), one specific surface at a time. The shellcheck SC2295 catch is interesting: the fix was a one-character change (adding quotes around `${REPO_ROOT}`), but the fix-to-find ratio is high — without shellcheck, the bug wouldn't manifest until a path contained pattern-special characters. Future-Otto: when adding bash code to substrate, run `shellcheck` locally before pushing — same compose-time verify-before-state-claim discipline applied to shell scripts. |
Comment thread
AceHack marked this conversation as resolved.
Loading