@iamu-dev/iamu 0.8.0-beta.0 → 0.8.0-beta.2
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/README.md +4 -2
- package/dist/bin.js +13590 -11724
- package/dist/commands/advise.d.ts +4 -2
- package/dist/commands/agent-commands.d.ts +22 -0
- package/dist/commands/browse-actions.d.ts +1 -0
- package/dist/commands/browse-driver.d.ts +30 -6
- package/dist/commands/browse.d.ts +58 -2
- package/dist/commands/cloud-push.d.ts +3 -3
- package/dist/commands/complete.d.ts +21 -0
- package/dist/commands/completion.d.ts +2 -0
- package/dist/commands/context.d.ts +19 -0
- package/dist/commands/dev-script.d.ts +14 -0
- package/dist/commands/doctor.d.ts +6 -0
- package/dist/commands/edit-entity.d.ts +5 -3
- package/dist/commands/evaluate.d.ts +10 -3
- package/dist/commands/finding-stability.d.ts +1 -0
- package/dist/commands/findings.d.ts +9 -0
- package/dist/commands/init.d.ts +14 -5
- package/dist/commands/instructions-walk.d.ts +8 -0
- package/dist/commands/instructions.d.ts +2 -11
- package/dist/commands/list.d.ts +3 -0
- package/dist/commands/match.d.ts +8 -5
- package/dist/commands/new-entity.d.ts +2 -0
- package/dist/commands/new-finding.d.ts +2 -0
- package/dist/commands/persona-today.d.ts +20 -0
- package/dist/commands/preflight.d.ts +4 -2
- package/dist/commands/pull.d.ts +1 -1
- package/dist/commands/set-entity.d.ts +15 -3
- package/dist/commands/skill-command.d.ts +13 -0
- package/dist/commands/step.d.ts +4 -0
- package/dist/commands/summary.d.ts +2 -0
- package/dist/commands/triage.d.ts +15 -0
- package/dist/index.js +13571 -11715
- package/dist/templates/prompts/complete.md +2 -3
- package/dist/templates/prompts/designer.md +10 -4
- package/dist/templates/prompts/persona.md +2 -1
- package/dist/templates/prompts/walk.md +26 -12
- package/dist/templates/skills/iamu-design.md +20 -15
- package/dist/templates/skills/iamu-findings.md +6 -6
- package/dist/templates/skills/iamu-new.md +9 -9
- package/dist/templates/skills/iamu-run.md +66 -42
- package/dist/templates/skills/iamu-setup.md +155 -76
- package/dist/templates/skills/iamu-stage.md +29 -23
- package/dist/templates/skills/iamu-status.md +2 -0
- package/dist/templates.d.ts +1 -1
- package/package.json +3 -3
- package/dist/templates/prompts/evaluate.md +0 -64
|
@@ -19,8 +19,16 @@ export interface SetEntityOptions {
|
|
|
19
19
|
stateApproximation?: string;
|
|
20
20
|
/** `false` clears scenario `state` (Commander defaults it to `true`). */
|
|
21
21
|
state?: boolean;
|
|
22
|
+
/** Scenario bound persona slug, or `false` to clear. */
|
|
23
|
+
persona?: string | false;
|
|
24
|
+
/** Scenario outline slug. */
|
|
25
|
+
outline?: string | false;
|
|
22
26
|
/** Persona access key or testability switching mechanism, or `false` to clear. */
|
|
23
27
|
access?: string | false;
|
|
28
|
+
/** Persona role description. */
|
|
29
|
+
role?: string | false;
|
|
30
|
+
/** Persona disposition / attitude, or `false` to clear. */
|
|
31
|
+
disposition?: string | false;
|
|
24
32
|
/** Capability route prefixes, comma-separated; replaces `paths`, or `false` to clear. */
|
|
25
33
|
paths?: string | false;
|
|
26
34
|
/** Capability route prefix to add (repeatable). */
|
|
@@ -33,6 +41,8 @@ export interface SetEntityOptions {
|
|
|
33
41
|
capability?: string | false;
|
|
34
42
|
/** Outline additional capabilities (comma-separated), or `false` to clear. */
|
|
35
43
|
additionalCapabilities?: string | false;
|
|
44
|
+
/** Outline structural tension, or `false` to clear. */
|
|
45
|
+
tension?: string | false;
|
|
36
46
|
/** Dev startup command, or `false` to clear (testability). */
|
|
37
47
|
devCommand?: string | false;
|
|
38
48
|
/** Authentication strategy (dev_switcher, interactive, test_accounts, public), or `false` to clear (testability). */
|
|
@@ -49,9 +59,9 @@ export interface SetEntityOptions {
|
|
|
49
59
|
jurisdiction?: string | false;
|
|
50
60
|
/** Orientation notes (context). */
|
|
51
61
|
notes?: string | false;
|
|
52
|
-
/**
|
|
62
|
+
/** Description (capability, outline, or context alias for body narrative). */
|
|
53
63
|
description?: string | false;
|
|
54
|
-
/**
|
|
64
|
+
/** Name or title (scenario, persona, outline, capability, context). */
|
|
55
65
|
name?: string | false;
|
|
56
66
|
/** Governing documents/standards (context patch). */
|
|
57
67
|
governedBy?: ContextFrontmatter["governed_by"] | false;
|
|
@@ -59,12 +69,14 @@ export interface SetEntityOptions {
|
|
|
59
69
|
actors?: ContextFrontmatter["actors"] | false;
|
|
60
70
|
/** Domain glossary (context patch). */
|
|
61
71
|
glossary?: ContextFrontmatter["glossary"] | false;
|
|
62
|
-
/** Markdown body narrative
|
|
72
|
+
/** Markdown body narrative. */
|
|
63
73
|
body?: string;
|
|
64
74
|
/** JSON patch file (or - for stdin) containing staging fields. */
|
|
65
75
|
file?: string;
|
|
66
76
|
json?: boolean;
|
|
67
77
|
}
|
|
78
|
+
/** Fields `iamu set <type>` may change, by type (the keys are the types). */
|
|
79
|
+
export declare const SETTABLE: Record<string, readonly (keyof SetEntityOptions)[]>;
|
|
68
80
|
/**
|
|
69
81
|
* `iamu set <type> <slug>` — change the staging fields of an existing
|
|
70
82
|
* entity: a scenario's start path, target and starting state, a
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The command that runs skill `name` (`setup`, `run`, `findings`, …) in
|
|
3
|
+
* `projectRoot`, with `args` appended when given.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```ts
|
|
7
|
+
* skillCommand(root, "setup"); // "/iamu:init" with the plugin enabled
|
|
8
|
+
* skillCommand(root, "run", "maria--handoff"); // "/iamu-run maria--handoff"
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export declare function skillCommand(projectRoot: string, name: string, args?: string): string;
|
|
12
|
+
/** The setup skill for `projectRoot`: what "run setup" means here. */
|
|
13
|
+
export declare function setupSkill(projectRoot: string): string;
|
package/dist/commands/step.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export interface RecordStepInput {
|
|
|
25
25
|
note?: string | null;
|
|
26
26
|
/** Path of an existing screenshot to copy in; a missing file is an error. */
|
|
27
27
|
shot?: string | null;
|
|
28
|
+
/** When true, move `shot` into `screenshots/step-N.png` via rename instead of copying. */
|
|
29
|
+
moveShot?: boolean;
|
|
28
30
|
url?: string | null;
|
|
29
31
|
surface?: string | null;
|
|
30
32
|
grounding?: string | null;
|
|
@@ -77,6 +79,8 @@ export interface StepOptions {
|
|
|
77
79
|
surface?: string;
|
|
78
80
|
grounding?: string;
|
|
79
81
|
maxSteps?: string | number;
|
|
82
|
+
/** Record into a run that is already completed. */
|
|
83
|
+
force?: boolean;
|
|
80
84
|
json?: boolean;
|
|
81
85
|
}
|
|
82
86
|
/**
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** Where a guidance rule written by `iamu triage --scope` applies. */
|
|
2
|
+
export declare const SCOPES: readonly ["project", "outline", "capability"];
|
|
1
3
|
export interface TriageOptions {
|
|
2
4
|
status: string;
|
|
3
5
|
/** Why — the triager's words. Required when dismissing. */
|
|
@@ -18,6 +20,19 @@ export interface TriageOptions {
|
|
|
18
20
|
sweep?: boolean | string;
|
|
19
21
|
json?: boolean;
|
|
20
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* What an addressed finding's fix now waits for: a re-run of its
|
|
25
|
+
* scenario (the persona's), or a designer's review of its screen.
|
|
26
|
+
*/
|
|
27
|
+
export interface AwaitingStep {
|
|
28
|
+
kind: "rerun" | "design_review";
|
|
29
|
+
/** The scenario to re-run (`rerun`). */
|
|
30
|
+
scenario?: string;
|
|
31
|
+
/** The screen to review (`design_review`). */
|
|
32
|
+
screen?: string;
|
|
33
|
+
/** The command that produces the proof. */
|
|
34
|
+
command: string;
|
|
35
|
+
}
|
|
21
36
|
/**
|
|
22
37
|
* Set the triage status of one or more findings. Dismissing as
|
|
23
38
|
* `not_relevant` or `walker_error` also writes a tester guidance rule
|