noonsight 0.0.1 → 0.1.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 (114) hide show
  1. package/.claude-plugin/marketplace.json +19 -0
  2. package/.claude-plugin/plugin.json +14 -0
  3. package/README.md +271 -9
  4. package/dist/src/adapters/claude-code/classifier.js +138 -0
  5. package/dist/src/adapters/claude-code/code-edit.js +108 -0
  6. package/dist/src/adapters/claude-code/compat.js +31 -0
  7. package/dist/src/adapters/claude-code/definitions.js +347 -0
  8. package/dist/src/adapters/claude-code/fork.js +132 -0
  9. package/dist/src/adapters/claude-code/hook.js +652 -0
  10. package/dist/src/adapters/claude-code/install.js +186 -0
  11. package/dist/src/adapters/claude-code/launch.js +270 -0
  12. package/dist/src/adapters/claude-code/launcher.js +252 -0
  13. package/dist/src/adapters/claude-code/locations.js +115 -0
  14. package/dist/src/adapters/claude-code/managed.js +75 -0
  15. package/dist/src/adapters/claude-code/plugin-files.js +88 -0
  16. package/dist/src/adapters/claude-code/plugins.js +117 -0
  17. package/dist/src/adapters/claude-code/pointer.js +48 -0
  18. package/dist/src/adapters/claude-code/predict.js +271 -0
  19. package/dist/src/adapters/claude-code/routing.js +88 -0
  20. package/dist/src/adapters/claude-code/settings.js +189 -0
  21. package/dist/src/adapters/claude-code/subagents.js +666 -0
  22. package/dist/src/adapters/claude-code/triggers.js +88 -0
  23. package/dist/src/cli.js +157 -0
  24. package/dist/src/commands/accept.js +115 -0
  25. package/dist/src/commands/check.js +529 -0
  26. package/dist/src/commands/hook.js +73 -0
  27. package/dist/src/commands/init.js +29 -0
  28. package/dist/src/commands/install.js +370 -0
  29. package/dist/src/commands/models.js +213 -0
  30. package/dist/src/commands/receives.js +84 -0
  31. package/dist/src/commands/report.js +386 -0
  32. package/dist/src/commands/resolve.js +32 -0
  33. package/dist/src/commands/run.js +168 -0
  34. package/dist/src/commands/trust.js +70 -0
  35. package/dist/src/commands/usage.js +10 -0
  36. package/dist/src/commands/watch.js +154 -0
  37. package/dist/src/config/create.js +51 -0
  38. package/dist/src/config/json-schema.js +207 -0
  39. package/dist/src/config/load.js +758 -0
  40. package/dist/src/config/paths.js +42 -0
  41. package/dist/src/config/preset-changes.js +190 -0
  42. package/dist/src/config/project.js +354 -0
  43. package/dist/src/config/rewrite.js +112 -0
  44. package/dist/src/core/backtracking.js +330 -0
  45. package/dist/src/core/classify.js +66 -0
  46. package/dist/src/core/normalize.js +24 -0
  47. package/dist/src/core/overlap.js +39 -0
  48. package/dist/src/core/regex-sample.js +278 -0
  49. package/dist/src/core/resolve.js +201 -0
  50. package/dist/src/core/route.js +93 -0
  51. package/dist/src/core/scope.js +77 -0
  52. package/dist/src/core/triggers.js +30 -0
  53. package/dist/src/core/types.js +74 -0
  54. package/dist/src/state/agents.js +200 -0
  55. package/dist/src/state/claims.js +80 -0
  56. package/dist/src/state/files.js +84 -0
  57. package/dist/src/state/installs.js +29 -0
  58. package/dist/src/state/log.js +90 -0
  59. package/dist/src/state/node.js +35 -0
  60. package/dist/src/state/sessions.js +109 -0
  61. package/dist/src/state/triggers.js +57 -0
  62. package/dist/src/version.js +24 -0
  63. package/dist/src/watch/service.js +172 -0
  64. package/dist/src/watch/watcher.js +130 -0
  65. package/dist/src/wording.js +11 -0
  66. package/hooks/hooks.json +118 -0
  67. package/package.json +57 -7
  68. package/presets/claude/SOURCES.md +485 -0
  69. package/presets/claude/preset.json +432 -0
  70. package/presets/claude/rules/fable-5-2/code-ownership.md +1 -0
  71. package/presets/claude/rules/fable-5-2/finish-work.md +1 -0
  72. package/presets/claude/rules/fable-5-2/low-context-report.md +1 -0
  73. package/presets/claude/rules/fable-5-2/progress-updates.md +1 -0
  74. package/presets/claude/rules/haiku-5-5/carry-through.md +1 -0
  75. package/presets/claude/rules/haiku-5-5/search-recent-facts.md +1 -0
  76. package/presets/claude/rules/haiku-5-5/verify-changes.md +1 -0
  77. package/presets/claude/rules/opus-5-5/explore-before-acting.md +1 -0
  78. package/presets/claude/rules/opus-5-5/progress-updates.md +1 -0
  79. package/presets/claude/rules/opus-5-5/unattended-run.md +1 -0
  80. package/presets/claude/rules/sonnet-5-5/carry-through.md +1 -0
  81. package/presets/claude/rules/sonnet-5-5/check-current-facts.md +1 -0
  82. package/presets/claude/rules/sonnet-5-5/ideas-first.md +1 -0
  83. package/presets/claude/rules/sonnet-5-5/no-self-review-rounds.md +1 -0
  84. package/presets/claude/rules/sonnet-5-5/stay-in-scope.md +1 -0
  85. package/presets/claude/rules/sonnet-5-5/verify-changes.md +1 -0
  86. package/presets/claude/versions/1.3.0/preset.json +432 -0
  87. package/presets/claude/versions/1.3.0/rules/fable-5-2/code-ownership.md +1 -0
  88. package/presets/claude/versions/1.3.0/rules/fable-5-2/finish-work.md +1 -0
  89. package/presets/claude/versions/1.3.0/rules/fable-5-2/low-context-report.md +1 -0
  90. package/presets/claude/versions/1.3.0/rules/fable-5-2/progress-updates.md +1 -0
  91. package/presets/claude/versions/1.3.0/rules/haiku-5-5/carry-through.md +1 -0
  92. package/presets/claude/versions/1.3.0/rules/haiku-5-5/search-recent-facts.md +1 -0
  93. package/presets/claude/versions/1.3.0/rules/haiku-5-5/verify-changes.md +1 -0
  94. package/presets/claude/versions/1.3.0/rules/opus-5-5/explore-before-acting.md +1 -0
  95. package/presets/claude/versions/1.3.0/rules/opus-5-5/progress-updates.md +1 -0
  96. package/presets/claude/versions/1.3.0/rules/opus-5-5/unattended-run.md +1 -0
  97. package/presets/claude/versions/1.3.0/rules/sonnet-5-5/carry-through.md +1 -0
  98. package/presets/claude/versions/1.3.0/rules/sonnet-5-5/check-current-facts.md +1 -0
  99. package/presets/claude/versions/1.3.0/rules/sonnet-5-5/ideas-first.md +1 -0
  100. package/presets/claude/versions/1.3.0/rules/sonnet-5-5/no-self-review-rounds.md +1 -0
  101. package/presets/claude/versions/1.3.0/rules/sonnet-5-5/stay-in-scope.md +1 -0
  102. package/presets/claude/versions/1.3.0/rules/sonnet-5-5/verify-changes.md +1 -0
  103. package/schema/noonsight-project.schema.json +394 -0
  104. package/schema/noonsight.schema.json +425 -0
  105. package/schema/preset.schema.json +194 -0
  106. package/scripts/noonsight +68 -0
  107. package/skills/accept/SKILL.md +11 -0
  108. package/skills/check/SKILL.md +11 -0
  109. package/skills/models/SKILL.md +11 -0
  110. package/skills/report/SKILL.md +11 -0
  111. package/skills/resolve/SKILL.md +12 -0
  112. package/skills/setup/SKILL.md +15 -0
  113. package/skills/trust/SKILL.md +12 -0
  114. package/skills/untrust/SKILL.md +12 -0
