Skip to content

fix(spec): complete the @spec anchor truncated mid-slug - #3374

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/truncated-spec-anchor
Sep 3, 2026
Merged

fix(spec): complete the @spec anchor truncated mid-slug#3374
rubenvdlinde merged 1 commit into
developmentfrom
fix/truncated-spec-anchor

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

gate-46 (spec-anchor-existence) is red on development, and this is the single finding.

The anchor in TaskSequenceMapper::findNewestForTemplate() stops at ...-sequence-with-o, halfway through one-position-enabled-at-a-time, so it resolves to nothing. It arrived with #3360 earlier today.

Worth calling out because the gate's own message truncates the anchor it reports:

[gate-46] spec-anchor-existence: FAIL — 1 unresolved @spec finding(s) ...
  → #requirement-an-approval-is-an-ordered-task-sequence-with-o

That reads as though the gate did the truncating. It did not — the anchor really is cut short in the source, and the heading it should point at is in the same spec file.

Verification

Run with the gate's own checker (vendor/conduction/hydra-gates/.../check_spec_anchors.py):

  • lib/Db/TaskSequenceMapper.php: 1 finding → 0
  • full-tree over every lib/**/*.php: 0 findings

Checked first whether the three in-flight spec-anchor branches (fix/license-triangle-and-spec-anchors, wip/spec-anchor-repair, wip/spec-anchor-repair-round2) already covered this file. None of them touch it.

🤖 Generated with Claude Code

gate-46 (spec-anchor-existence) is failing on development, and this is
the one finding. The anchor stops at `...-sequence-with-o`, halfway
through `one-position-enabled-at-a-time`, so it resolves to nothing.

Worth saying where it came from, because the gate's own message truncates
the anchor it reports and reads as though the gate did the truncating:
the anchor really is cut short in the source, and it arrived with #3360
earlier today.

Verified with the gate's own checker: this file goes from 1 finding to 0,
and a full-tree run over every lib/**/*.php reports 0.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ c7858f5

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-specs
test-l10n
test-l10n-parity
format
check-schema-l10n
check-l10n-js
composer ✅ 174/174
npm ✅ 543/543
app:check-code ⏭️
info.xml
REUSE
PHPUnit
Newman
Playwright ⏭️ deferred — runs on the promotion into beta/main, not on a pull request into development
Hydra gates

Quality workflow — 2026-09-03 13:25 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit 13278d5 into development Sep 3, 2026
47 checks passed
@rubenvdlinde
rubenvdlinde deleted the fix/truncated-spec-anchor branch September 3, 2026 16:51
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.

1 participant