agent-personalizer 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -1
- package/CONTRIBUTING.md +3 -3
- package/README.md +12 -10
- package/RELEASING.md +8 -7
- package/SECURITY.md +1 -1
- package/bin/agent-personalizer.js +21 -32
- package/bin/cli-util.cjs +28 -0
- package/bin/global.cjs +4 -4
- package/bin/install-plan.cjs +4 -3
- package/bin/learn.cjs +10 -3
- package/bin/sessions.cjs +195 -35
- package/bin/uninstall.cjs +3 -3
- package/check/gate.cjs +116 -17
- package/docs/guarantees.md +1 -1
- package/docs/install.md +6 -6
- package/docs/learning.md +7 -7
- package/docs/paste-guide.md +8 -6
- package/docs/tiers.md +1 -1
- package/hooks/README.md +17 -1
- package/hooks/gemini-cli/session-start.sh +15 -0
- package/llms.txt +6 -4
- package/package.json +6 -3
- package/render/onboarding.cjs +30 -47
- package/render/render.cjs +24 -15
- package/rules/00-read-the-profile-first.md +3 -0
- package/rules/20-one-owner-per-rule.md +3 -0
- package/rules/30-folder-index-is-part-of-the-change.md +3 -0
- package/rules/40-sign-every-edit.md +4 -1
- package/skills/agent-personalizer/SKILL.md +104 -0
- package/templates/GEMINI.md +30 -0
- package/examples/freelance-illustrator/.agent-personalizer.json +0 -57
- package/examples/freelance-illustrator/AGENTS.md +0 -244
- package/examples/freelance-illustrator/AGENT_ONBOARDING.md +0 -67
- package/examples/freelance-illustrator/CLAUDE.md +0 -248
- package/examples/freelance-illustrator/LEARNED.md +0 -14
- package/examples/freelance-illustrator/USER.md +0 -54
- package/examples/freelance-illustrator/notes/README.md +0 -39
- package/examples/freelance-illustrator/notes/decisions.md +0 -18
- package/examples/freelance-illustrator/notes/inbox/2026-09-03-shot-list-for-six-prints.md +0 -14
- package/examples/freelance-illustrator/notes/inbox/README.md +0 -19
- package/examples/freelance-illustrator/notes/sessions/2026-W36.md +0 -41
- package/examples/freelance-illustrator/rules/00-read-the-profile-first.md +0 -24
- package/examples/freelance-illustrator/rules/10-evidence-before-assertion.md +0 -24
- package/examples/freelance-illustrator/rules/20-one-owner-per-rule.md +0 -24
- package/examples/freelance-illustrator/rules/30-folder-index-is-part-of-the-change.md +0 -26
- package/examples/freelance-illustrator/rules/40-sign-every-edit.md +0 -25
- package/examples/freelance-illustrator/rules/50-output-style.md +0 -21
- package/examples/freelance-illustrator/rules/60-act-or-ask.md +0 -30
- package/examples/freelance-illustrator/rules/65-ask-before-it-repeats.md +0 -18
- package/examples/freelance-illustrator/rules/70-their-words-point-at-the-thing.md +0 -15
- package/examples/freelance-illustrator/rules/80-symptoms-are-not-causes.md +0 -15
- package/examples/freelance-illustrator/rules/90-surface-what-they-cant-see.md +0 -15
- package/examples/freelance-illustrator/rules/README.md +0 -61
- package/examples/lab-technician/.agent-personalizer.json +0 -38
- package/examples/lab-technician/AGENTS.md +0 -243
- package/examples/lab-technician/AGENT_ONBOARDING.md +0 -64
- package/examples/lab-technician/CLAUDE.md +0 -247
- package/examples/lab-technician/LEARNED.md +0 -14
- package/examples/lab-technician/USER.md +0 -53
- package/examples/lab-technician/notes/README.md +0 -26
- package/examples/lab-technician/notes/decisions.md +0 -4
- package/examples/lab-technician/notes/inbox/2026-10-06-observation-table.md +0 -3
- package/examples/lab-technician/notes/inbox/README.md +0 -7
- package/examples/lab-technician/notes/sessions/2026-W41.md +0 -7
- package/examples/lab-technician/rules/00-read-the-profile-first.md +0 -24
- package/examples/lab-technician/rules/10-evidence-before-assertion.md +0 -24
- package/examples/lab-technician/rules/20-one-owner-per-rule.md +0 -24
- package/examples/lab-technician/rules/30-folder-index-is-part-of-the-change.md +0 -26
- package/examples/lab-technician/rules/40-sign-every-edit.md +0 -25
- package/examples/lab-technician/rules/50-output-style.md +0 -21
- package/examples/lab-technician/rules/60-act-or-ask.md +0 -30
- package/examples/lab-technician/rules/65-ask-before-it-repeats.md +0 -18
- package/examples/lab-technician/rules/70-their-words-point-at-the-thing.md +0 -15
- package/examples/lab-technician/rules/80-symptoms-are-not-causes.md +0 -15
- package/examples/lab-technician/rules/90-surface-what-they-cant-see.md +0 -15
- package/examples/lab-technician/rules/README.md +0 -61
- package/examples/product-designer/.agent-personalizer.json +0 -38
- package/examples/product-designer/AGENTS.md +0 -243
- package/examples/product-designer/AGENT_ONBOARDING.md +0 -63
- package/examples/product-designer/CLAUDE.md +0 -247
- package/examples/product-designer/LEARNED.md +0 -14
- package/examples/product-designer/USER.md +0 -53
- package/examples/product-designer/notes/README.md +0 -26
- package/examples/product-designer/notes/decisions.md +0 -4
- package/examples/product-designer/notes/inbox/2026-10-06-cancellation-wording.md +0 -8
- package/examples/product-designer/notes/inbox/README.md +0 -7
- package/examples/product-designer/notes/sessions/2026-W41.md +0 -7
- package/examples/product-designer/rules/00-read-the-profile-first.md +0 -24
- package/examples/product-designer/rules/10-evidence-before-assertion.md +0 -24
- package/examples/product-designer/rules/20-one-owner-per-rule.md +0 -24
- package/examples/product-designer/rules/30-folder-index-is-part-of-the-change.md +0 -26
- package/examples/product-designer/rules/40-sign-every-edit.md +0 -25
- package/examples/product-designer/rules/50-output-style.md +0 -21
- package/examples/product-designer/rules/60-act-or-ask.md +0 -30
- package/examples/product-designer/rules/65-ask-before-it-repeats.md +0 -18
- package/examples/product-designer/rules/70-their-words-point-at-the-thing.md +0 -15
- package/examples/product-designer/rules/80-symptoms-are-not-causes.md +0 -15
- package/examples/product-designer/rules/90-surface-what-they-cant-see.md +0 -15
- package/examples/product-designer/rules/README.md +0 -61
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# rules/
|
|
2
|
-
|
|
3
|
-
One rule per file. Each file is the owning copy of that rule; everything else points here. `render/render.cjs` turns these files plus `USER.md` into the per-AI instruction files.
|
|
4
|
-
|
|
5
|
-
Install levels 1 and 2 render the Core 5: `00-read-the-profile-first.md`, `10-evidence-before-assertion.md`, `50-output-style.md`, `60-act-or-ask.md` and `65-ask-before-it-repeats.md`. Level 3 copies all eleven rules here for editing and renders them with the existing surface and preference filters; the signature rule still follows the signature preference. The source rule files below remain the full set.
|
|
6
|
-
|
|
7
|
-
## Format
|
|
8
|
-
|
|
9
|
-
```markdown
|
|
10
|
-
---
|
|
11
|
-
id: 10-evidence-before-assertion # matches the filename
|
|
12
|
-
title: Evidence before assertion
|
|
13
|
-
inject: false # true = also emitted by the session-start contract (few!)
|
|
14
|
-
surfaces: [claude, agents, gemini, chatgpt, prompt] # which renders include it
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## universal
|
|
18
|
-
The rule, stated for any AI. No tool names, no paths, no personal detail.
|
|
19
|
-
End with one line starting "In practice:" that says the rule in plain words for
|
|
20
|
-
someone new to this.
|
|
21
|
-
|
|
22
|
-
## personal
|
|
23
|
-
Your curation of the rule: how it applies to you specifically. Omitted from the
|
|
24
|
-
plain system-prompt render, which is meant to be shareable.
|
|
25
|
-
|
|
26
|
-
## binding:claude
|
|
27
|
-
Tool names, paths, hook names that make the rule concrete for this one AI.
|
|
28
|
-
Add binding:agents, binding:gemini, binding:chatgpt as needed. A missing
|
|
29
|
-
binding is fine; an empty universal block is not.
|
|
30
|
-
|
|
31
|
-
## origin
|
|
32
|
-
Written after: the failure that produced this rule, in two or three lines.
|
|
33
|
-
Prevents: the failure it stops, in one line.
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Ordering
|
|
37
|
-
|
|
38
|
-
Files render in filename order. The two-digit prefix is the order; leave gaps.
|
|
39
|
-
|
|
40
|
-
## Writing a new rule
|
|
41
|
-
|
|
42
|
-
1. Name the failure first. A rule without an origin block is a preference wearing a uniform.
|
|
43
|
-
2. State it in the `universal` block without a single tool name. If you cannot, it is a binding, not a rule.
|
|
44
|
-
3. Decide whether it needs injection. Most do not. Injection is for rules that lose arguments to tools at the moment of decision.
|
|
45
|
-
4. Run `node render/render.cjs --dir .`, then the same command with `--check`.
|
|
46
|
-
|
|
47
|
-
## The rules that ship here
|
|
48
|
-
|
|
49
|
-
| File | Rule | Inject |
|
|
50
|
-
|---|---|---|
|
|
51
|
-
| `00-read-the-profile-first.md` | Read `USER.md` before anything else | yes |
|
|
52
|
-
| `10-evidence-before-assertion.md` | Read the source before stating a fact about the user's setup | no |
|
|
53
|
-
| `20-one-owner-per-rule.md` | Never restate; link to the owner | no |
|
|
54
|
-
| `30-folder-index-is-part-of-the-change.md` | A write to a folder corrects its README in the same pass | no |
|
|
55
|
-
| `40-sign-every-edit.md` | One signature line, overwritten | no |
|
|
56
|
-
| `50-output-style.md` | Lead with the answer, one item per line, no recap | yes |
|
|
57
|
-
| `60-act-or-ask.md` | Fetch a missing fact; ask for a missing mandate | no |
|
|
58
|
-
| `65-ask-before-it-repeats.md` | Ask once before keeping a repeated correction | yes |
|
|
59
|
-
| `70-their-words-point-at-the-thing.md` | Find the result, problem or quality behind the user's word | no |
|
|
60
|
-
| `80-symptoms-are-not-causes.md` | Measure when the same symptom survives a fix | no |
|
|
61
|
-
| `90-surface-what-they-cant-see.md` | Name one relevant risk, cost, faster path or stale assumption | no |
|