@@ -0,0 +1,432 @@
1
+ {
2
+ "$schema": "../../schema/preset.schema.json",
3
+ "id": "claude",
4
+ "version": "1.3.0",
5
+ "claude_code": {
6
+ "version": "2.1.325",
7
+ "checked": "2026-11-16"
8
+ },
9
+ "scopes": {
10
+ "investigate": {
11
+ "description": "Open-ended investigation: diagnosing a root cause, debugging an outage, deciding an architecture, or other long work of many steps.",
12
+ "source": {
13
+ "url": "https://code.claude.com/docs/en/model-config",
14
+ "section": "Work with Fable",
15
+ "date": "2026-11-16"
16
+ }
17
+ },
18
+ "build": {
19
+ "description": "Implementation that needs reasoning: a fix whose cause or solution is not obvious, a change of contract, or a large refactor.",
20
+ "source": {
21
+ "url": "https://platform.claude.com/docs/en/about-claude/models/choosing-a-model",
22
+ "section": "Model selection matrix",
23
+ "date": "2026-11-16"
24
+ }
25
+ },
26
+ "review": {
27
+ "description": "Review of code, or of a result that is already done.",
28
+ "source": {
29
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5-5",
30
+ "section": "Capabilities relevant to prompting",
31
+ "date": "2026-11-16"
32
+ }
33
+ },
34
+ "routine": {
35
+ "description": "A well-scoped change that can be described precisely: a mechanical edit, a configuration change, or documentation.",
36
+ "source": {
37
+ "url": "https://www.anthropic.com/claude-sonnet-5-5",
38
+ "section": "Opening paragraphs, before the Performance heading",
39
+ "date": "2026-11-16"
40
+ }
41
+ },
42
+ "digest": {
43
+ "description": "Reading material that already exists and condensing it: a summary, an extraction, a classification, or a search.",
44
+ "source": {
45
+ "url": "https://platform.claude.com/docs/en/models/overview",
46
+ "section": "Latest models",
47
+ "date": "2026-11-16"
48
+ }
49
+ }
50
+ },
51
+ "routing": {
52
+ "table": {
53
+ "investigate": {
54
+ "route": [
55
+ { "model": "fable", "effort": "high" },
56
+ { "model": "opus", "effort": "high" }
57
+ ],
58
+ "basis": "Claude Code describes the fable alias as being for your hardest and longest-running tasks, and the Fable 5.2 guide says high suits hard coding, research, agentic work and long unattended runs. Opus at high comes second, for a configuration that does not declare Fable, whose usage can bill to usage credits.",
59
+ "sources": [
60
+ { "url": "https://code.claude.com/docs/en/model-config", "section": "Model aliases", "date": "2026-11-16" },
61
+ { "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-2", "section": "Calibrate effort", "date": "2026-11-16" },
62
+ { "url": "https://code.claude.com/docs/en/model-config", "section": "Fable and usage credits", "date": "2026-11-16" }
63
+ ]
64
+ },
65
+ "build": {
66
+ "route": [{ "model": "opus", "effort": "high" }],
67
+ "basis": "The Fable 5.2 announcement recommends starting with Opus 5.5 for most coding and knowledge tasks, and Claude Code gives high for work where verification matters or edge cases are likely, such as fixing a bug in an existing codebase.",
68
+ "sources": [
69
+ { "url": "https://www.anthropic.com/claude-fable-and-mythos-5-2", "section": "When to use Claude Fable 5.2 and Mythos 5.2", "date": "2026-11-16" },
70
+ { "url": "https://code.claude.com/docs/en/model-config", "section": "Choose an effort level", "date": "2026-11-16" }
71
+ ]
72
+ },
73
+ "review": {
74
+ "route": [{ "model": "opus", "effort": "high" }],
75
+ "basis": "The Opus 5.5 guide reports stronger code review, with more bugs caught and fewer false alarms, and Claude Code gives high for work where verification matters.",
76
+ "sources": [
77
+ { "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5-5", "section": "Capabilities relevant to prompting", "date": "2026-11-16" },
78
+ { "url": "https://code.claude.com/docs/en/model-config", "section": "Choose an effort level", "date": "2026-11-16" }
79
+ ]
80
+ },
81
+ "routine": {
82
+ "route": [{ "model": "sonnet", "effort": "medium" }],
83
+ "basis": "Sonnet 5.5 is described as strongest at well-scoped everyday tasks, and its guide says to start at medium for well-specified agentic coding tasks.",
84
+ "sources": [
85
+ { "url": "https://www.anthropic.com/claude-sonnet-5-5", "section": "Opening paragraphs, before the Performance heading", "date": "2026-11-16" },
86
+ { "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5", "section": "Calibrate effort", "date": "2026-11-16" }
87
+ ]
88
+ },
89
+ "digest": {
90
+ "route": {
91
+ "launcher": [{ "model": "sonnet", "effort": "medium" }],
92
+ "subagents": [{ "model": "haiku", "effort": "medium" }]
93
+ },
94
+ "basis": "Haiku 5.5 is described as pairing well with Opus 5.5 and Sonnet 5.5 as a subagent, while those two remain better choices for complex agentic coding tasks, so a session that digests runs on Sonnet and a subagent on Haiku. The Haiku 5.5 guide makes medium the starting point and warns that at low it is more likely to skip a search, stop early or skip a check.",
95
+ "sources": [
96
+ { "url": "https://www.anthropic.com/claude-haiku-5-5", "section": "Opening paragraphs, before the Performance heading; Further updates", "date": "2026-11-16" },
97
+ { "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-haiku-5-5", "section": "Use effort to control thinking", "date": "2026-11-16" },
98
+ { "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5", "section": "Calibrate effort", "date": "2026-11-16" }
99
+ ]
100
+ }
101
+ }
102
+ },
103
+ "models": {
104
+ "claude-fable-5-2": {
105
+ "rules": [
106
+ {
107
+ "id": "fable-5-2/finish-work",
108
+ "file": "rules/fable-5-2/finish-work.md",
109
+ "scopes": [
110
+ "investigate",
111
+ "build"
112
+ ],
113
+ "where": [
114
+ "subagent"
115
+ ],
116
+ "source": {
117
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-2",
118
+ "section": "Finish the whole task",
119
+ "date": "2026-11-16"
120
+ },
121
+ "effect": "In replays of recorded sessions from an agentic coding product at medium effort, a version of this text left about half as many sessions ending with work that could have been continued.",
122
+ "cost": "Output tokens rose by about 30 percent."
123
+ },
124
+ {
125
+ "id": "fable-5-2/low-context-report",
126
+ "file": "rules/fable-5-2/low-context-report.md",
127
+ "scopes": [
128
+ "*"
129
+ ],
130
+ "where": [
131
+ "unattended",
132
+ "subagent"
133
+ ],
134
+ "source": {
135
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-2",
136
+ "section": "Make reports easy to follow",
137
+ "date": "2026-11-16"
138
+ },
139
+ "effect": "On agentic tasks, final reports were less dense and used fewer semicolons; on workflow automation tasks, sentences were shorter.",
140
+ "cost": "Not reported by the source."
141
+ },
142
+ {
143
+ "id": "fable-5-2/code-ownership",
144
+ "file": "rules/fable-5-2/code-ownership.md",
145
+ "scopes": [
146
+ "build"
147
+ ],
148
+ "where": [
149
+ "session",
150
+ "unattended"
151
+ ],
152
+ "enabled": false,
153
+ "source": {
154
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-2",
155
+ "section": "Say who owns the code",
156
+ "date": "2026-11-16"
157
+ },
158
+ "effect": "On small coding tasks, duplicated code was consolidated into one shared function in about 75 percent of runs, against under 10 percent without the sentence.",
159
+ "cost": "Output tokens rose by about 70 to 80 percent, and the model made changes nobody asked for, many of them new tests and documentation, and in some runs changed how an existing feature behaves."
160
+ },
161
+ {
162
+ "id": "fable-5-2/progress-updates",
163
+ "file": "rules/fable-5-2/progress-updates.md",
164
+ "scopes": [
165
+ "*"
166
+ ],
167
+ "where": [
168
+ "session"
169
+ ],
170
+ "enabled": false,
171
+ "source": {
172
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-2",
173
+ "section": "Keep users informed during long turns: Signal intent",
174
+ "date": "2026-11-16"
175
+ },
176
+ "effect": "On coding tasks, the model wrote a message before its first tool call in every run.",
177
+ "cost": "Output tokens per task rose by roughly 20 percent."
178
+ }
179
+ ]
180
+ },
181
+ "claude-opus-5-5": {
182
+ "rules": [
183
+ {
184
+ "id": "opus-5-5/unattended-run",
185
+ "file": "rules/opus-5-5/unattended-run.md",
186
+ "scopes": [
187
+ "*"
188
+ ],
189
+ "where": [
190
+ "unattended"
191
+ ],
192
+ "source": {
193
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5-5",
194
+ "section": "Unattended agentic runs",
195
+ "date": "2026-11-16"
196
+ },
197
+ "effect": "Fewer turns that end early in unattended agent loops: the model carries on where it would otherwise stop to check in. The source says to leave it out where someone is there to answer.",
198
+ "cost": "Somewhat more tool calls and output tokens per task; the source gives no figure."
199
+ },
200
+ {
201
+ "id": "opus-5-5/progress-updates",
202
+ "file": "rules/opus-5-5/progress-updates.md",
203
+ "scopes": [
204
+ "*"
205
+ ],
206
+ "where": [
207
+ "session"
208
+ ],
209
+ "enabled": false,
210
+ "source": {
211
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5-5",
212
+ "section": "User-facing progress updates (the third lever)",
213
+ "date": "2026-11-16"
214
+ },
215
+ "effect": "More frequent and predictable updates, such as a line of intent before the first tool call and a recap at the end; helps most where a person is in the loop.",
216
+ "cost": "Not reported by the source."
217
+ },
218
+ {
219
+ "id": "opus-5-5/explore-before-acting",
220
+ "file": "rules/opus-5-5/explore-before-acting.md",
221
+ "scopes": [
222
+ "*"
223
+ ],
224
+ "where": [
225
+ "session",
226
+ "unattended"
227
+ ],
228
+ "enabled": false,
229
+ "source": {
230
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5-5",
231
+ "section": "Explore context in multiapp workflows",
232
+ "date": "2026-11-16"
233
+ },
234
+ "effect": "On automation tasks across several connected apps, noticeably more tasks were completed correctly, at medium and at max effort.",
235
+ "cost": "Slightly more tool calls and tokens. Because the model acts on what it finds, keep untrusted content out of what it searches."
236
+ }
237
+ ]
238
+ },
239
+ "claude-sonnet-5-5": {
240
+ "rules": [
241
+ {
242
+ "id": "sonnet-5-5/carry-through",
243
+ "file": "rules/sonnet-5-5/carry-through.md",
244
+ "scopes": [
245
+ "*"
246
+ ],
247
+ "where": [
248
+ "unattended",
249
+ "subagent"
250
+ ],
251
+ "source": {
252
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5",
253
+ "section": "Steer initiative and scope: Carrying work through",
254
+ "date": "2026-11-16"
255
+ },
256
+ "effect": "At low and medium effort, the model carries more of the work through instead of checking in before it is done.",
257
+ "cost": "Sessions at low and medium effort run longer and cost more; the source gives no figure."
258
+ },
259
+ {
260
+ "id": "sonnet-5-5/stay-in-scope",
261
+ "file": "rules/sonnet-5-5/stay-in-scope.md",
262
+ "scopes": [
263
+ "routine"
264
+ ],
265
+ "where": [
266
+ "session",
267
+ "unattended",
268
+ "subagent"
269
+ ],
270
+ "source": {
271
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5",
272
+ "section": "Steer initiative and scope: Unrequested additions when coding",
273
+ "date": "2026-11-16"
274
+ },
275
+ "effect": "Fewer tests, documentation and supporting files that nobody asked for; at xhigh and max effort, smaller changes overall. The source notes that most teams welcome these additions, so the rule only applies to well-scoped changes.",
276
+ "cost": "Not reported by the source."
277
+ },
278
+ {
279
+ "id": "sonnet-5-5/verify-changes",
280
+ "file": "rules/sonnet-5-5/verify-changes.md",
281
+ "scopes": [
282
+ "investigate",
283
+ "build",
284
+ "routine"
285
+ ],
286
+ "where": [
287
+ "session",
288
+ "unattended",
289
+ "subagent"
290
+ ],
291
+ "triggers": [
292
+ "code-edit"
293
+ ],
294
+ "source": {
295
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5",
296
+ "section": "Verification on coding tasks",
297
+ "date": "2026-11-16"
298
+ },
299
+ "effect": "At low effort, skipped or superficial checks became rare, with no measurable change in task quality.",
300
+ "cost": "Slightly higher cost per task."
301
+ },
302
+ {
303
+ "id": "sonnet-5-5/no-self-review-rounds",
304
+ "file": "rules/sonnet-5-5/no-self-review-rounds.md",
305
+ "scopes": [
306
+ "build",
307
+ "routine"
308
+ ],
309
+ "where": [
310
+ "session",
311
+ "unattended",
312
+ "subagent"
313
+ ],
314
+ "enabled": false,
315
+ "source": {
316
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5",
317
+ "section": "Steer initiative and scope: Thoroughness at xhigh and max effort",
318
+ "date": "2026-11-16"
319
+ },
320
+ "effect": "On coding tasks at max effort, the model stopped launching reviewer subagents, with no change in quality; review rounds the main agent starts itself became less frequent. It only matters at xhigh and max effort.",
321
+ "cost": "Session cost fell by about a third: a saving, not a cost."
322
+ },
323
+ {
324
+ "id": "sonnet-5-5/ideas-first",
325
+ "file": "rules/sonnet-5-5/ideas-first.md",
326
+ "scopes": [
327
+ "*"
328
+ ],
329
+ "where": [
330
+ "session"
331
+ ],
332
+ "enabled": false,
333
+ "source": {
334
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5",
335
+ "section": "Steer initiative and scope: Open-ended requests",
336
+ "date": "2026-11-16"
337
+ },
338
+ "effect": "On open-ended requests, the model gives ideas or a plan and stops, instead of starting to build.",
339
+ "cost": "Not reported by the source."
340
+ },
341
+ {
342
+ "id": "sonnet-5-5/check-current-facts",
343
+ "file": "rules/sonnet-5-5/check-current-facts.md",
344
+ "scopes": [
345
+ "investigate",
346
+ "digest"
347
+ ],
348
+ "where": [
349
+ "session",
350
+ "unattended",
351
+ "subagent"
352
+ ],
353
+ "enabled": false,
354
+ "source": {
355
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5",
356
+ "section": "Tool use in chat and knowledge work",
357
+ "date": "2026-11-16"
358
+ },
359
+ "effect": "The model searches for details that may have changed since its training instead of answering from training knowledge; matters most for research and support work.",
360
+ "cost": "Not reported by the source."
361
+ }
362
+ ]
363
+ },
364
+ "claude-haiku-5-5": {
365
+ "rules": [
366
+ {
367
+ "id": "haiku-5-5/carry-through",
368
+ "file": "rules/haiku-5-5/carry-through.md",
369
+ "scopes": [
370
+ "*"
371
+ ],
372
+ "where": [
373
+ "unattended",
374
+ "subagent"
375
+ ],
376
+ "source": {
377
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-haiku-5-5",
378
+ "section": "Prevent early stopping in long agent prompts",
379
+ "date": "2026-11-16"
380
+ },
381
+ "effect": "Fewer early stops that hand the task back to the user, which appear with a long coding-agent system prompt at low effort.",
382
+ "cost": "Not reported for the text. For comparison, raising effort from low to medium roughly halved early stopping and more than doubled output tokens."
383
+ },
384
+ {
385
+ "id": "haiku-5-5/verify-changes",
386
+ "file": "rules/haiku-5-5/verify-changes.md",
387
+ "scopes": [
388
+ "investigate",
389
+ "build",
390
+ "routine"
391
+ ],
392
+ "where": [
393
+ "session",
394
+ "unattended",
395
+ "subagent"
396
+ ],
397
+ "triggers": [
398
+ "code-edit"
399
+ ],
400
+ "source": {
401
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-haiku-5-5",
402
+ "section": "Tell coding agents to verify their changes",
403
+ "date": "2026-11-16"
404
+ },
405
+ "effect": "The model checked its changes more often, and its performance improved.",
406
+ "cost": "More tokens; the source gives no figure."
407
+ },
408
+ {
409
+ "id": "haiku-5-5/search-recent-facts",
410
+ "file": "rules/haiku-5-5/search-recent-facts.md",
411
+ "scopes": [
412
+ "investigate",
413
+ "digest"
414
+ ],
415
+ "where": [
416
+ "session",
417
+ "unattended",
418
+ "subagent"
419
+ ],
420
+ "enabled": false,
421
+ "source": {
422
+ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-haiku-5-5",
423
+ "section": "Accurate search results",
424
+ "date": "2026-11-16"
425
+ },
426
+ "effect": "More searches on questions whose answers had changed; on prompts that need no search, it added searches in only 0 to 3 percent of tries. The source pairs it with today's date in the context.",
427
+ "cost": "Only the extra searches; the source gives no other figure."
428
+ }
429
+ ]
430
+ }
431
+ }
432
+ }
@@ -0,0 +1 @@
1
+ The user has made you the owner and long-term maintainer of this code base, and its design is yours to decide. Improving its structure while you work, for example folding duplicated code into a single shared function, is part of the job.
@@ -0,0 +1 @@
1
+ The user expects the whole task to be finished before your turn ends. An ended turn means the work halts until someone asks again, so a reply that lists the remaining steps, offers to go on or waits for a go-ahead leaves owed work undone; take the next step instead. Ordinary obstacles (errors, timeouts, locked files, empty results, tools that fail) are diagnosed first and, unless they are real blockers, worked around with the access at hand: retry, correct the request, or switch to another tool or source. A blocker someone set on purpose, such as a file marked as off limits, access that was withheld or a safety guardrail, is respected: report it plainly and find another safe route to the goal. Stopping before the end is justified only when the task cannot advance without input, or when the blocker is deliberate. Confirmation is still required before risky or destructive actions.
@@ -0,0 +1 @@
1
+ Whoever reads your final report did not see the tool calls, the reasoning or the files behind it, and may arrive from unrelated work. The user wants the report to be understood without that context: the main points first, plain words, complete and short sentences with one idea each, active voice, and one consistent name for each thing. Labels or abbreviations invented while working are replaced with a plain description. Related ideas read as a short paragraph, and bullets hold only separate items. Leave out detail the reader does not need, but keep everything needed to act on the report.
@@ -0,0 +1 @@
1
+ The user follows your work live. A single line before your first tool call says what you are going to do, and short notes along the way keep the user oriented. The turn ends with a brief recap that works on its own (what you learned, what you changed, what remains), so that a reader who sees only that last message understands where things stand.
@@ -0,0 +1 @@
1
+ The user wants the work carried to the end of everything they asked for; pausing to ask is for when you truly cannot continue without the user, or right before a risky step. Once the requested work is done and checked, report it and stop. New features, documentation or refactors nobody requested stay out; if one seems useful, suggest it in the report rather than adding it.
@@ -0,0 +1 @@
1
+ Your training data stops well before today's date. Records, office holders, prices, versions, regulations and anything called the latest may have changed since, so search for them before answering, even when you feel certain. Facts that cannot change need no search. When the right answer depends on the user's location, put their country or region in the query.
@@ -0,0 +1 @@
1
+ A code change that can be executed, built or type-checked gets a real check that exercises it before it is called done: the project's test suite, its type checker or its build, or a run of the changed command. Checking only the syntax does not count, and neither does a check command that never started. If all that is lacking is the dependencies the project declares, install those with the project's own package manager and lockfile (npm install, or pip install -r requirements.txt, for example), not with sudo or the system's package manager, unless the user said not to. Only when no real check is possible here does the report say which check was skipped and why, in place of calling the change done.
@@ -0,0 +1 @@
1
+ Before changing anything, the user wants you to look around widely with tool calls: open the messages, documents, spreadsheet tabs and records in the connected apps that might bear on the task, including ones the request never names, and act on what you learn there.
@@ -0,0 +1 @@
1
+ The user follows your work live: one line of intent comes before your first tool call, and the turn ends with a short recap of what you did, what you found and what you need from the user.
@@ -0,0 +1 @@
1
+ This session runs with nobody watching. Any message without a tool call ends your turn, and the work then waits until someone asks again. While work the user asked for is still owed, the user does not want the turn to end in any of these four ways: a recap that names the next step without starting it; an offer to continue unless the user objects; a set of decisions handed to the user although, by your own assessment, none of them holds up the remaining work; or stopping to report because the turn grew long or a milestone was reached. Status notes and your recommendations on open questions are welcome inside the same message as your next tool call, and everything that does not hinge on an answer keeps moving. The only stops the user wants are those where nothing can proceed without them, or where the obstacle is protected from you on purpose. Confirmation is still required before risky or destructive actions.
@@ -0,0 +1 @@
1
+ The user wants the work carried to the end of everything they asked for. Pausing to ask is for when you truly cannot continue without the user, or right before a risky step; confirming a plan, a question you could settle yourself, or finishing one part of a multipart task is no reason to stop. The user's own rules on risky or irreversible actions still hold.
@@ -0,0 +1 @@
1
+ Details that may differ from what you learned in training, such as what is permitted, required or charged, are confirmed with the search tool even when you are confident. Researched work, such as a report or a comparison, draws on current sources instead of training knowledge.
@@ -0,0 +1 @@
1
+ A request for ideas, options or a plan is answered with exactly that, and then the turn stops: nothing is built or changed until the user gives the go-ahead.
@@ -0,0 +1 @@
1
+ Once the requested work is done and its checks pass, the user wants a report and a stop. Do not begin further review or hardening passes on your own initiative, and start reviewer subagents only if the user asked for a review. If a deeper review looks worthwhile, recommend it in the report.
@@ -0,0 +1 @@
1
+ Once the requested work is done and checked, the user wants a report and a stop. Features, tests, files, documentation or refactors nobody requested stay out of the change; if one seems useful, suggest it in the report rather than adding it.
@@ -0,0 +1 @@
1
+ A code change that can be executed, built or type-checked gets a real check that exercises it before it is called done: the project's test suite, its type checker or its build, or a run of the changed command. Checking only the syntax does not count, and neither does a check command that never started. If all that is lacking is the dependencies the project declares, install those with the project's own package manager and lockfile (npm install, or pip install -r requirements.txt, for example), not with sudo or the system's package manager, unless the user said not to. Only when no real check is possible here does the report say which check was skipped and why, in place of calling the change done.