Skip to content

18: Add SiteAccess review labels - #3398

Merged
mnocon merged 1 commit into
saas-batch-3from
saas-t18-siteaccess-labels
Sep 8, 2026
Merged

18: Add SiteAccess review labels#3398
mnocon merged 1 commit into
saas-batch-3from
saas-t18-siteaccess-labels

Conversation

@mnocon

@mnocon mnocon commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Ticket 18 of the Cohesivo SaaS conversion. Base: saas-batch-3.

A maintainer can list, with one search, every page whose SiteAccess content still
needs a product decision, and read on each one what specifically must be
confirmed. Readers see nothing.

37 files changed, 323 insertions, 0 deletions — every hunk inside the leading
--- block.

Labels only, proven

The ticket requires that no page's body content change. That was verified
mechanically, not asserted: for all 37 files, the text after the frontmatter
block is byte-identical to HEAD.

Schema

Matches what ticket 13 already landed ahead of this:

saas_review:
    - siteaccess
saas_review_note: >-
    …what a later pass must confirm

List-valued, because pages accumulate more than one reason and a scalar key
would silently overwrite.

Inclusion rule: 38 of 54 pages

Not every page containing "SiteAccess" needs a label. A page is labelled when it
documents a SiteAccess-scoped setting or set-up step (an
ibexa.system.<scope> / ibexa.site_access.config.<scope> / ibexa.siteaccess
key, siteaccess_group/siteaccess_list, "configurable per SiteAccess") or
defines the SiteAccess scoping and matching semantics themselves.

The 16 excluded are genuine passing mentions — for example subitems_list.md,
where siteaccess is a component parameter name; rest_requests.md, where
X-Siteaccess is a REST header rather than a delivered setting; and
page_blocks.md / react_app_block.md, whose state configuration is explicitly
not SiteAccess-aware. Labelling those would inflate the maintainer's worklist
with pages that need no decision.

Reason values

  • siteaccess — 38 pages
  • links_removed — 27 pages, each note naming the deleted targets

Ticket 13's four pages were extended, not overwritten

Three gained - links_removed appended to their existing list plus an extra
paragraph in the existing note. configure_translations_management.md lost no
links and is byte-unchanged.

One page (measurementfield.md) had no frontmatter block at all and needed one
created.

Nothing renders

The theme extends Material's base.html with no generic frontmatter loop. Proven
after a build: grep -rl "saas_review" site/0 hits, as are the note
phrases, and site/llms.txt / site/llms-full.txt → 0. No review banner
anywhere.

Maintainer search

grep -rln '^saas_review:' docs --include='*.md'          # all 38
grep -rl  '^    - links_removed$' docs --include='*.md'  # by reason

Verification

  • mkdocs build --strict → exit 0.
  • pytest -q → 90 passed, no warnings.
  • mkdocs.yml, the invariant test and its baseline all untouched.

Two things for the reviewer

Scope call on links_removed. Repo-wide, 212 pages lost links to deleted
content; only 39 are in the SiteAccess set. This PR scopes the label to that set,
following the spec's framing of it as a co-reason ("a SiteAccess page that also
lost links to deleted content is the common case"). Read literally, the box would
need ~175 more pages — a separate mechanical pass, and git history already
records every removal. Flag it if you want the literal reading.

Worth knowing for any later link audit: this repo uses the autolinks
plugin, so a bare foo.md link resolves by basename anywhere under docs/. A
naive relative-path existence check produces false "deleted link" hits; the
detector used here is autolinks-aware.

🤖 Generated with Claude Code

Flags, in author-facing frontmatter only, every surviving page whose
SiteAccess content still needs a product decision, so a maintainer can
enumerate the outstanding work with one search:

    grep -rln '^saas_review:' docs --include='*.md'

Schema (as landed by ticket 13):

    saas_review:          list of reason values
        - siteaccess
        - links_removed
    saas_review_note: >-  one free-text note per page

38 pages now carry `saas_review`; 34 are new here and 4 were already
labelled by ticket 13 (three of those gain the `links_removed` reason and
an extended note). Inclusion rule: a page is labelled when it documents a
SiteAccess-scoped setting or the SiteAccess scoping/matching semantics
themselves; 16 of the 54 pages that merely mention the string are left
unlabelled (a cross-link, a concept definition, the `X-Siteaccess`
request header, a component parameter named `siteaccess`, a deprecated
permission limitation, or a statement that something is *not*
SiteAccess-aware).

`links_removed` (27 pages) records, in the same note, which deleted pages
this page used to link to, so a later pass can check the surrounding
prose.

No SiteAccess content is rewritten and no UI is invented, per the spec's
Out of Scope entry. No page's body changes: every hunk is an addition
inside the leading `---` block, and one page
(`measurementfield.md`) gains a frontmatter block it did not have.

The theme extends Material's `base.html` and has no generic frontmatter
loop, so the keys do not render: after a strict build, `saas_review` and
the note text appear nowhere under `site/`, including `llms.txt` and
`llms-full.txt`.

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

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Preview of modified files

Preview of modified Markdown:

@mnocon
mnocon merged commit a2884ab into saas-batch-3 Sep 8, 2026
6 of 11 checks passed
@mnocon
mnocon deleted the saas-t18-siteaccess-labels branch September 8, 2026 07:14
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