agent-personalizer 0.7.1 → 0.8.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.
Files changed (88) hide show
  1. package/CHANGELOG.md +28 -1
  2. package/CLA.md +1 -1
  3. package/README.md +25 -14
  4. package/SECURITY.md +3 -1
  5. package/bin/agent-personalizer.js +79 -105
  6. package/bin/install-plan.cjs +3 -0
  7. package/bin/known-hashes.json +54 -0
  8. package/bin/learn.cjs +185 -0
  9. package/bin/sessions.cjs +392 -0
  10. package/bin/uninstall.cjs +30 -4
  11. package/check/gate.cjs +4 -3
  12. package/docs/README.md +2 -1
  13. package/docs/companions.md +2 -2
  14. package/docs/guarantees.md +13 -3
  15. package/docs/install.md +28 -18
  16. package/docs/learning.md +99 -0
  17. package/docs/paste-guide.md +4 -4
  18. package/docs/tiers.md +4 -4
  19. package/examples/freelance-illustrator/.agent-personalizer.json +3 -3
  20. package/examples/freelance-illustrator/AGENTS.md +67 -3
  21. package/examples/freelance-illustrator/AGENT_ONBOARDING.md +4 -7
  22. package/examples/freelance-illustrator/CLAUDE.md +67 -3
  23. package/examples/freelance-illustrator/LEARNED.md +14 -0
  24. package/examples/freelance-illustrator/USER.md +6 -1
  25. package/examples/freelance-illustrator/rules/00-read-the-profile-first.md +1 -1
  26. package/examples/freelance-illustrator/rules/65-ask-before-it-repeats.md +18 -0
  27. package/examples/freelance-illustrator/rules/70-their-words-point-at-the-thing.md +15 -0
  28. package/examples/freelance-illustrator/rules/80-symptoms-are-not-causes.md +15 -0
  29. package/examples/freelance-illustrator/rules/90-surface-what-they-cant-see.md +15 -0
  30. package/examples/freelance-illustrator/rules/README.md +59 -0
  31. package/examples/lab-technician/.agent-personalizer.json +38 -0
  32. package/examples/lab-technician/AGENTS.md +243 -0
  33. package/examples/lab-technician/AGENT_ONBOARDING.md +64 -0
  34. package/examples/lab-technician/CLAUDE.md +247 -0
  35. package/examples/lab-technician/LEARNED.md +14 -0
  36. package/examples/lab-technician/USER.md +53 -0
  37. package/examples/lab-technician/notes/README.md +26 -0
  38. package/examples/lab-technician/notes/decisions.md +4 -0
  39. package/examples/lab-technician/notes/inbox/2026-10-06-observation-table.md +3 -0
  40. package/examples/lab-technician/notes/inbox/README.md +7 -0
  41. package/examples/lab-technician/notes/sessions/2026-W41.md +7 -0
  42. package/examples/lab-technician/rules/00-read-the-profile-first.md +24 -0
  43. package/examples/lab-technician/rules/10-evidence-before-assertion.md +24 -0
  44. package/examples/lab-technician/rules/20-one-owner-per-rule.md +24 -0
  45. package/examples/lab-technician/rules/30-folder-index-is-part-of-the-change.md +26 -0
  46. package/examples/lab-technician/rules/40-sign-every-edit.md +25 -0
  47. package/examples/lab-technician/rules/50-output-style.md +21 -0
  48. package/examples/lab-technician/rules/60-act-or-ask.md +30 -0
  49. package/examples/lab-technician/rules/65-ask-before-it-repeats.md +18 -0
  50. package/examples/lab-technician/rules/70-their-words-point-at-the-thing.md +15 -0
  51. package/examples/lab-technician/rules/80-symptoms-are-not-causes.md +15 -0
  52. package/examples/lab-technician/rules/90-surface-what-they-cant-see.md +15 -0
  53. package/examples/lab-technician/rules/README.md +59 -0
  54. package/examples/product-designer/.agent-personalizer.json +38 -0
  55. package/examples/product-designer/AGENTS.md +243 -0
  56. package/examples/product-designer/AGENT_ONBOARDING.md +63 -0
  57. package/examples/product-designer/CLAUDE.md +247 -0
  58. package/examples/product-designer/LEARNED.md +14 -0
  59. package/examples/product-designer/USER.md +53 -0
  60. package/examples/product-designer/notes/README.md +26 -0
  61. package/examples/product-designer/notes/decisions.md +4 -0
  62. package/examples/product-designer/notes/inbox/2026-10-06-cancellation-wording.md +8 -0
  63. package/examples/product-designer/notes/inbox/README.md +7 -0
  64. package/examples/product-designer/notes/sessions/2026-W41.md +7 -0
  65. package/examples/product-designer/rules/00-read-the-profile-first.md +24 -0
  66. package/examples/product-designer/rules/10-evidence-before-assertion.md +24 -0
  67. package/examples/product-designer/rules/20-one-owner-per-rule.md +24 -0
  68. package/examples/product-designer/rules/30-folder-index-is-part-of-the-change.md +26 -0
  69. package/examples/product-designer/rules/40-sign-every-edit.md +25 -0
  70. package/examples/product-designer/rules/50-output-style.md +21 -0
  71. package/examples/product-designer/rules/60-act-or-ask.md +30 -0
  72. package/examples/product-designer/rules/65-ask-before-it-repeats.md +18 -0
  73. package/examples/product-designer/rules/70-their-words-point-at-the-thing.md +15 -0
  74. package/examples/product-designer/rules/80-symptoms-are-not-causes.md +15 -0
  75. package/examples/product-designer/rules/90-surface-what-they-cant-see.md +15 -0
  76. package/examples/product-designer/rules/README.md +59 -0
  77. package/hooks/README.md +1 -1
  78. package/llms.txt +6 -2
  79. package/package.json +2 -2
  80. package/render/onboarding.cjs +111 -45
  81. package/render/render.cjs +60 -12
  82. package/rules/00-read-the-profile-first.md +1 -1
  83. package/rules/65-ask-before-it-repeats.md +18 -0
  84. package/rules/70-their-words-point-at-the-thing.md +15 -0
  85. package/rules/80-symptoms-are-not-causes.md +15 -0
  86. package/rules/90-surface-what-they-cant-see.md +15 -0
  87. package/rules/README.md +4 -0
  88. package/templates/LEARNED.md +11 -0
@@ -0,0 +1,15 @@
1
+ ---
2
+ id: 80-symptoms-are-not-causes
3
+ title: Symptoms are not causes
4
+ inject: false
5
+ surfaces: [claude, agents, gemini, chatgpt, prompt]
6
+ ---
7
+
8
+ ## universal
9
+ The user describes what they see. On the second unchanged report, measure instead of re-fixing. Find evidence that can distinguish the possible causes before changing the work again.
10
+
11
+ In practice: a repeated symptom calls for a measurement, then a fix.
12
+
13
+ ## origin
14
+ Written after: the same "it looks dull" report came three times. Three fixes made it worse; one measurement found the cause.
15
+ Prevents: repeating a fix for a cause that was never checked.
@@ -0,0 +1,15 @@
1
+ ---
2
+ id: 90-surface-what-they-cant-see
3
+ title: Surface what they can't see
4
+ inject: false
5
+ surfaces: [claude, agents, gemini, chatgpt, prompt]
6
+ ---
7
+
8
+ ## universal
9
+ Give one line on a risk, cost, faster path or stale assumption the user did not ask about, inside the task's scope. Use evidence and make the next step usable.
10
+
11
+ In practice: show the relevant thing the user could not see from their side.
12
+
13
+ ## origin
14
+ Written after: an AI completed the requested change while a stale assumption made the result unusable. It had enough evidence to warn the user and stayed silent because nobody asked.
15
+ Prevents: correct execution that misses a visible problem within the task.
package/rules/README.md CHANGED
@@ -53,3 +53,7 @@ Files render in filename order. The two-digit prefix is the order; leave gaps.
53
53
  | `40-sign-every-edit.md` | One signature line, overwritten | no |
54
54
  | `50-output-style.md` | Lead with the answer, one item per line, no recap | yes |
55
55
  | `60-act-or-ask.md` | Fetch a missing fact; ask for a missing mandate | no |
56
+ | `65-ask-before-it-repeats.md` | Ask once before keeping a repeated correction | yes |
57
+ | `70-their-words-point-at-the-thing.md` | Find the result, problem or quality behind the user's word | no |
58
+ | `80-symptoms-are-not-causes.md` | Measure when the same symptom survives a fix | no |
59
+ | `90-surface-what-they-cant-see.md` | Name one relevant risk, cost, faster path or stale assumption | no |
@@ -0,0 +1,11 @@
1
+ # LEARNED.md
2
+
3
+ Entries you approve belong here. Each line names where it came from and whether you approved it. You own this file; re-runs and uninstall keep it.
4
+
5
+ Format: `- [said|inferred, confirmed|proposed|declined] <entry> (evidence: <short evidence>)`. Evidence is optional. Only confirmed entries become instructions. Declined entries stop the question coming back.
6
+
7
+ ## Learned
8
+
9
+ ## Asked
10
+
11
+ Digest ids already discussed, one per line: `- digest: <ISO timestamp>`.