Repository navigation
Closed
feat(markdown-format): report end-of-turn lint findings by default without continuing the turn#11502
Feature
Copy link
Labels
host-runNeeds an unattended run on a host; the host runner takes it, not a person or the issue lane.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Description
Parent
Refs #9154
Depends on
- none: on the frontier now
Outcome
By default, when a turn ends with Markdown lint findings in the uncommitted changes, the user sees them in a warning and the turn ends. A user who opted in to today's hand-back keeps it.
Demo: on a default install, leave a lint finding in an uncommitted Markdown file and end the turn: a warning shows the finding and Claude does not continue. Set the hand-back option and repeat: Claude receives the findings and continues once.
Decisions
- Gate G9 from the proposal on verification: gate-based verification across Sonnet 5.5, Opus 5.5 and Fable 5.1 #5678: the Markdown in uncommitted changes is lint-clean at the end of the turn.
- Decision 2 on Approve the must-not-break gate set, defaults and reviewer rule from #5678's design proposal #9154 replaces the proposal's
off: ajudgmentrow takesadvisory, "offdoes nothing", andadvisory"reports and blocks nothing". - This is more than a default flip. The option is a boolean, and with it on, findings exit 2, which "sends Claude back to keep working" (hooks). That is
enforce, which decision 2 refuses without a source, so this slice adds the reporting state. - Class: C3, per Approve the must-not-break gate set, defaults and reviewer rule from #5678's design proposal #9154's first acceptance criterion.
Key interfaces
- The
markdown_format_end_of_turnoption of the markdown-format plugin: it gains a reporting state, the default. Today'struekeeps today's behavior. - The Stop row's output in the reporting state: exit 0 with
systemMessage, and nodecision, exit 2 oradditionalContext. - The row's existing guards stay:
stop_hook_active, and the quiet exit when markdownlint-cli2 is missing, which the session start probe already reports.
Done when
- AC1: With no option set and a lint finding in the uncommitted changes, a test shows the Stop row exits 0 with a
systemMessagecarrying the finding. - AC2: With no option set and a clean tree, a test shows the row prints nothing.
- AC3: With the option
true, a test shows findings still exit 2 at most once per turn. - AC4: With the option
false, orMARKDOWN_FORMAT_ENABLEDfalse, the row runs no check, shown by a test. - AC5: The option's description and the plugin README state the new default.
Out of scope
- The PostToolBatch rewrite, which is unchanged.
- The pre-commit check's rules.
Metadata
Metadata
Assignees
Labels
host-runNeeds an unattended run on a host; the host runner takes it, not a person or the issue lane.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Type
Fields
No fields configured for Feature.
Activity
github-actions commentedon Oct 31, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Understood: add a default reporting state to the
markdown_format_end_of_turnoption. At the end of a turn, lint findings in uncommitted Markdown show as asystemMessageand exit 0, and Claude does not continue.truekeeps today's exit-2 hand-back.falseorMARKDOWN_FORMAT_ENABLEDfalse runs no check. The issue has exact acceptance criteria AC1-AC5 and records its design decisions, so nothing is missing for triage.An earlier lane run left partial work on a branch. It stopped because the hook-budget measurement for the now default-on Stop row needs a host run. That is a host step, not an open question. No duplicates found among the open issues.
Automated triage, applied by the lanes App.
github-actions commentedon Oct 31, 2026
github-actions commentedon Oct 31, 2026
melodic-automation-lanes commentedon Oct 31, 2026
The work-resolve-issue lane stopped on this issue (
host-only): the run reports the work needs a host run the lane cannot make.It added
host-runand removedagent-ready: an agent run on a host builds it, and it waits on no decision from a person.In the run's words:
What the run says it did not do:
Partial work is on the branch
work-resolve-issue/issue-11502-41189504991-1. The next run continues from it while it is not behind the default branch, and otherwise starts fresh.Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41189504991
To hand it back to the lane, remove
host-runand addagent-readyagain.github-actions commentedon Oct 31, 2026
Intake triage did not triage this issue after 2 dispatches, so the sweep no longer dispatches it and labeled it needs-triage for a maintainer. Triage it by hand, and read the runs for why intake did not:
kyle-sexton commentedon Oct 31, 2026
perf(markdown-format): measure and ratchet the default end-of-turn St…
docs(markdown-format): add the Windows timing of the default end-of-t…