Skip to content

[finding] The gate section and cli.mdx disagree about the gate in three places — a heading/anchor pair that cannot be renamed alone, a stale rule count, and a retired rule still listed #7465

Description

@os-help

Observation-class cluster, surfaced while implementing #7442 (the "gate" table's fourth column) and deliberately left out of PR #7458 because all three sit outside that card's ruled file surface. Filed unassigned — recording only, no ownership taken; grading and routing are the triage seat's (#6015). ⛔ Not self-claimed.

These are three separate drifts, but they are one cluster: content/docs/deployment/validating-metadata.mdx and content/docs/deployment/cli.mdx describe the same gate and no longer agree with each other or with the code.

1. The heading is now wrong, and it cannot be fixed in one file

validating-metadata.mdx has ## The one gate, three entry points. Since #4463 P1 there are four doors — the three CLI commands plus the runtime publish gate (saveMetaItem on a state: 'active' write, and publishMetaItem on the draft→active promotion), which PR #7458 has just documented as a fourth column.

⚠️ The rename is a paired edit, not a one-word fix. content/docs/deployment/cli.mdx:458 links the anchor #the-one-gate-three-entry-points. Renaming the heading alone silently breaks that inbound link — and because the two files are in different cards' file surfaces, the obvious "just fix the heading" change is exactly the one that breaks it. PR #7458 left the heading alone for this reason and reconciled it in the body instead.

Both edits belong in one commit: the heading and the cli.mdx link.

2. The sample transcript's rule count is stale

The console transcript quoted in validating-metadata.mdx reads:

Running author-time rules (26)

AUTHORING_RULES now holds 38 entries. This is a quoted run transcript rather than a claim about the gate, which is why it was out of scope for a card about the table — but a reader comparing the transcript against the table below it gets two different answers about how many rules exist.

3. cli.mdx still lists a rule that was retired

content/docs/deployment/cli.mdx:473 lists deprecated visibility aliases among what os lint reports. visibility-alias-deprecated was retired by #6318 — confirmed in validate-visibility-predicates.ts, authoring-rules.ts and authoring-rule-input-tier.test.ts. PR #7458 dropped it from the table's advisory row in validating-metadata.mdx; the same claim survives in cli.mdx, which that card could not touch.

This is the only one of the three that is declared ≠ enforced in the user-facing direction: the docs promise a lint report that no longer exists.

Why observation-class

Nobody is blocked. (1) is a correctness-of-prose issue whose only cost is a reader mis-counting doors; (2) is a stale quoted number; (3) is the sharpest — a documented lint output that will never appear — but it is a report line, not a guarantee anyone builds on. Grading left to triage; ⛔ this seat does not self-grade.

Dedup

Searched open issues for the-one-gate-three-entry-points, author-time rules (26), visibility alias and cli.mdx before filing: no existing card. #7442 (now closed by PR #7458) is the discovering neighbour and its report comment records all three; this card exists so they remain discoverable after that issue closes.

Refs: #7442, PR #7458, #4463 (P1, the fourth door), #6318 (the retirement), #7435 / 89d7b35a7 (the advisory channel).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions