haiku-method 2.3.0 → 3.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.
- package/.claude-plugin/plugin.json +1 -1
- package/.mcp.json +6 -6
- package/CHANGELOG.md +13 -0
- package/VALIDATION.md +9 -6
- package/bin/haiku +504 -454
- package/data/archetypes.json +172 -172
- package/harnesses/cursor.json +7 -7
- package/harnesses/gemini-cli.json +7 -7
- package/harnesses/windsurf.json +7 -7
- package/hooks/hooks.json +72 -72
- package/lib/capture-playwright-worker.js +118 -112
- package/package.json +1 -1
- package/schemas/providers/hubspot.schema.json +10 -8
- package/schemas/providers/jira.schema.json +3 -1
- package/schemas/providers/openpencil.schema.json +10 -1
- package/schemas/providers/salesforce.schema.json +10 -8
- package/schemas/providers/stack-alerting.schema.json +7 -1
- package/schemas/providers/stack-monitoring.schema.json +8 -1
- package/schemas/settings.schema.json +112 -22
- package/skills/migrate/SKILL.md +20 -3
- package/studios/software/examples/add-oauth-login/sequence.ts +1164 -119
- package/studios/software/examples/add-oauth-login/stages/design/state.json +5 -8
- package/studios/software/examples/add-oauth-login/stages/development/state.json +9 -9
- package/studios/software/examples/add-oauth-login/stages/inception/state.json +10 -10
- package/studios/software/examples/add-oauth-login/stages/operations/state.json +5 -7
- package/studios/software/examples/add-oauth-login/stages/product/state.json +5 -7
- package/studios/software/examples/add-oauth-login/stages/security/state.json +5 -8
package/.mcp.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.1.0] - 2026-04-30
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Agent now receives prior-rejection context when retrying failed units, enabling it to learn from previous attempts and avoid repeating mistakes in subsequent bolts.
|
|
13
|
+
|
|
14
|
+
## [3.0.0] - 2026-04-30
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
- `migrate` now requires you to explicitly specify an intent slug or use `--all` instead of inferring the target.
|
|
18
|
+
- `migrate` runs in dry-run mode by default so you can preview changes before applying them with `--execute`.
|
|
19
|
+
- `migrate` will not run on a dirty working tree, preventing accidental data loss.
|
|
20
|
+
|
|
8
21
|
## [2.3.0] - 2026-04-30
|
|
9
22
|
|
|
10
23
|
### Added
|
package/VALIDATION.md
CHANGED
|
@@ -231,7 +231,7 @@ These must ALWAYS be true regardless of studio, stage, or user action.
|
|
|
231
231
|
|
|
232
232
|
**Trigger:** User `/clear`s without stop hook, or starts a new session.
|
|
233
233
|
|
|
234
|
-
- [ ]
|
|
234
|
+
- [ ] First `haiku_run_next` call returns full context (state, active stage/phase/hat/bolt)
|
|
235
235
|
- [ ] Intent, stage, and unit state reconstructed from frontmatter and state.json
|
|
236
236
|
- [ ] `haiku_run_next` returns the correct action based on persisted state
|
|
237
237
|
- [ ] No work is lost — committed artifacts survive context resets
|
|
@@ -241,10 +241,14 @@ These must ALWAYS be true regardless of studio, stage, or user action.
|
|
|
241
241
|
|
|
242
242
|
## Scenario 10: Migration from AI-DLC
|
|
243
243
|
|
|
244
|
-
**Trigger:**
|
|
244
|
+
**Trigger:** User invokes `/haiku:migrate` (or runs `haiku migrate` directly). Migration is never automatic — see SessionStart in Scenario 13.
|
|
245
245
|
|
|
246
|
-
- [ ] `
|
|
247
|
-
- [ ] `haiku migrate
|
|
246
|
+
- [ ] Bare `haiku migrate` is rejected with a candidate list and usage hint
|
|
247
|
+
- [ ] `haiku migrate <slug>` defaults to dry-run; nothing is written
|
|
248
|
+
- [ ] `haiku migrate <slug> --apply` writes only after user approval (skill enforces dry-run-then-confirm)
|
|
249
|
+
- [ ] `--apply` refuses to run on a dirty git tree unless `--allow-dirty`
|
|
250
|
+
- [ ] `--all` refuses if positional slugs are also passed (contradictory scopes)
|
|
251
|
+
- [ ] Merged sub-intent slugs (e.g. `foo-dev`) are rejected with a hint at the base slug (`foo`)
|
|
248
252
|
- [ ] Completed intents: migrated as historical records with checked criteria
|
|
249
253
|
- [ ] Active intents: intent.md + knowledge migrated, stages reset for fresh start
|
|
250
254
|
- [ ] Migrated intents include `stages:` field from studio definition
|
|
@@ -288,8 +292,7 @@ These must ALWAYS be true regardless of studio, stage, or user action.
|
|
|
288
292
|
**Trigger:** Various Claude Code lifecycle events.
|
|
289
293
|
|
|
290
294
|
### SessionStart
|
|
291
|
-
|
|
292
|
-
- [ ] `ensure-deps`: no-op (Node is the only dependency)
|
|
295
|
+
No SessionStart hooks are registered. `inject-context` and `ensure-deps` were removed in `c0357289` — the orchestrator returns equivalent context on the first `haiku_run_next` call, and `.ai-dlc/` migration is now an explicit user action via `/haiku:migrate` (never automatic).
|
|
293
296
|
|
|
294
297
|
### PreToolUse
|
|
295
298
|
- [ ] `redirect-plan-mode`: blocks EnterPlanMode, suggests `/haiku:start`
|