Repository navigation
ci(lane-line): widen lane key character class to allow uppercase - #909
Conversation
The required `lane-line` check matched `^Lane: [a-z0-9-]+( \(.*\))?$` (case-sensitive), so a lane whose display name carries capitals (openXfactory-2, xFactory-1) had to write a lowercase key plus a parenthetical to pass. Widen the character class to `[A-Za-z0-9-]` so the display name can stand alone; the lowercase-key-plus-parenthetical form keeps validating unchanged. Bot-author exemption logic (Ruling D-7) is untouched. Refs #744 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 2 hours and 18 minutes by commenting @sourcery-ai review. Upgrade to get a review now.
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the required lane-line workflow check to accept lane keys containing uppercase letters, enabling forms such as Flow diagram for the widened lane-line validationflowchart TD
A["First non-whitespace PR body line"] --> B{"Matches Lane line regex"}
B -->|"Lane: [A-Za-z0-9-]+"| C["lane-line OK"]
B -->|"Optional parenthetical display name"| C
B -->|"No match"| D["Check fails"]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
🟢 Approval recommended
The change is a minimal, localized regex widening in the lane-line CI check with no control-flow changes and matches the stated intent.
Pull request overview
Updates the lane-line required GitHub Actions check so PR bodies may use lane identifiers containing uppercase letters (e.g., Lane: openXfactory-2) without needing a lowercase “key + parenthetical” form, aligning the CI gate with the lane naming used in practice.
Changes:
- Widened the lane-name character class in the
lane-lineworkflow regex from[a-z0-9-]to[A-Za-z0-9-]. - Kept existing bot-author exemption flow and overall gating behavior unchanged.
File summaries
| File | Description |
|---|---|
| .github/workflows/lane-line.yml | Adjusts the Lane: line validation regex to accept uppercase characters in lane names. |
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.
|
|
Lane: openxfactory-2 (openXfactory-2) |
…g before the ratification encode MERGED BEFORE THE ENCODE SO EVERY RATIFICATION FIGURE IS TAKEN ON A TREE THAT ALREADY CARRIES CURRENT MAIN. The branch was frozen at `5dd724f5` when `origin/main` was `e0638f11` — the tree every figure in the pull request body and in `tasks.md` § 5 was measured on. `origin/main` has since advanced by two commits, `40d2f821` (the carve floor's line definition, PR #907) and `bd1c54c6` (the `lane-line` workflow's lane-key character class widened for uppercase, PR #909), so this merge comes FIRST and the ratification commit lands on top of it. The single gate capture `review/verification-2026-09-10.md` is therefore already a post-merge run and no re-measure is owed at landing. NOTHING CONFLICTED AND NOTHING OF THIS PACKET'S IS TOUCHED. Main's two commits move `.github/workflows/lane-line.yml`, `docs/opendox-cutover-runbook.md`, `scripts/carve_lines.py`, `scripts/validate-carve-manifest.py`, `scripts/verify-carve-arrival.py`, `tests/carve_arrival/` and `tests/carve_manifest/` — no `README.md`, nothing under `openspec/`, nothing under `scripts/doc_health/` and nothing under `tests/doc-health/`. So the README `## OpenSpec Records` block had no conflict to resolve, the delta is byte-unmoved, and the `doc-health` corpus this packet measures is unchanged by the merge. Refs #856, refs #860 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>



Lane: openxfactory-2 (openXfactory-2)
Claim: #744 (comment)
Refs #744
Summary
lane-linecheck's character class from[a-z0-9-]to[A-Za-z0-9-]in.github/workflows/lane-line.yml, so a lane line naming adisplay name with capitals (
Lane: openXfactory-2) passes bare. Theexisting lowercase-key-plus-parenthetical form (
Lane: openxfactory-2 (openXfactory-2)) keeps validating unchanged, since it is a strict subsetof the widened class.
openDox + openXdox: two open-source layers, an installable app with users, projects and a database; domain descendants pin openXdox (Brett's ruling 2026-09-04) #656) is untouched — only the character class inside the second step's
regex changed.
active (non-archived) OpenSpec spec or proposal states it as a requirement,
no test asserts it, and the README's mentions of
lane-lineonly name itas a required-check label. This workflow file is the only edit.
Test plan
python3 -c "import yaml; yaml.safe_load(open('.github/workflows/lane-line.yml'))"— OK.python3 -m pytest -q -k lane— 416 passed, 2 skipped; 3 pre-existing errorsin
tests/clearing/(fixture-teardownAssertionErrorin_pytest/fixtures.py, onoperation-report-both-lanes/dark-lane-as-a-widening/lane-the-operation-does-not-permitfixtures)are unrelated to
lane-line.ymland reproduce onmainbefore this change.No test in this repo asserts the lane-line regex itself, so none needed
updating.
actionlintis not available in this environment; substituted a manualdiff review (single-line character-class change, no control-flow change).
lane-linecheck. Itsbody's first line is the plain lowercase form, which matches both the old
and the new regex, so it passes regardless of which workflow version
GitHub evaluates it against (see below).
Note on which workflow version gates this PR
lane-line.ymltriggers onpull_request(notpull_request_target), soGitHub evaluates the check using the workflow file on this PR's own head
— i.e. already the widened regex, not the base branch's old one. This PR's
body line 1 is deliberately kept in the lowercase-key-plus-parenthetical form
so it would pass under either version regardless.
Authority: Brett Heap 2026-09-10 ~17:2xZ, verbatim "do 1 and 2, sign, file
it, do 744", recorded as the CLAIMED comment linked above.
🤖 Generated with Claude Code
Summary by Sourcery
Allow uppercase characters in lane-line names so display names such as
openXfactory-2pass validation.New Features:
CI: