Skip to content

docs(loop-lane): define the lane output format - #18960

Merged
kyle-sexton merged 3 commits into
mainfrom
docs/18863-lane-output-format
Nov 25, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
docs/18863-lane-output-format

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #18863

Summary

Owner decision Q2124 (workshop 08 alignment pass): lane output reads "ugly and overly verbose and just not structured well"; improve it over time with what exists. This adds the one convention for what a lane posts, the lane output format: a short part a person reads, plus the existing lane-outcome record where the surface carries it.

Fix

  • New docs/contracts/loop-lane/lane-output-format.md: the shared shape (heading <lane> / <activity>, a plain verdict line, at most five bullets), then one section each for PR comment, check run, step summary and live step log, with this repository's length limits stated as our decision and GitHub's own limits linked, not restated.
  • The lane-outcome record stays on the check run, as the first line of output.text (.github/actions/report-check-run/report-check-run.mjs:117-119); a comment is found by its HTML marker on its first line.
  • Lanes adopt the format the next time their posting code changes; no all-lanes rewrite.
  • docs/glossary.md gains lane output format, distinct from the lane-outcome record. posting-lanes.md links the new file; loop-lane CHANGELOG 20.5.0.

Verification

  • Pre-commit and commit-msg hooks passed; no em dashes; the new file follows .markdownlint-cli2.jsonc by hand (markdownlint is not installed in the worktree; CI lints it).
  • Checked the record location against the code: report-check-run.mjs:117-119 writes it into output.text, not annotations.

Related

🤖 Generated with Claude Code

@kyle-sexton
kyle-sexton marked this pull request as ready for review November 25, 2026 02:52
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T02:53:42.541802Z da92df7 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions 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.

claude-review: 1 inline finding(s) on da92df7e2cba8cb9952f47fa328b71c81cabe8d3; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 70b2f6b243e88863164f29ac343215e872642d3c: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Code review (incremental): docs(loop-lane): define the lane output format

No blocking findings. This round only looked for blocking findings, because the prior-findings file says blocking only: yes. Three files changed since da92df7e2; I read the whole change in each:

  • docs/contracts/loop-lane/lane-output-format.md: the Adoption section now links the review rule.
  • docs/review/README.md: adds an index row for lane-output.md.
  • docs/review/lane-output.md: new. It holds the rule that a change to a lane's posting surface brings that surface to the lane output format.

Prior finding on the Adoption section (discussion_r4689845297): resolved. That finding said nothing enforced #18863's third acceptance criterion, "The first lane changed after the convention lands follows it." This push adds a criterion file under docs/review/ and indexes it. REVIEW.md:49-53 tells self-hosted and local reviews to read the docs/review/ files whose concern a change touches. So a later PR that changes posting code now meets a criterion that cites lane-output-format.md.

What I checked:

  • Links: both relative links resolve. ../contracts/loop-lane/lane-output-format.md from docs/review/ and ../../review/lane-output.md from docs/contracts/loop-lane/ both point at real files.
  • Format: the new file is laid out like the other docs/review/*.md files, for example tests.md.

As REVIEW.md:40-43 says, Managed Code Review does not follow these citations. Only the self-hosted and local reviews enforce this rule; that is how every docs/review/ criterion works, not a defect of this PR.

Closing issue #18863, acceptance criteria:

  • "One convention file states the format for comments, check runs, step summaries and the live log": met (prior review).
  • "The glossary gains lane output format": met (prior review).
  • "The first lane changed after the convention lands follows it": now backed by a review criterion. Whether the first such lane actually follows the format can only be checked on that later PR.

Spend: none. The change is docs only.

Advisory and manifest lines (1)
  • Loosened checks would be marked: fail (default). The prompt carried no loosened_check_verdict: or loosened_check_patterns: line, so no consumer entries were used; patterns: 0. There was no loosened_check_decision_record: line either, so I did not check the citation requirement. The diff loosens no check.

Verifier dropped 0 of 0 candidates.

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 70b2f6b243e88863164f29ac343215e872642d3c: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #18960, incremental since da92df7e

I found no security issues. This lane already reviewed an earlier head of this pull request, so this review reports blocking findings only.

I read every hunk of the 3 files changed since da92df7e:

  • docs/contracts/loop-lane/lane-output-format.md: the Adoption paragraph now links to the new review rule. Nothing else changed.
  • docs/review/README.md: one row added to the index, for lane-output.md.
  • docs/review/lane-output.md (new): one review rule. A change to the code a lane posts through has to bring that surface to the lane output format.

What I checked:

  • Trusted paths. docs/review/** is on the trusted-path list, so I read both changes under it in full. Both files hold review guidance that reviewers read. Neither is code, and neither is a trust control: they don't touch the trusted-trigger check, the token scope, the kill switch, the token broker's signer or any merge hold.
  • Instruction surface. No standing instruction is deleted, narrowed or softened. The change only adds a review rule that points to an existing format document, so the instruction-exception-register check does not apply.
  • Manifests and userConfig. No plugin manifest and no userConfig key is touched.
  • PR description and closing issue. Neither contains any embedded instruction aimed at the review lane.
  • Prior findings. The earlier review on this lane reported 0 findings, so nothing carries over.

critical-findings: 0

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

pr-unblock / address-feedback finished round 1 of max 4 on da92df7.

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Nov 25, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

The pr-unblock lane stopped on this pull request and needs a person: an adjudicator found that a disputed review finding turns on a design choice, which a person decides.

Reason: design

  • Reason: feedback-question-design
  • Resume key: da92df7e2cba8cb9952f47fa328b71c81cabe8d3 (the head the lane stopped on)

To resume, deal with the reason above, remove the needs-human label (and do-not-merge, if set), then dispatch the pr-unblock workflow with pr-number=18960 and activity=address-feedback:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=18960 -f activity=address-feedback

@kyle-sexton

Copy link
Copy Markdown
Member Author

Held for the owner. The disputed review finding (nothing enforced this format) is fixed at 70b2f6b by a new review rule, docs/review/lane-output.md, and its thread is resolved. Whether to keep that rule is the owner's design call, so needs-human stays until he decides: (a) keep the rule (recommended), then clear the label and dispatch pr-unblock address-feedback; or (b) drop the rule. Who decides: the owner. The hub lists it as held.

@kyle-sexton kyle-sexton removed the needs-human Human-in-the-loop required; autonomous sessions must not resolve items carrying this. label Nov 25, 2026
@kyle-sexton

Copy link
Copy Markdown
Member Author

Owner decided (a), keep the docs/review/lane-output.md rule (2026-11-25, 'go with recommendations'). Cleared needs-human and dispatched pr-unblock address-feedback.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 96829a0 Nov 25, 2026
77 of 78 checks passed
@kyle-sexton
kyle-sexton deleted the docs/18863-lane-output-format branch November 25, 2026 12:45
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(conventions): one lane output format for comments, check runs, summaries and logs

1 participant