sign-off-axi 0.5.0 → 0.5.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 -3
- package/dist/cli.js +249 -42
- package/dist/contract.js +123 -11
- package/dist/store.js +119 -16
- package/fixtures/contract/README.md +2 -2
- package/fixtures/contract/plan.v2/invalid-decisions-recommend-unknown.json +13 -0
- package/fixtures/contract/plan.v2/invalid-next-lines-over-4.json +13 -0
- package/fixtures/contract/plan.v2/invalid-sections-stage-unknown.json +13 -0
- package/fixtures/contract/plan.v2/invalid-understood-missing.json +12 -0
- package/fixtures/contract/plan.v2/invalid-visual-rows-one.json +13 -0
- package/fixtures/contract/plan.v2/valid-full.json +73 -0
- package/fixtures/contract/plan.v2/valid-minimal.json +13 -0
- package/fixtures/contract/report.v3/invalid-next-lines-over-4.json +13 -0
- package/fixtures/contract/report.v3/invalid-sections-stage-unknown.json +13 -0
- package/fixtures/contract/report.v3/invalid-understood-missing.json +12 -0
- package/fixtures/contract/report.v3/invalid-visual-rows-one.json +13 -0
- package/fixtures/contract/report.v3/valid-full.json +53 -0
- package/fixtures/contract/report.v3/valid-minimal.json +13 -0
- package/package.json +1 -1
- package/web/index.html +486 -22
- package/web/plan-template.json +99 -0
- package/web/report-template.json +98 -0
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ A board that fills up with noise stops being read, so the rules sit at the door.
|
|
|
75
75
|
- A question must say why it is asked, what each answer does, which one the agent recommends and what happens if you stay quiet; one that does not is refused with the fix ([the question standard](docs/contract.md#ask-schema-1)).
|
|
76
76
|
- One decision is one card: raising the same question again changes nothing, and `--merge <key>` folds an older card into the better-asked one.
|
|
77
77
|
- Proof posted as a Pass/Fail question is refused, and proof that is mostly text, a placeholder or a test card is refused too: proof goes to Evidence, as a capture of the real product; a report must be a page to tap, not a wall of words.
|
|
78
|
-
- **Dismiss** hides a card from the board, **Undo** brings it back (`sign-off-axi dismiss <key>` and `restore <key>` do the same from a shell).
|
|
78
|
+
- **Dismiss** hides a card from the board, **Undo** brings it back (`sign-off-axi dismiss <key>` and `restore <key>` do the same from a shell). `sign-off-axi dismiss --filer <id>` closes a finished task: every card that id still waits on leaves the board. Evidence and reports leave the main view a day after they were filed and wait under **Archived**; nothing is deleted, and Restore brings one back. A new ask that repeats an open ask on the same decision is refused, and answering one closes its twins.
|
|
79
79
|
|
|
80
80
|
## What you can ask
|
|
81
81
|
|
|
@@ -86,10 +86,11 @@ One line on what the agent runs per kind; the full reference is [docs/question-k
|
|
|
86
86
|
| Yes or no, pick one | `raise --title ... --recommend ...` | buttons, the recommended one first |
|
|
87
87
|
| Design pick (mocks A/B/C) | `post --type design --mock a=... --mock b=... --link a=<url>` | mocks side by side, an Open live link under each option that has a `--link`, a note on any part |
|
|
88
88
|
| Proof update | `post --type evidence --media shot.png` | the capture, its result, Pass / Fail / Needs work |
|
|
89
|
+
| Proof with a file to install | `post --type evidence --media shot.png --attach app.apk` | the capture, and the file with its size and a Download button (any type, up to 1 GB, `SIGN_OFF_ATTACH_MAX_MB` to change) |
|
|
89
90
|
| Explainer video | `post --type explainer --media clip.mp4 --chapter 0:00=Start` | a player with chapter buttons, then Yes or No |
|
|
90
|
-
| Report
|
|
91
|
+
| Report | `report init <folder>`, fill `report.json`, then `post --kind report --from <folder>/report.json` | one scroll: the answer and a picture, what I understood, what I found, the next step; numbers behind Details, Go deeper on every part, who read it and when |
|
|
91
92
|
| Diagram, interactive page | `post --type diagram --view flow.svg` | the picture on the card; interactive pages run sandboxed |
|
|
92
|
-
| Plan | `post --kind plan --from plan.json` |
|
|
93
|
+
| Plan | `report init <folder> --plan`, fill `plan.json`, then `post --kind plan --from plan.json` | the same scroll, plus each decision with my pick and a Go ahead |
|
|
93
94
|
| Sign-in link | `post --type signin --service npm --link <url> --unlocks ...` | an Open button and the time left |
|
|
94
95
|
|
|
95
96
|
## How agents use it
|