input-kanban 0.0.16 → 0.0.18
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.en.md +115 -74
- package/README.md +113 -82
- package/RELEASE_NOTES.md +31 -0
- package/bin/input-kanban.js +188 -1
- package/docs/input-kanban-cli-README.md +41 -0
- package/docs/input-kanban-cli-skill.md +241 -0
- package/docs/input-kanban-prepare.md +93 -0
- package/package.json +3 -1
- package/skills/input-kanban-prepare/SKILL.md +97 -0
- package/src/orchestrator.js +4 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# input-kanban-prepare
|
|
2
|
+
|
|
3
|
+
Use this skill when a task discussed in an external Agent conversation needs to be handed off to `input-kanban` for execution.
|
|
4
|
+
|
|
5
|
+
This skill prepares an execution-ready `task.md`. It does not execute the task and does not decide final acceptance.
|
|
6
|
+
|
|
7
|
+
## Non-Negotiable Rules
|
|
8
|
+
|
|
9
|
+
- Evidence first: inspect relevant code, specs, history, docs, or user-provided context before writing the handoff.
|
|
10
|
+
- Do not invent requirements, files, or acceptance criteria.
|
|
11
|
+
- Every acceptance criterion must be verifiable by a human, command, artifact, or clear inspection step.
|
|
12
|
+
- Every expected artifact must include how to verify it.
|
|
13
|
+
- If the task is ambiguous, ask clarifying questions before preparing the handoff.
|
|
14
|
+
- Do not output an `input-kanban submit` command until the handoff passes the quality gate.
|
|
15
|
+
|
|
16
|
+
## Workflow
|
|
17
|
+
|
|
18
|
+
1. Restate the goal in one or two sentences.
|
|
19
|
+
2. Identify non-goals and scope boundaries.
|
|
20
|
+
3. Collect evidence and context references.
|
|
21
|
+
4. Write acceptance criteria as checkable bullets.
|
|
22
|
+
5. Identify expected artifacts and verification methods.
|
|
23
|
+
6. Suggest batches only when order or safety matters.
|
|
24
|
+
7. List risks, assumptions, and open questions.
|
|
25
|
+
8. Run the quality gate.
|
|
26
|
+
9. Output the final `task.md` and a recommended submit command.
|
|
27
|
+
|
|
28
|
+
## Required `task.md` Shape
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
# Task
|
|
32
|
+
|
|
33
|
+
## Goal
|
|
34
|
+
|
|
35
|
+
...
|
|
36
|
+
|
|
37
|
+
## Non-Goals
|
|
38
|
+
|
|
39
|
+
- ...
|
|
40
|
+
|
|
41
|
+
## Acceptance Criteria
|
|
42
|
+
|
|
43
|
+
- [ ] ...
|
|
44
|
+
- [ ] ...
|
|
45
|
+
|
|
46
|
+
## Expected Artifacts
|
|
47
|
+
|
|
48
|
+
- Path: `...`
|
|
49
|
+
Verify: ...
|
|
50
|
+
|
|
51
|
+
## Context References
|
|
52
|
+
|
|
53
|
+
- `...`
|
|
54
|
+
|
|
55
|
+
## Execution Hints
|
|
56
|
+
|
|
57
|
+
### Suggested Batches
|
|
58
|
+
|
|
59
|
+
- Batch: ...
|
|
60
|
+
Reason: ...
|
|
61
|
+
Max parallel: ...
|
|
62
|
+
Tasks:
|
|
63
|
+
- ...
|
|
64
|
+
|
|
65
|
+
## Risks and Assumptions
|
|
66
|
+
|
|
67
|
+
- ...
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Quality Gate
|
|
71
|
+
|
|
72
|
+
Before producing the submit command, confirm:
|
|
73
|
+
|
|
74
|
+
- The goal is concrete.
|
|
75
|
+
- The scope is bounded.
|
|
76
|
+
- Acceptance criteria are testable or inspectable.
|
|
77
|
+
- Expected artifacts have verification methods.
|
|
78
|
+
- Batch hints explain why ordering or parallelism matters.
|
|
79
|
+
- Context references point to real files, notes, specs, or user-provided material.
|
|
80
|
+
- Risks and unknowns are explicit.
|
|
81
|
+
|
|
82
|
+
If any item fails, do not submit. Ask for clarification or improve the handoff.
|
|
83
|
+
|
|
84
|
+
## Recommended Submit Command
|
|
85
|
+
|
|
86
|
+
Prefer plan approval for external handoffs:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
input-kanban submit --task-file task.md --plan-approval
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Use `--json` when another tool needs structured output:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
input-kanban --json status <runId>
|
|
96
|
+
input-kanban --json result <runId>
|
|
97
|
+
```
|
package/src/orchestrator.js
CHANGED
|
@@ -381,6 +381,10 @@ Rules:
|
|
|
381
381
|
- Include exact output/artifact expectations in each worker prompt.
|
|
382
382
|
- Default worker sandbox for this run is ${state.workerSandbox || 'workspace-write'}; use that sandbox unless a task has a specific safety reason to be stricter.
|
|
383
383
|
- If the input already contains task sections, preserve their ids when practical.
|
|
384
|
+
- If the input contains structured handoff sections such as Goal, Acceptance Criteria, Expected Artifacts, Context References, Execution Hints, Risks, or Suggested Batches, treat them as the execution contract.
|
|
385
|
+
- Do not change the user's goal or acceptance criteria. Convert the contract into safe batches, concrete worker prompts, and expectedArtifacts.
|
|
386
|
+
- Use provided expected artifacts and verification notes to make each worker task and the final judge easier to verify.
|
|
387
|
+
- If a handoff is incomplete, make conservative assumptions explicit inside worker prompts instead of silently inventing scope.
|
|
384
388
|
|
|
385
389
|
User task:
|
|
386
390
|
${taskText}
|