feat(engine): per-repo heading alias closes the Non-goals/nb-repo gap
The Non-goals contract is one literal English heading, matched case-insensitively but never translated — a repo whose readers were declared `nb` in `locales` could only go green by planting an English heading inside an otherwise-Norwegian document. Measured on ki-produktivitetsmodell (order, census 09): `## Virkeområde og forbehold` already does the job Non-goals exists for, HEADING-MISSING fired anyway. `heading_aliases` in the register is the same shape `titles` already is for the README H1 — decision in the repo, bookkeeping here — keyed per repo so two nb-repos need not share a Norwegian phrasing. Satisfying a requirement through it is its own OK (HEADING-ALIAS), never folded silently into the aggregate. Also books two operator title decisions verified against the live clones (not the coord messages that reported them): .profile's H1 became "From AI to Chitta — open" (org landing page rebuild, commit 9898a6e), and ki-produktivitetsmodell's H1 "Tre nivå av organisatorisk produktivitet med KI" is deliberate, not drift. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gh6T6iHHkMvgeBbGaLmLQD
This commit is contained in:
parent
e061c1d219
commit
45a2bf30de
5 changed files with 118 additions and 6 deletions
|
|
@ -135,14 +135,27 @@
|
|||
"",
|
||||
"`ai-psychosis` (`# Interaction Awareness`) is DELIBERATELY ABSENT: it is the",
|
||||
"one where a reader cannot connect the title to the repo. Leaving it standing",
|
||||
"alone is the wanted effect of registering the others."
|
||||
"alone is the wanted effect of registering the others.",
|
||||
"",
|
||||
"`.profile` UPDATED 2026-08-18 (org-ops coord, census 09): the org landing",
|
||||
"page was rebuilt the same day (commit 9898a6e, 'rebuild org landing page,",
|
||||
"add LICENSE and SECURITY.md', per that repo's own STATE.md — order from",
|
||||
"`.claude`, AAA+ round 5). The H1 became `# From AI to Chitta — open`; the",
|
||||
"old value here was the H1 it replaced, not drift. Verified against the",
|
||||
"clone, not the coord message — the em-dash is U+2014, not a hyphen.",
|
||||
"",
|
||||
"`ki-produktivitetsmodell` ADDED 2026-08-18 (order from that repo, on its own",
|
||||
"operator decision recorded in its STATE.md the same day): `# Tre nivå av",
|
||||
"organisatorisk produktivitet med KI` is the document's real title, the repo",
|
||||
"name is a slug. Verified against the clone before writing it down."
|
||||
],
|
||||
"titles": {
|
||||
".profile": "fromaitochitta / open",
|
||||
".profile": "From AI to Chitta — open",
|
||||
"llm-ingestion-pipeline-security": "llm-ingestion-guard",
|
||||
"linkedin-studio": "LinkedIn Studio Plugin for Claude Code",
|
||||
"llm-security": "LLM Security Plugin for Claude Code",
|
||||
"ms-ai-architect": "AI Architect Plugin for Claude Code"
|
||||
"ms-ai-architect": "AI Architect Plugin for Claude Code",
|
||||
"ki-produktivitetsmodell": "Tre nivå av organisatorisk produktivitet med KI"
|
||||
},
|
||||
|
||||
"$comment_traits": [
|
||||
|
|
@ -201,6 +214,33 @@
|
|||
"ki-produktivitetsmodell": "nb"
|
||||
},
|
||||
|
||||
"$comment_heading_aliases": [
|
||||
"The Non-goals contract is one fixed English string, matched literally — it",
|
||||
"cannot be satisfied by a repo whose readers were declared `nb` in `locales`",
|
||||
"above, and the only way to go green was to plant an English heading inside",
|
||||
"an otherwise-Norwegian document. Same job `titles` does for a README H1, one",
|
||||
"requirement over: the decision is taken in the repo, the bookkeeping happens",
|
||||
"here — a registered alias satisfies the requirement and is its own OK",
|
||||
"(`HEADING-ALIAS`), never a silent pass.",
|
||||
"",
|
||||
"Keyed PER REPO, not per locale: a locale-wide translation table would force",
|
||||
"every nb-repo into the same Norwegian phrasing for the same section, which",
|
||||
"is exactly the constraint `titles` already rejects for H1s (a human title is",
|
||||
"a valid choice, not a slot to fill from a fixed list).",
|
||||
"",
|
||||
"ADDED 2026-08-18 (order from ki-produktivitetsmodell, census 09 on that",
|
||||
"repo): its README is `nb` (see `locales` above) and carries",
|
||||
"`## Virkeområde og forbehold`, which does the job the Non-goals contract",
|
||||
"exists for — a stranger sees what the repo does not try to be. The operator",
|
||||
"decided the README stays as written; this entry is the mechanism, not an",
|
||||
"exception for one repo. Verified against the clone before writing it down."
|
||||
],
|
||||
"heading_aliases": {
|
||||
"ki-produktivitetsmodell": {
|
||||
"## Non-goals": "## Virkeområde og forbehold"
|
||||
}
|
||||
},
|
||||
|
||||
"$comment_tags_lightweight_accepted": [
|
||||
"Where a decided YES about lightweight tag HISTORY gets written down — the",
|
||||
"same job `titles` does for a README H1, one axis over. A lightweight tag is",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue