Prepares 13 of 15 plan-scope bundle files for the upcoming Apache -> EUPL-1.2
licence swap. Pre-commit hooks scan whole file content, so prohibited-terms
AND attack-surface exposures must be cleared on every file touched by the
licence edit. Bundles both hygiene concerns into one atomic commit per the
same precedent as db788548 (Maintenance_Guide consolidation for the same
whole-file-scan reason). The other 2 plan-scope files
(business-case-tractatus-framework.md, implementation-guide.md) were already
clean on both checks and will only be touched in the licence-swap commit.
inst_016/017/018 (prohibited terms) — 21 rewrites across 9 files:
- 12 rewrites for "guarantee(s|d)" / "eliminate all" (inst_017), with
context-appropriate substitutes: "enforcement" / "properties" /
"enforces" / "inevitable" / "approaches certainty" / "constrain" /
"establish"
- 4 rewrites for "production-ready" (inst_018): "code under active
maintenance" / "API Stability" / "active component" / "maturity"
- 5 "[NEEDS VERIFICATION]" markers added to uncited stats (inst_016)
per the check script's recommended convention
inst_084 (attack surface) — ~48 redactions across 9 files:
- 42 port swaps via throwaway token-replace script (code-block and
inline-code aware, so shell commands and code samples stay intact):
"port 27017" / "Port 27017" -> "MongoDB default port"
"port 27027" / "Port 27027" -> "non-default project port" /
"Non-default project port"
"on port 27017" -> "on the MongoDB default port"
"on port 27027" -> "on a non-default project port"
- 6 API-endpoint redactions on roadmap-2025.md: backticked and plain
"/docs/api/..." paths replaced with generic descriptors
("the OpenAPI 3.0 specification", "JavaScript examples documentation",
etc.)
Same pedagogical-preservation approach as Phase A commit c85f310f (README
redactions): generic descriptors preserve narrative intent; bare "27027"
and "27017" digits survive where they appear outside the "port \d" token
pattern (section titles, narrative references to the incident number,
incident metrics).
Preserved intentionally (per plan scope):
CLAUDE_WEB_BRIEF.md:250 "MIT or Apache license" — historical context.
All code-block port references (exempted by the attack-surface
validator's removeExemptedSections).
Bare digits outside the "port \d" token pattern.
Commit 3/5 in the revised sequence for the out-of-scope hygiene + licence
sweep. Plan: community repo
docs/plans/PLAN_TRACTATUS_OUT_OF_SCOPE_HYGIENE_LICENCE_20260420.md
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>