Skip to content

A new work log starts at the current format; format refusals say how to raise it - #485

Merged
el-bri-ga merged 7 commits into
mainfrom
fix/fresh-log-format-478
Nov 20, 2026
Merged

el-bri-ga merged 7 commits into
mainfrom
fix/fresh-log-format-478

Conversation

@el-bri-ga

Copy link
Copy Markdown
Contributor

Closes #478

  • The tracker writes format_raised to FORMAT as the first record when it starts on a log with no records (Settings.fresh_format, set from the constant, so a later bump follows). A log with records keeps its format; the raise stays person-only. No fold change, so no golden or replay-corpus change.
  • A format refusal is now Error::Format: refused: format: worker_started needs log format 21, this log is at 13; a person raises it with format_raised (see docs/upgrades.md#formats). HTTP still answers 409 why: format; kbl-mcp tools pass the text through. supervise_status.paused_because now carries the last launch error.
  • GET /v1/me adds log_format per team and current_format; dev/quickstart.sh prints them and the raise command when behind.
  • Tests: fresh_log (3), supervise pause text; each fails with its fix reverted. The fault sweep now starts every seed on a created log. Dev checks: check-quickstart and check-supervise assert no manual raise on a fresh stack (CI only).

Design calls: the docs section is docs/upgrades.md#formats (the issue named work-tracker.md, which has no formats section). The raise is written as a person record by the tracker, so the fold rule is unchanged.

@el-bri-ga
el-bri-ga enabled auto-merge (squash) November 20, 2026 01:26
@sonarqubecloud

Copy link
Copy Markdown

@el-bri-ga
el-bri-ga merged commit b1abaf3 into main Nov 20, 2026
10 checks passed
@el-bri-ga
el-bri-ga deleted the fix/fresh-log-format-478 branch November 20, 2026 02:30
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.

A fresh stack starts on an old log format, and supervise_start fails with a bare 'refused: format'

1 participant