Skip to content

Commit 2e003ed

Browse files
hyperpolymathclaude
andcommitted
fix: restore {{PROJECT}} in reject-if-contains — it is a detector, not a value
The estate top-up sweep substituted {{PROJECT}} here along with every other token. This line is a DETECTOR list: the comment above it says these rules detect corrupt/template/stale state files, so the tokens named in it are the ones whose PRESENCE means a state file is broken. Substituting it did two things. It blinded the {{PROJECT}} leak detector, and it made the detector reject any state file containing this repo's own uppercased name — the opposite of what the rule is for. Same failure class as a template recipe rewriting the incident record that documents its own bug: substituting tokens inside a thing that is ABOUT tokens. Nothing else in this PR changes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 8d82654 commit 2e003ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.machine_readable/agent_instructions/methodology.a2ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ constraints = [
101101
# These rules detect corrupt/template/stale state files.
102102

103103
[methodology.state-validation]
104-
reject-if-contains = ["{{PLACEHOLDER}}", "HYPERPOLYMATH_GITHUB_IO", "rsr-template-repo"]
104+
reject-if-contains = ["{{PLACEHOLDER}}", "{{PROJECT}}", "rsr-template-repo"]
105105
reject-if-project-name-mismatch = true
106106
staleness-threshold-days = 90
107-
fallback-files = ["TODO.md", "TODO.adoc", "ROADMAP.adoc", "README.adoc"]
107+
fallback-files = ["TODO.md", "TODO.adoc", "ROADMAP.adoc", "README.adoc"]

0 commit comments

Comments
 (0)