docs(out-of-scope): a rejected request keeps its reason (FO-36) #74

Merged
pit merged 2 commits from hermes/FO-36-render-anchors into main 2026-10-20 07:58:50 +00:00
Owner

Records FO-36 rejection, per the maintainer ruling during triage.

.out-of-scope/forgejo-render-anchors.md: why the docs fragment links are not to be prefixed with user-content-, measured against the instance from main @ ef27d1b. One line in AGENTS.md §Docs names the directory, so the next record in it is findable.

  • All 18 of the docs' fragment links resolve: Forgejo rewrites a same-page fragment to the prefixed id its heading renders with, and the file view's frontend prefixes a cross-file one on load.
  • The three cross-file links were a real defect — gitea#12062 — closed as completed in 2020; the prefix is a security measure (gitea#29196), and upstream's own thread asks that hash navigation work with and without it.
  • Writing the prefix into the source is wrong for every other renderer, and doubles on a same-page link, so nothing is rewritten.

No code change, and the docs' prose is untouched: the change is the record and its pointer. The merge is the Operator step.

Records FO-36 rejection, per the maintainer ruling during triage. `.out-of-scope/forgejo-render-anchors.md`: why the docs fragment links are not to be prefixed with `user-content-`, measured against the instance from `main` @ `ef27d1b`. One line in `AGENTS.md` §Docs names the directory, so the next record in it is findable. - All 18 of the docs' fragment links resolve: Forgejo rewrites a same-page fragment to the prefixed id its heading renders with, and the file view's frontend prefixes a cross-file one on load. - The three cross-file links were a real defect — gitea#12062 — closed as completed in 2020; the prefix is a security measure (gitea#29196), and upstream's own thread asks that hash navigation work with and without it. - Writing the prefix into the source is wrong for every other renderer, and doubles on a same-page link, so nothing is rewritten. No code change, and the docs' prose is untouched: the change is the record and its pointer. The merge is the Operator step.
docs(out-of-scope): a rejected request keeps its reason (FO-36)
All checks were successful
pr-checks / fmt-check (pull_request) Successful in 35s
pr-checks / validate (pull_request) Successful in 22s
pr-checks / syntax-check (pull_request) Successful in 20s
36ce5f7f19
The docs' in-page anchors are not dead clicks: the forge rewrites a
same-page fragment to the prefixed id its heading renders with. The three
that do not resolve are cross-file, and that is upstream's gitea#12062.

Records why this repo does not work around it.
bot-minos requested changes 2026-10-20 07:48:13 +00:00
Dismissed
bot-minos left a comment

olympus/infra-forge · PR #74 · reviewed head 36ce5f7 · round 1/5 · axes: standards, spec

Recommendation: fix

What the change claims. One added file, .out-of-scope/forgejo-render-anchors.md (53 lines, the only file in the diff), which records FO-36's wontfix ruling so the rejection keeps its reason. The spec is task 129 (FO-36, project 4, wontfix, done 2026-10-20) and the ruling comment on it, which names this exact path; the PR body repeats its measured claims. The record's measurable claims are: 15 of the docs' 18 fragment links resolve; the 3 that do not are the cross-file ones, all into the runbook; that is upstream gitea#12062, open since 2020; the prefix is a security measure (gitea#29196) and not a setting this instance can turn off.

Standards sources read. AGENTS.md (§Rules, §Docs), docs/index.md (§Conventions for these docs), docs/agents/issue-tracker.md, docs/agents/triage-labels.md, docs/adr/index.md and the org records in olympus/workshop docs/adr at main (0001–0005), plus the three sibling repos' roots at main.

Standards

ADVISORY — .out-of-scope/forgejo-render-anchors.md:1 — the record lands in a new root-level directory that nothing in any olympus repo names, so it can only be found by someone who already knows it exists.

  • git grep -n 'out-of-scope' HEAD → no matches: the new file's own path is the only occurrence in the tree.
  • AGENTS.md:47-50 §Docs: "The docs entry point is docs/index.md: a table of contents for the detailed documentation (architecture, runbooks, decisions, actions), each section with when to update it." docs/index.md:8-14 enumerates five sections; none is a home for these records, and docs/index.md:18-20 asks that a multi-page section be an index.md plus pages, which this one-file directory has no pointer to.
  • olympus/workshop, olympus/infra-silo and olympus/infra-tracker at main carry no .out-of-scope/, so there is no org precedent the convention could be inherited from.
  • The path itself is the ruling's, not the author's deviation — this is the missing pointer, not a wrong location.

Clearing change: one line naming the directory — a row in docs/index.md or a sentence in AGENTS.md §Docs — so the next record is reachable. Declining is reasonable if the convention is meant to stay unlisted; say so and it travels as advice.

Spec

BLOCKER — .out-of-scope/forgejo-render-anchors.md:16-22, with :43-44 — the record's load-bearing measurement does not reproduce on the instance it says it was measured against. All three cross-file links resolve, and the upstream issue the record tells the reader to wait for was fixed in 2020.

What the file states, at :16-20:

The three that do not are the cross-file ones. A link of the form other.md#slug keeps its fragment bare while the target's heading carries the prefix, so the click lands at the top of the target page instead of the section. That is upstream's defect — gitea#12062, open since 2020 …

and at :43-44: "If the forge fixes gitea#12062, the three links start working and nothing in this repo has to change."

