-
Notifications
You must be signed in to change notification settings - Fork 0
Add a context canary to the root CLAUDE.md #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -401,6 +401,20 @@ like the rest of §5; the detection is a reader comparing the pass against the s | |
| any other pass. Counter and workspace state persist in `.context/`; the *pass* does | ||
| not. | ||
|
|
||
| ## 6. Context Canary | ||
|
|
||
| Begin every response to the user by addressing him as "Daniel." | ||
|
|
||
| **Why:** it is a context canary. These guidelines are only in force while this file is in | ||
| context, and nothing signals when it falls out. The address is a per-response marker: if | ||
| it disappears, CLAUDE.md is gone from context and the user knows to reload rather than | ||
| discovering it through work that quietly stopped following §1–§5. | ||
|
|
||
| **Scope: conversational responses only.** Never in file contents, commit messages, code, | ||
| or gate artifacts. §5's findings file admits no line that is not a finding line or the | ||
| terminator, and its reply is exactly one line per branch — a greeting there is a malformed | ||
| pass, so a canary that reached into artifacts would break the protocol it sits beside. | ||
|
|
||
|
Comment on lines
+404
to
+417
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win Do not hardcode Daniel in a reusable
🤖 Prompt for AI Agents📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win Run the mandatory Gate B review for this change. The supplied guidelines classify 🤖 Prompt for AI AgentsSource: Coding guidelines |
||
| --- | ||
|
|
||
| **These guidelines are working if:** fewer unnecessary changes in diffs, fewer rewrites due to overcomplication, and clarifying questions come before implementation rather than after mistakes. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Exclude review artifacts from the canary scope.
The scope excludes gate artifacts but not machine-readable review artifacts. Prefixing review output with “Daniel” can violate the review protocol’s required markers and parsing format. Add review artifacts explicitly to the exclusions.
🤖 Prompt for AI Agents
Source: Learnings