Commit f345718
feat(coordinator-boundary): advisory tier for prose / pasted-spec leakage
The structural guard catches language *files* and re-vendored language dirs, but
not a grammar, typing rules, or a whole language spec pasted into a narrative doc
(how "TypeFix Zero" ended up inside README.adoc). This adds a NON-blocking advisory
scan to hooks/validate-coordinator-boundary.sh:
- Scope: the coordinator's narrative surface (top-level *.md/*.adoc + docs/, minus
docs/disambiguation/). It does NOT scan wiki/ (where rust/ocaml/agda/ebnf teaching
snippets legitimately live) or extraction-queue/ (staged content).
- Flags: grammar/proof code fences (agda/lean/coq/idris/ebnf/bnf/antlr/g4),
implementation-language fences (rust/ocaml/reason/rescript), and unfenced spec
tells (BNF ::=, sequents, universe/fixpoint typing judgments).
- WARNS only — never fails the build (heuristic; false positives must not block).
Emits GitHub Actions ::warning:: annotations so findings surface on PRs.
Verified: passes clean on the current tree; flags a planted TF0-style spec
(fix : (A -> A), an agda fence, a ::= production) as 3 warnings while staying exit 0;
structural leaks still hard-fail.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MWPX7iyvHf5AuwBAn1sJPy1 parent 95e05a7 commit f345718
1 file changed
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
60 | 109 | | |
61 | 110 | | |
62 | 111 | | |
| |||
0 commit comments