snipara-companion 3.2.16 → 3.2.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.md +12 -0
- package/dist/index.js +651 -212
- package/docs/FULL_REFERENCE.md +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -77,6 +77,7 @@ These commands are useful without hosted Snipara:
|
|
|
77
77
|
| `workflow start` / `phase-start` / `phase-commit` / `resume` | Agent continuity that survives compaction |
|
|
78
78
|
| `workflow timeline` / `workflow session` | Append-only local activity log and Session Snapshot V0 |
|
|
79
79
|
| `workflow decisions` / `workflow decide` | Local human decision requests and response receipts |
|
|
80
|
+
| `workflow policy-ledger` / `workflow apply-decisions` | Project Policy review ledger and explicit apply pipeline |
|
|
80
81
|
| `run --emit-policy-decisions` | Project Policy review requests in the agent workflow |
|
|
81
82
|
| `workflow producer-triage` | Ask for human review of unreviewed Producer Loop samples |
|
|
82
83
|
| `workflow producer-report` | Local Producer Loop adoption and calibration report |
|
|
@@ -144,7 +145,9 @@ npx -y snipara-companion lead-plan --from-plan ./project-health-lead-plan.json -
|
|
|
144
145
|
npx -y snipara-companion workflow phase-commit audit --summary "mapped auth impact"
|
|
145
146
|
npx -y snipara-companion workflow producer-triage
|
|
146
147
|
npx -y snipara-companion workflow decisions
|
|
148
|
+
npx -y snipara-companion workflow policy-ledger
|
|
147
149
|
npx -y snipara-companion workflow decide decision-abc123 --choose accept_all --reviewer alice
|
|
150
|
+
npx -y snipara-companion workflow apply-decisions --dry-run
|
|
148
151
|
npx -y snipara-companion workflow timeline
|
|
149
152
|
npx -y snipara-companion workflow timeline --export md
|
|
150
153
|
npx -y snipara-companion workflow session --json
|
|
@@ -193,6 +196,15 @@ opaque refs. Decision requests never resolve by timeout or default, and only
|
|
|
193
196
|
When repeated resolved receipts share the same human choice and rationale,
|
|
194
197
|
`workflow decide` may emit a new review-only policy suggestion decision request;
|
|
195
198
|
it still uses manual apply instructions and never writes policy automatically.
|
|
199
|
+
`workflow policy-ledger` gives the LLM agent a consolidated view of pending,
|
|
200
|
+
approved, refused, modified, and deferred Project Policy decision artifacts,
|
|
201
|
+
plus the exact pending requests it should ask the human about. It is read-only
|
|
202
|
+
and does not apply policy edits.
|
|
203
|
+
After the human resolves a request, `workflow apply-decisions --dry-run` previews
|
|
204
|
+
local follow-up actions for resolved Project Policy receipts. Running
|
|
205
|
+
`workflow apply-decisions` writes only idempotent review artifacts such as local
|
|
206
|
+
policy drafts under `.snipara/policies/drafts/`; it does not activate canonical
|
|
207
|
+
Project Policy silently.
|
|
196
208
|
Other producers such as `outcome-capture preview --emit-decisions`,
|
|
197
209
|
`memory reviews --emit-decisions`, `workflow decision-producer memory`, and
|
|
198
210
|
`workflow decision-producer context-risk` emit requests with their existing apply
|