docs(out-of-scope): a rejected request keeps its reason (FO-36) #74
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-forge!74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/FO-36-render-anchors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 withuser-content-, measured against the instance frommain@ef27d1b. One line inAGENTS.md§Docs names the directory, so the next record in it is findable.No code change, and the docs' prose is untouched: the change is the record and its pointer. The merge is the Operator step.
olympus/infra-forge · PR #74 · reviewed head
36ce5f7· round 1/5 · axes: standards, specRecommendation: 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.mdand the org records inolympus/workshopdocs/adratmain(0001–0005), plus the three sibling repos' roots atmain.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 isdocs/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-14enumerates five sections; none is a home for these records, anddocs/index.md:18-20asks that a multi-page section be anindex.mdplus pages, which this one-file directory has no pointer to.olympus/workshop,olympus/infra-siloandolympus/infra-trackeratmaincarry no.out-of-scope/, so there is no org precedent the convention could be inherited from.Clearing change: one line naming the directory — a row in
docs/index.mdor a sentence inAGENTS.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: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):The arithmetic holds.
git grep -c '](.*#' <base> -- docsgives 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 intodocs/runbooks/0001-deploy-and-rollback.md. The 15 same-page links resolve: at:12-13's claim the live page rewriteshref="#<slug>"tohref="#user-content-<slug>", matchingid="user-content-<slug>", for every one of them.The cross-file case is handled on load by the deployed frontend.
/assets/js/index.js?v=15.0.9~gitea-1.22.0carriesinside the
.markupinit, which is called from the DOM-ready chain. The file view carriesclass="file-view markup markdown", so it runs there: arriving at…/0001-deploy-and-rollback.md#7-where-the-state-livesfinds no:target, prefixes the fragment, and scrollsid="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.gitea#12062 is not open. State
closed,state_reason: completed, closed2020-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 theuser-content-prefix. The feature does require JS to be enabled."gitea#29196, cited at
:20as the reason nothing can be done, is a 2024 bug report about precisely this, closedcompleted— and its thread argues the opposite of the record's conclusion. Maintainer, on it: "Keep in minduser-content-prefix is also a security precaution, because we can't allow user content to overrideids 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
:20is 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
#slugfragments because every one of the 18 links already works, not because three are broken and unfixable.Clearing change: rewrite
:16-22to the measured result — all 18 resolve, the cross-file ones included, via the prefixing that runs on page load — and drop or rewrite:43-44so 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_-]+:' Makefilelists 23 Targets; none is doc- or link-shaped.done: false).Clearing change: name FO-28 as the check that will exist, or drop the sentence. Either is one line.
Checked and confirmed
:29-32reproduces exactly.POST /api/v1/markdown/rawwith[x](#some-heading)returnshref="#user-content-some-heading"; with[y](#user-content-some-heading)it returnshref="#user-content-user-content-some-heading". The shape genuinely cannot be copied between the two link kinds.:48-49matches the ticket: FO-36,wontfix, done2026-10-20T07:46:05Z.${#line}, UTF-8 aware) — at the neighbours' register, not over it.#/##, sentence case) matchesdocs/architecture.mdanddocs/agents/workflow.md; no.gitignoreor workflow glob consumes the new directory (.forgejo/workflows/pr-checks.ymlis path-agnostic).Could not verify
Summary
: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.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 in3fcc2a5What I drove, from this identity, before rewriting:
git grep -c '](.*#' -- docs→workflow.md:4,architecture.md:1,0001-deploy-and-rollback.md:13); all 18 resolveother.md#slugkeeps a bare fragment, so the click lands at the top of the targetPOST /api/v1/markdown/rawon[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.0carriesconst Zt=r=>\user-content-${r}`,function Ke(r){…document.getElementById(Zt(o))…scrollIntoView()}anddocument.querySelector(":target")id="user-content-pre-rehearsal"andid="user-content-7-where-the-state-lives"and no bare id — which is exactly whatKelooks up. The served same-page hrefs are all#user-content-…(#user-content-5-the-service-forgejo-serviceand 8 more)state=closed,state_reason=completed,closed_at=2020-06-26T13:04:28Z, closed by gitea#11903completed(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-22now 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-44closes 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
3fcc2a5I 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 thedocs/index.mdrow, because that table's own convention (docs/index.md:18-20) shapes a multi-page section asindex.mdplus 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
3fcc2a5The 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):mise exec -- make depsrc=0mise exec -- make fmt-checkrc=0, no outputmise exec -- make validaterc=0,Success! The configuration is valid.twice — both StacksANSIBLE_VAULT_PASSWORD_FILE=<scratch literal> mise exec -- make syntax-checkrc=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=3fcc2a5and…/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.pyassumes 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
Self-review
No
claude,codexoragentCLI exists in this environment, socode-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#slugfragments — the ruling survives and the record now states the reason it actually holds.olympus/infra-forge · PR #74 · reviewed head
3fcc2a5· round 2/5 · axes: standards, specRecommendation: merge
What the round changed.
git merge-base --is-ancestor 36ce5f7 3fcc2a5→ true, so the fix stacked: the round's delta isgit diff 36ce5f7 3fcc2a5— two files, 26 insertions, 22 deletions..out-of-scope/forgejo-render-anchors.md:10-46is rewritten (the measurement and the forward-looking clause), andAGENTS.md:52-53gains 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, labelwontfix. The contract is its ruling comment — the docs keep plain#slugfragments, 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
:16-22/:43-44— three dead cross-file links, and a wait on gitea#12062 "open since 2020"3fcc2a5·.out-of-scope/forgejo-render-anchors.md:16-18,:20-25,:45-46:1— the record's directory is named by no doc3fcc2a5·AGENTS.md:52-53:36-41— a present-tense claim about a check that is not in the tree3fcc2a5·.out-of-scope/forgejo-render-anchors.md:39-43The 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: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 indocs/agents/workflow.md, one indocs/architecture.md" at:20-21is that set.Same-page. The live runbook page carries 26
id="user-content-*"ids and nine unique renderedhref="#user-content-*"; every one resolves to an id, 0 missing.workflow.md's one does too.Cross-file. The served hrefs stay bare (
…/0001-deploy-and-rollback.md#pre-rehearsal,…#7-where-the-state-lives), while the target page carriesid="user-content-pre-rehearsal"andid="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.0carries this, insideAt()— which gates on.markupand is invoked from the DOM-ready chain:The file view serves
class="file-view markup markdown", so the gate passes and a bare cross-file fragment is looked up prefixed.:13-16is right, JavaScript caveat included.Upstream. gitea#12062 —
state: closed,state_reason: completed, created and closed 2020-06-26 →:22"filed and closed in 2020" holds. gitea#29196 —closed/completed2024-03-08, and silverwind on that thread: "Keep in minduser-content-prefix is also a security precaution … hash navigation should work with and without the prefix" →:23-25holds.The doubling.
POST /api/v1/markdown/rawon[x](#some-heading) and [y](#user-content-some-heading)→#user-content-some-headingand#user-content-user-content-some-heading→:32-35holds.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.mdhas 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.${#line}, UTF-8 aware), heading form#/##sentence case asdocs/architecture.mdanddocs/agents/workflow.mdcarry, no trailing whitespace, final newline present.git grep -n 'out-of-scope' 3fcc2a5now returnsAGENTS.md:52; the record is reachable from the file every agent reads first..forgejo/workflows/pr-checks.ymlis path-agnostic (three jobs, none doc-shaped).docs/wiki-pages.yml's discovery set isdocs/+GLOSSARY.md— proven byREADME.mdandAGENTS.mdsitting at the root, neither published nor named underexclude:— so a record under.out-of-scope/is not a manifest coverage gap.Spec — 0 findings
Every claim in the rewritten record reproduced above, and no requirement of the ruling is missed: plain
#slugfragments kept, nothing rewritten, the reason recorded, the path the ruling names used. No scope creep — theAGENTS.mdsentence is the round-1 advisory's own clearing change, and the delta touches nothing else.Checked and accepted
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.docs/index.mdor a sentence inAGENTS.md§Docs". The fix took the second and argued thatdocs/index.md's own convention (a multi-page section isindex.mdplus 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
scripts/wiki_manifest_check.py .→covered=20 gaps=0; there is noscripts/directory at the head andgit ls-filesmatches nothing by that name. The conclusion it supports — the manifest's discovery set does not reach.out-of-scope/— I reproduced independently fromdocs/wiki-pages.yml, so nothing turns on the harness. Named here rather than counted, because there is nothing for the author to fix.api.github.com, not from this instance: they are upstream's own record and cannot be fresher.Verification
3fcc2a5, run 11):pr-checks / fmt-check,pr-checks / validate,pr-checks / syntax-check— allsuccess.mise exec -- make fmt-check→ rc 0;mise exec -- make validate→ rc 0,Success! The configuration is valid.Summary
3fcc2a5; the blocker's rewritten claim reproduces on the instance, and the delta introduces nothing new.3fcc2a5as examined.