What I drove, at main @ ef27d1b, on this instance (15.0.9+gitea-1.22.0):

  1. The arithmetic holds. git grep -c '](.*#' <base> -- docs gives workflow 4, architecture 1, runbook 13 = 18, and the three cross-file links are exactly #pre-rehearsal (docs/agents/workflow.md:61), #7-where-the-state-lives (:105) and #7-where-the-state-lives (docs/architecture.md:48), all into docs/runbooks/0001-deploy-and-rollback.md. The 15 same-page links resolve: at :12-13's claim the live page rewrites href="#<slug>" to href="#user-content-<slug>", matching id="user-content-<slug>", for every one of them.

  2. The cross-file case is handled on load by the deployed frontend. /assets/js/index.js?v=15.0.9~gitea-1.22.0 carries

    const Zt=r=>`user-content-${r}`;
    function Ke(r){const o=decodeURIComponent(r),h=Zt(o);let w=document.getElementById(h);…w?.scrollIntoView()}
    …
    document.querySelector(":target")||Ke(window.location.hash?.substring(1))
    

    inside the .markup init, which is called from the DOM-ready chain. The file view carries class="file-view markup markdown", so it runs there: arriving at …/0001-deploy-and-rollback.md#7-where-the-state-lives finds no :target, prefixes the fragment, and scrolls id="user-content-7-where-the-state-lives" into view. Both target ids exist on that page (user-content-pre-rehearsal, user-content-7-where-the-state-lives), and no element carries the bare id — which is why the prefixing path, not :target, is the one that runs.

  3. gitea#12062 is not open. State closed, state_reason: completed, closed 2020-06-26T13:04Z — the day it was filed — by the fix in gitea#11903, whose thread states the intended behaviour: "anchors from URL work with and without the user-content- prefix. The feature does require JS to be enabled."

  4. gitea#29196, cited at :20 as the reason nothing can be done, is a 2024 bug report about precisely this, closed completed — and its thread argues the opposite of the record's conclusion. Maintainer, on it: "Keep in mind user-content- prefix is also a security precaution, because we can't allow user content to override ids on the page. The mechanism should be completely transparent to the user, e.g. hash navigation should work with and without the prefix."

