aboutsummaryrefslogtreecommitdiff
path: root/claude-rules/commits.md
diff options
context:
space:
mode:
Diffstat (limited to 'claude-rules/commits.md')
-rw-r--r--claude-rules/commits.md31
1 files changed, 30 insertions, 1 deletions
diff --git a/claude-rules/commits.md b/claude-rules/commits.md
index 4509cee..c4eb2cd 100644
--- a/claude-rules/commits.md
+++ b/claude-rules/commits.md
@@ -19,6 +19,7 @@ Absolutely no AI/LLM/Claude/Anthropic attribution in:
- Code comments
- Commit trailers
- Release notes, changelogs, and any public-facing artifact
+- Document author metadata — an org `#+AUTHOR:` line, YAML frontmatter `author:`, a docx or PDF author property, a byline
This means:
@@ -32,6 +33,34 @@ If a tool, template, or default config inserts attribution, remove it. If
settings.json needs it, set `attribution.commit: ""` and `attribution.pr: ""`
to suppress the defaults.
+### Generated documents carry the human author only
+
+Every document an agent writes or updates — a daily prep, a session log, a
+spec, an explainer, a meeting summary — names the human as its sole author.
+`#+AUTHOR: Craig Jennings`, never `Craig Jennings & Claude`, and never an
+agent's name standing alone.
+
+The failure mode is imitation, not intent. No template stamps this line;
+agents copy the author header from whatever sits nearby — yesterday's prep,
+the workflow file they're reading, the doc next to the one they're writing.
+So a single stray `& Claude` propagates through everything generated
+afterward, and no amount of fixing individual files stops it. Fix the files
+an agent reads, and state the rule here.
+
+The stakes are highest where the rule is least visible. A private notes repo
+tolerates a co-author line; many employers do not, and their policy is that
+work product carries employee names alone. An `#+AUTHOR:` line survives
+conversion into docx, a published wiki page, or a PDF handed to a customer,
+so a header written in a scratch document three months ago can surface inside
+a deliverable. Write the header correctly at creation.
+
+Two things this rule does not ask for. Don't rewrite historical records —
+archived session logs and past dated documents stay as they are, because
+they're a record of what happened rather than a live artifact. And don't
+relabel a document another agent genuinely authored: if Codex wrote it, the
+byline stays Codex. The rule removes false co-authorship, not true
+authorship.
+
## Commit Message Format
Commit messages follow the [Conventional Commits](https://www.conventionalcommits.org/) spec.
@@ -357,7 +386,7 @@ Pick the shape first. Most reviews are Shape 1.
3. Run `/voice personal` on the file once. The skill walks its full pattern list across every block at the same time. The separators stay intact because they aren't prose.
-4. Print the final draft inline in the terminal. Every block, exactly as it'll be posted, with its separator header. State that the skill ran (e.g. "/voice personal — full pattern walk across summary + 3 inline"). Surface any pattern #39 warnings.
+4. Print the final draft inline in the terminal. Every block — the summary body AND the full prose of every inline comment — exactly as it'll be posted, with its separator header. Print the inline in full; never describe it in place of printing it ("I'd pair it with one inline on…"). Craig approves the exact words that post under his name, so the exact words must be on screen. State that the skill ran (e.g. "/voice personal — full pattern walk across summary + 3 inline"). Surface any pattern #39 warnings.
5. Ask: approve, request changes, or open in editor. Wait for an explicit answer. Do not open the file in `emacsclient` (or any editor) by default.
- **Approve** → continue to step 6.