Repository navigation
lane-line: report success with a notice for bot-authored PRs instead of skipping (ruling D-7 a) - #814
Merged
Conversation
…of skipping Ruling D-7 (a), oxF #656 (2026-09-08): the required check `lane-line` skipped bot-authored pull requests via a job-level `if:`, and the merge-approval envelope's `require_all_checks: true` reads a `skipped` check-run conclusion as not green — parking every bot-authored candidate (custody PR #176; approval runs 34227891490, 34229369636). Move the same bot-author exemption predicate into a first step that reports success with a `::notice::` and gates the real lane-line check on that step's output, so the check-run always concludes instead of being skipped. The check-run name and the human/App-authored behaviour are unchanged. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_018Yt7feEjmZ3SPeU2wsBDDJ
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
🟢 Approval recommended
The change is narrowly scoped to workflow control flow, preserves the existing lane-line validation behavior for non-bot PRs, and fixes a concrete required-check/ruleset interaction.
Pull request overview
This PR updates the lane-line required check workflow so it no longer concludes as skipped for bot-authored pull requests, which previously blocked the merge-approval envelope’s require_all_checks: true rule from treating those candidates as green.
Changes:
- Removes the job-level bot exemption (
if:) so thelane-linejob always runs and always produces a conclusion. - Adds an initial step that detects bot authors via the existing predicate (
github.event.pull_request.user.type == 'Bot'), emits a::notice::, and sets anexemptoutput. - Gates the existing lane-line regex validation step on
steps.author.outputs.exempt != 'true', preserving unchanged behavior for non-bot PRs.
File summaries
| File | Description |
|---|---|
| .github/workflows/lane-line.yml | Ensures the required lane-line check reports success (with a notice) for bot-authored PRs instead of concluding skipped, while keeping the existing lane regex enforcement unchanged for others. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Sep 8, 2026
brettheap
added a commit
that referenced
this pull request
Sep 9, 2026
…1/5.2 ticked on the D-2 evidence) (#832) Path A PR-5, the last of the 2026-09-06 plan memo's sequence, on Brett Heap's word "merge pr-5 when green" (2026-09-09). Authority: his ruling of 2026-09-05T23:38Z "rule path A, 4.5 is a deferred successor" (#656) and ruling D-2 (the live exercise). - tasks.md: § 4.4 / § 5.1 / § 5.2 ticked on the D-2 evidence (three `- [ ]` heads removed, every ratified sentence kept byte-identical); § 4.5 untouched as a DEFERRED SUCCESSOR (#714 → 3d1b8cc). - Archived WITH promotion via `scripts/proposal-support.py . archive --date 2026-09-09` under the pinned @fission-ai/[email protected] (never a bare `openspec archive`); origin retained (declaration unchanged since da1b0e9); six frozen files R100. - Promoted: `openspec/specs/ideation-intent-plane/spec.md` NEW (7 requirements / 11 scenarios, every block byte-identical to the archived delta) and `openspec/specs/document-lifecycle/spec.md` 18 → 19 requirements ("Gates happen on main"); the new capability's `## Purpose` written by this act (no SHALL; replaces the CLI's TBD stub). openspec/specs 60 → 61; floor regeneration OWED (GRACED covered-pending 1, `created_by_candidate`), `contracts/review-lane-floor-snapshot.yaml` deliberately not edited here. - README OpenSpec Records row → archived; sweep-ledger row re-seeded with the tool (`--seed-ledger --moved-by '#832'`, one line moved); no thirteenth archive-date disposition. - Evidence (merged + green): #718 d179cc0, #727 07624d5, #735 6d3237e, xFactory #304 b2db7e47, #313 ddd19650, #345 90435875, #781 450bb60, #808 2ef7d8c, #814 c991c0f, #816 8924230, xFactory #362 119280a8, #830 202c170, xFactory #369 c2313277; D-2 live exercise: act B refusal 36d07ec, act A apply e970dfe, first autonomous merge #176 → 7681e40 (codexfactory[bot] APPROVED 2026-09-09T06:37:22Z). - Copilot round 1: one factual finding taken (a missing "where" in Purpose); two wording findings answered and resolved. Refs #656 (stays OPEN). Rule 6 LANDING window observed. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012LiNG5Ume1boEfxSNeCmpu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)
Refs #656
Ruling D-7 (a) (2026-09-08, oxF #656 comment ~13:4xZ): the required check
lane-linecurrently SKIPS pull requests authored by bots (e.g. custody PR#176, authored by
openxfactory[bot]). The merge-approval envelope'srequire_all_checks: truereads askippedcheck-run conclusion as notgreen, so every bot-authored candidate parks with
required_check_not_green: check-run 'lane-line' concluded 'skipped'(approval runs 34227891490, 34229369636).
This PR keeps the check-run NAME byte-identical (
lane-line) and moves theexisting bot-author exemption from the job-level
if:into a first stepthat detects the bot author with the exact same predicate
(
github.event.pull_request.user.type == 'Bot') already in use. When thepredicate matches, that step reports success and emits an
::notice::lane-line: bot-authored pull request (<login>) — exempt from the Lane: line requirement; reporting success so the merge-approval envelope's all-checks rule can read it, and the real lane-line check step is skippedvia that step's output. Human- and App-authored PRs keep the exact same
lane-line regex check and failure messages they have today — nothing about
their behaviour changed.
No other workflow, envelope, or ruleset touched.
grep -rn lane-line tests/found no test pinning this workflow, so no test file neededupdating.
Detect bot-authored PRs(exempt=false) ->The first non-empty body line names the lane(regex check)successif the body opens withLane: <name>, elsefailure(same messages as today)user.type!=Bot)user.typeis notBotis treated exactly as beforeuser.type==Bot, e.g.openxfactory[bot])Detect bot-authored PRsonly (exempt=true, emits the::notice::above);The first non-empty body line names the lanestep is skipped viaif: steps.author.outputs.exempt != 'true'success(wasskippedbefore this change)Verification:
actionlint .github/workflows/lane-line.yml— clean.python3 -m pytest -q tests/ideation-dashboard tests/doc-healthOPENSPEC_TELEMETRY=0 openspec validate --all --strictAsking for Brett's word before this lands — not merging or enabling
auto-merge here.
🤖 Generated with Claude Code
https://claude.ai/code/session_018Yt7feEjmZ3SPeU2wsBDDJ