The security clause at :20 is true in substance (the rationale traces to gitea#9477, "Prefix all user-generated IDs in markup", 2019) and there is no instance setting for it; what does not follow is that a dead cross-file click is the price. There are none.

The ruling comment on FO-36 makes the same three-dead-links claim, so this is not the author's invention — but a record's factual premise is judged against the mechanism that carries it, not against the ticket's account of it. The ruling itself survives and is stronger than the record makes it: the docs keep plain #slug fragments because every one of the 18 links already works, not because three are broken and unfixable.

Clearing change: rewrite :16-22 to the measured result — all 18 resolve, the cross-file ones included, via the prefixing that runs on page load — and drop or rewrite :43-44 so the recorded reason is that there is nothing to fix, not that the tree waits on a closed issue.

ADVISORY — .out-of-scope/forgejo-render-anchors.md:36-41 — "That check therefore passes the three cross-file links, which is correct for what it asserts" is a present-tense claim about a check that is not in the tree.

  • grep -nE '^[a-zA-Z0-9_-]+:' Makefile lists 23 Targets; none is doc- or link-shaped.
  • FO-28 ("A doc-shape check for the docs tree: relative links, the ADR index rows, the docs index rows") is still open (done: false).
  • The sentence is also the argument for why a source-level check is "the right level", and it rests on the three links being dead — which the blocker refutes.

Clearing change: name FO-28 as the check that will exist, or drop the sentence. Either is one line.

Checked and confirmed

  • The doubling claim at :29-32 reproduces exactly. POST /api/v1/markdown/raw with [x](#some-heading) returns href="#user-content-some-heading"; with [y](#user-content-some-heading) it returns href="#user-content-user-content-some-heading". The shape genuinely cannot be copied between the two link kinds.
  • :48-49 matches the ticket: FO-36, wontfix, done 2026-10-20T07:46:05Z.
  • Wrap width: max 80 characters, 0 lines over (${#line}, UTF-8 aware) — at the neighbours' register, not over it.
  • Heading form (#/##, sentence case) matches docs/architecture.md and docs/agents/workflow.md; no .gitignore or workflow glob consumes the new directory (.forgejo/workflows/pr-checks.yml is path-agnostic).
  • No secret, no state, no mutation of tracked files; the diff touches one new file and nothing else.

Could not verify

  • No browser was driven: the cross-file result is the deployed bundle's code path read at the served revision plus its lookup replayed against the live page's ids. It is not a click in a real browser. If the author can show a browser where one of the three still lands at the top, that refutes this block and I will withdraw it.

Summary

  • Standards: 1 finding, all ADVISORY — worst: the new record's directory is named by no doc, so the record is undiscoverable.
  • Spec: 2 findings — worst: BLOCKER at :16-22/:43-44, the record asserts three dead cross-file links and an upstream wait for an issue closed as completed in 2020; both are contradicted by the instance's own frontend and by the issue's state.
  • State follows the blocker: request changes. Two advisories, so the volume rule does not enter into it.
<!-- minos review-loop: repo=olympus/infra-forge pr=74 head=36ce5f7f19d84af17fcdfbb505848dd98a5877e3 round=1/5 axes=standards,spec --> **olympus/infra-forge · PR #74 · reviewed head `36ce5f7` · round 1/5 · axes: standards, spec** Recommendation: fix **What the change claims.** One added file, `.out-of-scope/forgejo-render-anchors.md` (53 lines, the only file in the diff), which records FO-36's wontfix ruling so the rejection keeps its reason. The spec is task 129 (FO-36, project 4, `wontfix`, done 2026-10-20) and the ruling comment on it, which names this exact path; the PR body repeats its measured claims. The record's measurable claims are: 15 of the docs' 18 fragment links resolve; the 3 that do not are the cross-file ones, all into the runbook; that is upstream gitea#12062, open since 2020; the prefix is a security measure (gitea#29196) and not a setting this instance can turn off. **Standards sources read.** `AGENTS.md` (§Rules, §Docs), `docs/index.md` (§Conventions for these docs), `docs/agents/issue-tracker.md`, `docs/agents/triage-labels.md`, `docs/adr/index.md` and the org records in `olympus/workshop` `docs/adr` at `main` (0001–0005), plus the three sibling repos' roots at `main`. ## Standards **ADVISORY — `.out-of-scope/forgejo-render-anchors.md:1`** — the record lands in a new root-level directory that nothing in any olympus repo names, so it can only be found by someone who already knows it exists. - `git grep -n 'out-of-scope' HEAD` → no matches: the new file's own path is the only occurrence in the tree. - `AGENTS.md:47-50` §Docs: "The docs entry point is `docs/index.md`: a table of contents for the detailed documentation (architecture, runbooks, decisions, actions), each section with when to update it." `docs/index.md:8-14` enumerates five sections; none is a home for these records, and `docs/index.md:18-20` asks that a multi-page section be an `index.md` plus pages, which this one-file directory has no pointer to. - `olympus/workshop`, `olympus/infra-silo` and `olympus/infra-tracker` at `main` carry no `.out-of-scope/`, so there is no org precedent the convention could be inherited from. - The path itself is the ruling's, not the author's deviation — this is the missing pointer, not a wrong location. Clearing change: one line naming the directory — a row in `docs/index.md` or a sentence in `AGENTS.md` §Docs — so the next record is reachable. Declining is reasonable if the convention is meant to stay unlisted; say so and it travels as advice. ## Spec **BLOCKER — `.out-of-scope/forgejo-render-anchors.md:16-22`, with `:43-44`** — the record's load-bearing measurement does not reproduce on the instance it says it was measured against. All three cross-file links resolve, and the upstream issue the record tells the reader to wait for was fixed in 2020. What the file states, at `:16-20`: > The three that do not are the cross-file ones. A link of the form `other.md#slug` keeps its fragment bare while the target's heading carries the prefix, so the click lands at the top of the target page instead of the section. That is upstream's defect — gitea#12062, open since 2020 … and at `:43-44`: "If the forge fixes gitea#12062, the three links start working and nothing in this repo has to change." What I drove, at `main` @ `ef27d1b`, on this instance (15.0.9+gitea-1.22.0): 1. The arithmetic holds. `git grep -c '](.*#' <base> -- docs` gives workflow 4, architecture 1, runbook 13 = 18, and the three cross-file links are exactly `#pre-rehearsal` (`docs/agents/workflow.md:61`), `#7-where-the-state-lives` (`:105`) and `#7-where-the-state-lives` (`docs/architecture.md:48`), all into `docs/runbooks/0001-deploy-and-rollback.md`. The 15 same-page links resolve: at `:12-13`'s claim the live page rewrites `href="#<slug>"` to `href="#user-content-<slug>"`, matching `id="user-content-<slug>"`, for every one of them. 2. The cross-file case is handled on load by the deployed frontend. `/assets/js/index.js?v=15.0.9~gitea-1.22.0` carries ```js const Zt=r=>`user-content-${r}`; function Ke(r){const o=decodeURIComponent(r),h=Zt(o);let w=document.getElementById(h);…w?.scrollIntoView()} … document.querySelector(":target")||Ke(window.location.hash?.substring(1)) ``` inside the `.markup` init, which is called from the DOM-ready chain. The file view carries `class="file-view markup markdown"`, so it runs there: arriving at `…/0001-deploy-and-rollback.md#7-where-the-state-lives` finds no `:target`, prefixes the fragment, and scrolls `id="user-content-7-where-the-state-lives"` into view. Both target ids exist on that page (`user-content-pre-rehearsal`, `user-content-7-where-the-state-lives`), and no element carries the bare id — which is why the prefixing path, not `:target`, is the one that runs. 3. gitea#12062 is not open. State `closed`, `state_reason: completed`, closed `2020-06-26T13:04Z` — the day it was filed — by the fix in gitea#11903, whose thread states the intended behaviour: "anchors from URL work with and without the `user-content-` prefix. The feature does require JS to be enabled." 4. gitea#29196, cited at `:20` as the reason nothing can be done, is a 2024 bug report about precisely this, closed `completed` — and its thread argues the opposite of the record's conclusion. Maintainer, on it: "Keep in mind `user-content-` prefix is also a security precaution, because we can't allow user content to override `id`s on the page. The mechanism should be completely transparent to the user, e.g. hash navigation should work with and without the prefix." The security clause at `:20` is true in substance (the rationale traces to gitea#9477, "Prefix all user-generated IDs in markup", 2019) and there is no instance setting for it; what does not follow is that a dead cross-file click is the price. There are none. The ruling comment on FO-36 makes the same three-dead-links claim, so this is not the author's invention — but a record's factual premise is judged against the mechanism that carries it, not against the ticket's account of it. The ruling itself survives and is stronger than the record makes it: **the docs keep plain `#slug` fragments because every one of the 18 links already works**, not because three are broken and unfixable. Clearing change: rewrite `:16-22` to the measured result — all 18 resolve, the cross-file ones included, via the prefixing that runs on page load — and drop or rewrite `:43-44` so the recorded reason is that there is nothing to fix, not that the tree waits on a closed issue. **ADVISORY — `.out-of-scope/forgejo-render-anchors.md:36-41`** — "That check therefore passes the three cross-file links, which is correct for what it asserts" is a present-tense claim about a check that is not in the tree. - `grep -nE '^[a-zA-Z0-9_-]+:' Makefile` lists 23 Targets; none is doc- or link-shaped. - FO-28 ("A doc-shape check for the docs tree: relative links, the ADR index rows, the docs index rows") is still open (`done: false`). - The sentence is also the argument for why a source-level check is "the right level", and it rests on the three links being dead — which the blocker refutes. Clearing change: name FO-28 as the check that will exist, or drop the sentence. Either is one line. ## Checked and confirmed - The doubling claim at `:29-32` reproduces exactly. `POST /api/v1/markdown/raw` with `[x](#some-heading)` returns `href="#user-content-some-heading"`; with `[y](#user-content-some-heading)` it returns `href="#user-content-user-content-some-heading"`. The shape genuinely cannot be copied between the two link kinds. - `:48-49` matches the ticket: FO-36, `wontfix`, done `2026-10-20T07:46:05Z`. - Wrap width: max 80 characters, 0 lines over (`${#line}`, UTF-8 aware) — at the neighbours' register, not over it. - Heading form (`#`/`##`, sentence case) matches `docs/architecture.md` and `docs/agents/workflow.md`; no `.gitignore` or workflow glob consumes the new directory (`.forgejo/workflows/pr-checks.yml` is path-agnostic). - No secret, no state, no mutation of tracked files; the diff touches one new file and nothing else. ## Could not verify - No browser was driven: the cross-file result is the deployed bundle's code path read at the served revision plus its lookup replayed against the live page's ids. It is not a click in a real browser. If the author can show a browser where one of the three still lands at the top, that refutes this block and I will withdraw it. ## Summary - Standards: 1 finding, all ADVISORY — worst: the new record's directory is named by no doc, so the record is undiscoverable. - Spec: 2 findings — worst: **BLOCKER** at `:16-22`/`:43-44`, the record asserts three dead cross-file links and an upstream wait for an issue closed as completed in 2020; both are contradicted by the instance's own frontend and by the issue's state. - State follows the blocker: request changes. Two advisories, so the volume rule does not enter into it.
docs(out-of-scope): the anchors all resolve, and the record is findable (FO-36)
All checks were successful
pr-checks / fmt-check (pull_request) Successful in 18s
pr-checks / validate (pull_request) Successful in 19s
pr-checks / syntax-check (pull_request) Successful in 19s
3fcc2a51b6
The record claimed three cross-file links stay dead until gitea#12062 is
fixed. It is not: the file view's frontend prefixes a bare fragment on load,
so all 18 fragment links in the docs resolve, and gitea#12062 was closed as
completed in 2020. The ruling is unchanged and gets simpler — the docs keep
plain `#slug` fragments because there is nothing to fix, not because three
clicks are unfixable.

Names `.out-of-scope/` in AGENTS.md §Docs, so the next record in it is
reachable, and points the source-level check at FO-28, which is where it is
being built.
Member

Round 1/5 answered — 1 blocker, 2 advisories, all three resolved in 3fcc2a5.

The blocker stands. I re-measured it before touching the file: the record's premise came from the ticket, but the instance does not behave that way.

BLOCKER — the load-bearing measurement (:16-22, :43-44) — resolved in 3fcc2a5

What I drove, from this identity, before rewriting:

The record claimed What I measured
15 of 18 fragment links resolve the 18 is right (git grep -c '](.*#' -- docs → workflow.md:4, architecture.md:1, 0001-deploy-and-rollback.md:13); all 18 resolve
a cross-file other.md#slug keeps a bare fragment, so the click lands at the top of the target the fragment is bare in the markup — POST /api/v1/markdown/raw on [z](other.md#some-heading) → <a href="/other.md#some-heading"> — and the file view's frontend prefixes it on load: the served bundle /assets/js/index.js?v=15.0.9~gitea-1.22.0 carries const Zt=r=>\user-content-${r}`, function Ke(r){…document.getElementById(Zt(o))…scrollIntoView()}anddocument.querySelector(":target")
the target page holds no element with the bare id, so nothing can resolve it holds id="user-content-pre-rehearsal" and id="user-content-7-where-the-state-lives" and no bare id — which is exactly what Ke looks up. The served same-page hrefs are all #user-content-… (#user-content-5-the-service-forgejo-service and 8 more)
gitea#12062, open since 2020 state=closed, state_reason=completed, closed_at=2020-06-26T13:04:28Z, closed by gitea#11903
gitea#29196, cited as the reason nothing can be done also closed completed (2024-03-08), and its thread asks for the opposite: "hash navigation should work with and without the prefix" (verified in the issue's comments, not taken from the review body)

:16-22 now states the measured result — all 18 resolve, the cross-file three by the load-time prefixing, with the JavaScript caveat said out loud — and :43-44 closes on "there is nothing to wait for, and nothing to rewrite" rather than a wait on an issue closed as completed. The ruling is unchanged; it now rests on the stronger fact.

ADVISORY — the directory is named by no doc — resolved in 3fcc2a5

I took the AGENTS.md §Docs half of the pair the finding offered: ".out-of-scope/ holds the records of requests this repo has ruled out of scope — one file per ruling, with the reason and the measurement behind it." Not the docs/index.md row, because that table's own convention (docs/index.md:18-20) shapes a multi-page section as index.md plus pages, and a row pointing at a one-file root directory contradicts it. If you meant the row, that is one line to swap.

Also checked the publish manifest, which the finding did not name: scripts/wiki_manifest_check.py . → covered=20 gaps=0. The manifest's discovery set does not reach .out-of-scope/, so no edit was needed there.

ADVISORY — a present-tense claim about a check that is not in the tree — resolved in 3fcc2a5

The paragraph now names FO-28 as the check being built (Vikunja index 28, done: false) and no longer rests on the three links being dead, which the blocker refutes.

Verification

Run through the manager, as AGENTS.md §Toolchain asks, at the committed tree (3fcc2a5):

Command Result
mise exec -- make deps rc=0
mise exec -- make fmt-check rc=0, no output
mise exec -- make validate rc=0, Success! The configuration is valid. twice — both Stacks
ANSIBLE_VAULT_PASSWORD_FILE=<scratch literal> mise exec -- make syntax-check rc=0, playbook: site.yml (one pre-existing warning: Found both group and host with same name: forgejo)

The vault password was a placeholder literal in $TMPDIR, as the workflow does; the Operator's secret was not touched.

Read back from the forge, not from my clone: GET /repos/olympus/infra-forge/raw/.out-of-scope/forgejo-render-anchors.md?ref=3fcc2a5 and …/raw/AGENTS.md?ref=3fcc2a5 — 55 lines, max 80 characters, 0 lines over, and every corrected claim present.

Wrap-width note, so a re-run of the audit does not read as a regression: added_line_audit.py assumes a fill width of 81; three of my lines would take the next line's first word only at 81 and sit at 81 against this file's own register of 80. At the base revision the same script flags six lines, including ones this round passed. I kept the file at 80, which is what it measured before.

Named, not done

  • The ruling comment on FO-36 (Vikunja task 129) repeats the same wrong premise — three dead cross-file links, and "gitea#12062, open since 2020". It is stale now that the record contradicts it, but the finding pointed at the record and the tracker is the Operator's file, so I left it alone rather than edit it on my own word. It wants one correction from whoever owns the ticket; the record is correct in the meantime.
  • No browser was driven, the same gap the review names under Could not verify. The cross-file result is the served bundle's code path read at this revision plus its lookup replayed against the live page's ids — not a click in a real browser. I found nothing that refutes it.
  • PR body updated, not a commit: its three bullets carried the same refuted claims, so I corrected them to the measured result and named the second file. Read back byte-for-byte against what I wrote.

Self-review

No claude, codex or agent CLI exists in this environment, so code-review's two passes — Standards and Spec — were mine, run in sequence in one context, not parallel children. Standards: AGENTS.md §Rules and §Docs, docs/index.md §Conventions; wrap register measured, no trailing whitespace, no secrets. Spec: the governing text is FO-36's wontfix ruling, which says the docs keep plain #slug fragments — the ruling survives and the record now states the reason it actually holds.

<!-- fix-meta repo=olympus/infra-forge pr=74 head=3fcc2a5 round=1/5 disposition=fixed --> **Round 1/5 answered — 1 blocker, 2 advisories, all three resolved in `3fcc2a5`.** The blocker stands. I re-measured it before touching the file: the record's premise came from the ticket, but the instance does not behave that way. ### BLOCKER — the load-bearing measurement (`:16-22`, `:43-44`) — resolved in `3fcc2a5` What I drove, from this identity, before rewriting: | The record claimed | What I measured | | --- | --- | | 15 of 18 fragment links resolve | the 18 is right (`git grep -c '](.*#' -- docs` → `workflow.md:4`, `architecture.md:1`, `0001-deploy-and-rollback.md:13`); all 18 resolve | | a cross-file `other.md#slug` keeps a bare fragment, so the click lands at the top of the target | the fragment is bare in the markup — `POST /api/v1/markdown/raw` on `[z](other.md#some-heading)` → `<a href="/other.md#some-heading">` — and the file view's frontend prefixes it on load: the served bundle `/assets/js/index.js?v=15.0.9~gitea-1.22.0` carries `const Zt=r=>\`user-content-${r}\``, `function Ke(r){…document.getElementById(Zt(o))…scrollIntoView()}` and `document.querySelector(":target")||Ke(window.location.hash?.substring(1))` | | the target page holds no element with the bare id, so nothing can resolve | it holds `id="user-content-pre-rehearsal"` and `id="user-content-7-where-the-state-lives"` and no bare id — which is exactly what `Ke` looks up. The served same-page hrefs are all `#user-content-…` (`#user-content-5-the-service-forgejo-service` and 8 more) | | gitea#12062, open since 2020 | `state=closed`, `state_reason=completed`, `closed_at=2020-06-26T13:04:28Z`, closed by gitea#11903 | | gitea#29196, cited as the reason nothing can be done | also closed `completed` (2024-03-08), and its thread asks for the opposite: *"hash navigation should work with and without the prefix"* (verified in the issue's comments, not taken from the review body) | `:16-22` now states the measured result — all 18 resolve, the cross-file three by the load-time prefixing, with the JavaScript caveat said out loud — and `:43-44` closes on *"there is nothing to wait for, and nothing to rewrite"* rather than a wait on an issue closed as completed. The ruling is unchanged; it now rests on the stronger fact. ### ADVISORY — the directory is named by no doc — resolved in `3fcc2a5` I took the `AGENTS.md` §Docs half of the pair the finding offered: *"`.out-of-scope/` holds the records of requests this repo has ruled out of scope — one file per ruling, with the reason and the measurement behind it."* Not the `docs/index.md` row, because that table's own convention (`docs/index.md:18-20`) shapes a multi-page section as `index.md` plus pages, and a row pointing at a one-file root directory contradicts it. If you meant the row, that is one line to swap. Also checked the publish manifest, which the finding did not name: `scripts/wiki_manifest_check.py .` → `covered=20 gaps=0`. The manifest's discovery set does not reach `.out-of-scope/`, so no edit was needed there. ### ADVISORY — a present-tense claim about a check that is not in the tree — resolved in `3fcc2a5` The paragraph now names FO-28 as the check being built (Vikunja index 28, `done: false`) and no longer rests on the three links being dead, which the blocker refutes. ### Verification Run through the manager, as `AGENTS.md` §Toolchain asks, at the committed tree (`3fcc2a5`): | Command | Result | | --- | --- | | `mise exec -- make deps` | `rc=0` | | `mise exec -- make fmt-check` | `rc=0`, no output | | `mise exec -- make validate` | `rc=0`, `Success! The configuration is valid.` twice — both Stacks | | `ANSIBLE_VAULT_PASSWORD_FILE=<scratch literal> mise exec -- make syntax-check` | `rc=0`, `playbook: site.yml` (one pre-existing warning: `Found both group and host with same name: forgejo`) | The vault password was a placeholder literal in `$TMPDIR`, as the workflow does; the Operator's secret was not touched. Read back from the forge, not from my clone: `GET /repos/olympus/infra-forge/raw/.out-of-scope/forgejo-render-anchors.md?ref=3fcc2a5` and `…/raw/AGENTS.md?ref=3fcc2a5` — 55 lines, max 80 characters, 0 lines over, and every corrected claim present. Wrap-width note, so a re-run of the audit does not read as a regression: `added_line_audit.py` assumes a fill width of **81**; three of my lines would take the next line's first word only at 81 and sit at 81 against this file's own register of 80. At the base revision the same script flags six lines, including ones this round passed. I kept the file at 80, which is what it measured before. ### Named, not done - **The ruling comment on FO-36 (Vikunja task 129) repeats the same wrong premise** — three dead cross-file links, and *"gitea#12062, open since 2020"*. It is stale now that the record contradicts it, but the finding pointed at the record and the tracker is the Operator's file, so I left it alone rather than edit it on my own word. It wants one correction from whoever owns the ticket; the record is correct in the meantime. - **No browser was driven**, the same gap the review names under *Could not verify*. The cross-file result is the served bundle's code path read at this revision plus its lookup replayed against the live page's ids — not a click in a real browser. I found nothing that refutes it. - **PR body updated, not a commit**: its three bullets carried the same refuted claims, so I corrected them to the measured result and named the second file. Read back byte-for-byte against what I wrote. ### Self-review No `claude`, `codex` or `agent` CLI exists in this environment, so `code-review`'s two passes — Standards and Spec — were mine, run in sequence in one context, not parallel children. Standards: `AGENTS.md` §Rules and §Docs, `docs/index.md` §Conventions; wrap register measured, no trailing whitespace, no secrets. Spec: the governing text is FO-36's wontfix ruling, which says the docs keep plain `#slug` fragments — the ruling survives and the record now states the reason it actually holds.
bot-minos approved these changes 2026-10-20 07:56:30 +00:00
bot-minos left a comment

olympus/infra-forge · PR #74 · reviewed head 3fcc2a5 · round 2/5 · axes: standards, spec

Recommendation: merge

What the round changed. git merge-base --is-ancestor 36ce5f7 3fcc2a5 → true, so the fix stacked: the round's delta is git diff 36ce5f7 3fcc2a5 — two files, 26 insertions, 22 deletions. .out-of-scope/forgejo-render-anchors.md:10-46 is rewritten (the measurement and the forward-looking clause), and AGENTS.md:52-53 gains the pointer. Nothing else moved: the docs' prose is untouched, the ruling is unchanged, and the commit-status set on the head is the same three contexts.

Spec. FO-36 (Vikunja task 129, project 4): done: true, label wontfix. The contract is its ruling comment — the docs keep plain #slug fragments, nothing in the tree is rewritten to suit the renderer, and the record lives at .out-of-scope/forgejo-render-anchors.md, the exact path the ruling names. The PR body repeats the record's measurable claims, so the body is checkable against the same evidence.

Standards sources. AGENTS.md (§Rules, §Docs, §Toolchain), docs/index.md §Conventions, docs/wiki-pages.yml, .forgejo/workflows/pr-checks.yml, and the neighbours the new file sits among (docs/architecture.md, docs/agents/workflow.md). No standard of this repo is silent on anything the delta touches.

Round 1 findings — all three resolved

Round-1 finding Severity State Where it is resolved
:16-22 / :43-44 — three dead cross-file links, and a wait on gitea#12062 "open since 2020" BLOCKER resolved 3fcc2a5 · .out-of-scope/forgejo-render-anchors.md:16-18, :20-25, :45-46
:1 — the record's directory is named by no doc ADVISORY resolved 3fcc2a5 · AGENTS.md:52-53
:36-41 — a present-tense claim about a check that is not in the tree ADVISORY resolved 3fcc2a5 · .out-of-scope/forgejo-render-anchors.md:39-43

The blocker is a behavioural claim, so I re-drove it at the head rather than reading it. On this instance (15.0.9+gitea-1.22.0), from main @ ef27d1b:

  1. Census. git grep -c '](.*#' ef27d1b -- docs → workflow.md:4, architecture.md:1, 0001-deploy-and-rollback.md:13 = 18. The cross-file three are exactly #pre-rehearsal (docs/agents/workflow.md:61), #7-where-the-state-lives (:105) and #7-where-the-state-lives (docs/architecture.md:48), all into the runbook — 15 same-page, 3 cross-file, and "two in docs/agents/workflow.md, one in docs/architecture.md" at :20-21 is that set.

  2. Same-page. The live runbook page carries 26 id="user-content-*" ids and nine unique rendered href="#user-content-*"; every one resolves to an id, 0 missing. workflow.md's one does too.

  3. Cross-file. The served hrefs stay bare (…/0001-deploy-and-rollback.md#pre-rehearsal, …#7-where-the-state-lives), while the target page carries id="user-content-pre-rehearsal" and id="user-content-7-where-the-state-lives" and no bare id. The served bundle /assets/js/index.js?v=15.0.9~gitea-1.22.0 carries this, inside At() — which gates on .markup and is invoked from the DOM-ready chain:

    const Zt = r => `user-content-${r}`;
    function Ke(r){ … document.getElementById(Zt(o)) … scrollIntoView() }
    …
    document.querySelector(":target") || Ke(window.location.hash?.substring(1))
    

    The file view serves class="file-view markup markdown", so the gate passes and a bare cross-file fragment is looked up prefixed. :13-16 is right, JavaScript caveat included.

  4. Upstream. gitea#12062 — state: closed, state_reason: completed, created and closed 2020-06-26 → :22 "filed and closed in 2020" holds. gitea#29196 — closed/completed 2024-03-08, and silverwind on that thread: "Keep in mind user-content- prefix is also a security precaution … hash navigation should work with and without the prefix" → :23-25 holds.

  5. The doubling. POST /api/v1/markdown/raw on [x](#some-heading) and [y](#user-content-some-heading) → #user-content-some-heading and #user-content-user-content-some-heading → :32-35 holds.

  6. FO-28 is done: false, titled "A doc-shape check for the docs tree…", and its brief rules render-level checking out of scope → :39-43 "still open" is true, and naming it was round 1's own clearing change.

Standards — 0 findings

  • AGENTS.md:52-53 — the pointer is a sentence in §Docs, wrapped inside the file's own register: AGENTS.md has the same seven over-80 lines before and after the edit (all pre-existing, :3, :7, :43, :59, :63, :73, :77), no trailing whitespace, and a final newline.
  • The new record — 55 lines, max 80 characters, 0 over (${#line}, UTF-8 aware), heading form #/## sentence case as docs/architecture.md and docs/agents/workflow.md carry, no trailing whitespace, final newline present.
  • Discoverability — git grep -n 'out-of-scope' 3fcc2a5 now returns AGENTS.md:52; the record is reachable from the file every agent reads first.
  • Nothing consumes the directory. .forgejo/workflows/pr-checks.yml is path-agnostic (three jobs, none doc-shaped). docs/wiki-pages.yml's discovery set is docs/ + GLOSSARY.md — proven by README.md and AGENTS.md sitting at the root, neither published nor named under exclude: — so a record under .out-of-scope/ is not a manifest coverage gap.
  • §Privacy holds — the record names no host and no address; only "Forgejo", gitea issue numbers and Vikunja prefixes. No secret, no state, no tracked file mutated besides the two.

Spec — 0 findings

Every claim in the rewritten record reproduced above, and no requirement of the ruling is missed: plain #slug fragments kept, nothing rewritten, the reason recorded, the path the ruling names used. No scope creep — the AGENTS.md sentence is the round-1 advisory's own clearing change, and the delta touches nothing else.

Checked and accepted

  • The FO-36 ruling comment still carries the refuted premise — "3 do not: the cross-file fragments … gitea#12062, open since 2020" and "the three cross-file clicks stay dead until Forgejo fixes gitea#12062" (task 129, comment of 2026-10-20T07:46:02Z). The record now contradicts it, and correctly. The author declared this and left it: the ruling comment predates the PR, the merge does not touch the tracker, and the correction is one comment on task 129 by whoever owns it. Not counted as a finding — the diff neither creates nor can clear it.
  • The round-1 advisory's two options. It offered "a row in docs/index.md or a sentence in AGENTS.md §Docs". The fix took the second and argued that docs/index.md's own convention (a multi-page section is index.md plus pages) does not fit a one-file root directory. That is the clearing change it was offered, so it is not re-charged.

Could not verify

  • No browser was driven, as in round 1. The cross-file result is the served bundle's code path plus its lookup replayed against the live page's ids, not a click. A browser that shows one of the three landing at the top would refute the record and withdraw this merge.
  • The fixer's manifest harness is not in the tree. Its comment cites scripts/wiki_manifest_check.py . → covered=20 gaps=0; there is no scripts/ directory at the head and git ls-files matches nothing by that name. The conclusion it supports — the manifest's discovery set does not reach .out-of-scope/ — I reproduced independently from docs/wiki-pages.yml, so nothing turns on the harness. Named here rather than counted, because there is nothing for the author to fix.
  • The gitea issue states come from api.github.com, not from this instance: they are upstream's own record and cannot be fresher.

Verification

  • Commit statuses on the reviewed head (3fcc2a5, run 11): pr-checks / fmt-check, pr-checks / validate, pr-checks / syntax-check — all success.
  • Re-run by hand at the head through the manager the repo asks for: mise exec -- make fmt-check → rc 0; mise exec -- make validate → rc 0, Success! The configuration is valid.

Summary

  • Standards: 0 findings.
  • Spec: 0 findings. All three round-1 findings are resolved in 3fcc2a5; the blocker's rewritten claim reproduces on the instance, and the delta introduces nothing new.
  • No blocker and no advisory, so the volume rule does not enter: merge. The approval is pinned to 3fcc2a5 as examined.
<!-- minos review-loop: repo=olympus/infra-forge pr=74 head=3fcc2a51b61d8b1dd20fa18286b3e7623a98b0e1 round=2/5 axes=standards,spec --> **olympus/infra-forge · PR #74 · reviewed head `3fcc2a5` · round 2/5 · axes: standards, spec** Recommendation: merge **What the round changed.** `git merge-base --is-ancestor 36ce5f7 3fcc2a5` → true, so the fix stacked: the round's delta is `git diff 36ce5f7 3fcc2a5` — two files, 26 insertions, 22 deletions. `.out-of-scope/forgejo-render-anchors.md:10-46` is rewritten (the measurement and the forward-looking clause), and `AGENTS.md:52-53` gains the pointer. Nothing else moved: the docs' prose is untouched, the ruling is unchanged, and the commit-status set on the head is the same three contexts. **Spec.** FO-36 (Vikunja task 129, project 4): `done: true`, label `wontfix`. The contract is its ruling comment — the docs keep plain `#slug` fragments, nothing in the tree is rewritten to suit the renderer, and the record lives at `.out-of-scope/forgejo-render-anchors.md`, the exact path the ruling names. The PR body repeats the record's measurable claims, so the body is checkable against the same evidence. **Standards sources.** `AGENTS.md` (§Rules, §Docs, §Toolchain), `docs/index.md` §Conventions, `docs/wiki-pages.yml`, `.forgejo/workflows/pr-checks.yml`, and the neighbours the new file sits among (`docs/architecture.md`, `docs/agents/workflow.md`). No standard of this repo is silent on anything the delta touches. ## Round 1 findings — all three resolved | Round-1 finding | Severity | State | Where it is resolved | | --- | --- | --- | --- | | `:16-22` / `:43-44` — three dead cross-file links, and a wait on gitea#12062 "open since 2020" | BLOCKER | resolved | `3fcc2a5` · `.out-of-scope/forgejo-render-anchors.md:16-18`, `:20-25`, `:45-46` | | `:1` — the record's directory is named by no doc | ADVISORY | resolved | `3fcc2a5` · `AGENTS.md:52-53` | | `:36-41` — a present-tense claim about a check that is not in the tree | ADVISORY | resolved | `3fcc2a5` · `.out-of-scope/forgejo-render-anchors.md:39-43` | The blocker is a behavioural claim, so I re-drove it at the head rather than reading it. On this instance (15.0.9+gitea-1.22.0), from `main` @ `ef27d1b`: 1. **Census.** `git grep -c '](.*#' ef27d1b -- docs` → `workflow.md:4`, `architecture.md:1`, `0001-deploy-and-rollback.md:13` = 18. The cross-file three are exactly `#pre-rehearsal` (`docs/agents/workflow.md:61`), `#7-where-the-state-lives` (`:105`) and `#7-where-the-state-lives` (`docs/architecture.md:48`), all into the runbook — 15 same-page, 3 cross-file, and "two in `docs/agents/workflow.md`, one in `docs/architecture.md`" at `:20-21` is that set. 2. **Same-page.** The live runbook page carries 26 `id="user-content-*"` ids and nine unique rendered `href="#user-content-*"`; every one resolves to an id, 0 missing. `workflow.md`'s one does too. 3. **Cross-file.** The served hrefs stay bare (`…/0001-deploy-and-rollback.md#pre-rehearsal`, `…#7-where-the-state-lives`), while the target page carries `id="user-content-pre-rehearsal"` and `id="user-content-7-where-the-state-lives"` and no bare id. The served bundle `/assets/js/index.js?v=15.0.9~gitea-1.22.0` carries this, inside `At()` — which gates on `.markup` and is invoked from the DOM-ready chain: ```js const Zt = r => `user-content-${r}`; function Ke(r){ … document.getElementById(Zt(o)) … scrollIntoView() } … document.querySelector(":target") || Ke(window.location.hash?.substring(1)) ``` The file view serves `class="file-view markup markdown"`, so the gate passes and a bare cross-file fragment is looked up prefixed. `:13-16` is right, JavaScript caveat included. 4. **Upstream.** gitea#12062 — `state: closed`, `state_reason: completed`, created and closed 2020-06-26 → `:22` "filed and closed in 2020" holds. gitea#29196 — `closed`/`completed` 2024-03-08, and silverwind on that thread: "Keep in mind `user-content-` prefix is also a security precaution … hash navigation should work with and without the prefix" → `:23-25` holds. 5. **The doubling.** `POST /api/v1/markdown/raw` on `[x](#some-heading) and [y](#user-content-some-heading)` → `#user-content-some-heading` and `#user-content-user-content-some-heading` → `:32-35` holds. 6. **FO-28** is `done: false`, titled "A doc-shape check for the docs tree…", and its brief rules render-level checking out of scope → `:39-43` "still open" is true, and naming it was round 1's own clearing change. ## Standards — 0 findings - **`AGENTS.md:52-53`** — the pointer is a sentence in §Docs, wrapped inside the file's own register: `AGENTS.md` has the same seven over-80 lines before and after the edit (all pre-existing, `:3`, `:7`, `:43`, `:59`, `:63`, `:73`, `:77`), no trailing whitespace, and a final newline. - **The new record** — 55 lines, max 80 characters, 0 over (`${#line}`, UTF-8 aware), heading form `#`/`##` sentence case as `docs/architecture.md` and `docs/agents/workflow.md` carry, no trailing whitespace, final newline present. - **Discoverability** — `git grep -n 'out-of-scope' 3fcc2a5` now returns `AGENTS.md:52`; the record is reachable from the file every agent reads first. - **Nothing consumes the directory.** `.forgejo/workflows/pr-checks.yml` is path-agnostic (three jobs, none doc-shaped). `docs/wiki-pages.yml`'s discovery set is `docs/` + `GLOSSARY.md` — proven by `README.md` and `AGENTS.md` sitting at the root, neither published nor named under `exclude:` — so a record under `.out-of-scope/` is not a manifest coverage gap. - **§Privacy holds** — the record names no host and no address; only "Forgejo", gitea issue numbers and Vikunja prefixes. No secret, no state, no tracked file mutated besides the two. ## Spec — 0 findings Every claim in the rewritten record reproduced above, and no requirement of the ruling is missed: plain `#slug` fragments kept, nothing rewritten, the reason recorded, the path the ruling names used. No scope creep — the `AGENTS.md` sentence is the round-1 advisory's own clearing change, and the delta touches nothing else. ## Checked and accepted - **The FO-36 ruling comment still carries the refuted premise** — "3 do not: the cross-file fragments … gitea#12062, open since 2020" and "the three cross-file clicks stay dead until Forgejo fixes gitea#12062" (task 129, comment of `2026-10-20T07:46:02Z`). The record now contradicts it, and correctly. The author declared this and left it: the ruling comment predates the PR, the merge does not touch the tracker, and the correction is one comment on task 129 by whoever owns it. Not counted as a finding — the diff neither creates nor can clear it. - **The round-1 advisory's two options.** It offered "a row in `docs/index.md` or a sentence in `AGENTS.md` §Docs". The fix took the second and argued that `docs/index.md`'s own convention (a multi-page section is `index.md` plus pages) does not fit a one-file root directory. That is the clearing change it was offered, so it is not re-charged. ## Could not verify - **No browser was driven**, as in round 1. The cross-file result is the served bundle's code path plus its lookup replayed against the live page's ids, not a click. A browser that shows one of the three landing at the top would refute the record and withdraw this merge. - **The fixer's manifest harness is not in the tree.** Its comment cites `scripts/wiki_manifest_check.py .` → `covered=20 gaps=0`; there is no `scripts/` directory at the head and `git ls-files` matches nothing by that name. The conclusion it supports — the manifest's discovery set does not reach `.out-of-scope/` — I reproduced independently from `docs/wiki-pages.yml`, so nothing turns on the harness. Named here rather than counted, because there is nothing for the author to fix. - The gitea issue states come from `api.github.com`, not from this instance: they are upstream's own record and cannot be fresher. ## Verification - Commit statuses on the reviewed head (`3fcc2a5`, run 11): `pr-checks / fmt-check`, `pr-checks / validate`, `pr-checks / syntax-check` — all `success`. - Re-run by hand at the head through the manager the repo asks for: `mise exec -- make fmt-check` → rc 0; `mise exec -- make validate` → rc 0, `Success! The configuration is valid.` ## Summary - **Standards: 0 findings.** - **Spec: 0 findings.** All three round-1 findings are resolved in `3fcc2a5`; the blocker's rewritten claim reproduces on the instance, and the delta introduces nothing new. - No blocker and no advisory, so the volume rule does not enter: **merge**. The approval is pinned to `3fcc2a5` as examined.
pit merged commit 94572ccc48 into main 2026-10-20 07:58:50 +00:00
pit deleted branch hermes/FO-36-render-anchors 2026-10-20 07:58:51 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/infra-forge!74
No description provided.