Skip to content

fix(briefs): health.md declares its ## Rows; scout briefs held to it - #1275

Merged
sebyx07 merged 1 commit into
mainfrom
fix/briefs-declare-rows
Nov 19, 2026
Merged

sebyx07 merged 1 commit into
mainfrom
fix/briefs-declare-rows

Conversation

@sebyx07

@sebyx07 sebyx07 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

The maintainer platform files only a failing row a scheduled scout brief declares; a brief with no ## Rows fires and files nothing.

  • .dz/briefs/health.md: a ## Rows section, one backticked id per check: the 19 table signals (ROW_IDS, in order) and finished. Non-executed prose trimmed (pointers, explanations); the table, rules and steps are unchanged in substance. Headed length 9,887 (was 9,976 rowless).
  • security-release.md / release-due.md are mode: devops; the platform owes rows only for scout briefs (owesRows = rowless && mode === Scout), so they stay rowless.
  • scripts/lib/brief-rows.ts: a copy of the platform's row reader and header line.
  • scripts/lib/brief-cap.test.ts: counts the exact header (it carries every row id, ~380 chars for health, so the old flat 100 reserve was too small) with 100 spare, and refuses a rowless scout brief.
  • scripts/lib/health-doc.test.ts: health's Rows equal [...ROW_IDS, 'finished'].

Tests: the three files above, 27 pass; bun run preflight green.

🤖 Generated with Claude Code

The maintainer platform files only a failing row a scheduled scout brief
declares, so a rowless brief fires and can file nothing. health.md
declared none. It now lists its 19 table signals and `finished`, and
non-executed prose was trimmed so it still fits the 10,000-character cap
with the platform's header, which carries every row id.

security-release.md and release-due.md are `mode: devops`: the platform
owes rows only for scout briefs (schedules.ts `owesRows`), so they stay
rowless.

brief-cap.test.ts now counts the exact header (scripts/lib/brief-rows.ts
copies the platform's reader) and refuses a rowless scout brief;
health-doc.test.ts pins health's Rows to ROW_IDS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@developerz-ai

developerz-ai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

✅ Reviewed — nothing blocking

0 actionable comment(s) · grounded on your code

@developerz-ai developerz-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review summary — 5 file(s), 0 finding(s).

Adds health brief row declarations and tests enforcing scout rows, ordered health signals, and header-inclusive size limits. No concrete defects found in the supplied diff.

@sebyx07
sebyx07 merged commit 5ea3ff0 into main Nov 19, 2026
43 checks passed
@sebyx07
sebyx07 deleted the fix/briefs-declare-rows branch November 19, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant