vouchington-tooling 0.23.0 → 0.24.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.
Files changed (60) hide show
  1. package/README.md +76 -4
  2. package/dist/agent-blackboard/client.d.mts +34 -0
  3. package/dist/agent-blackboard/client.mjs +41 -0
  4. package/dist/agent-blackboard/feedback-canonical.d.mts +1 -0
  5. package/dist/agent-blackboard/feedback-canonical.mjs +13 -0
  6. package/dist/agent-blackboard/feedback-codec.d.mts +7 -0
  7. package/dist/agent-blackboard/feedback-codec.mjs +121 -0
  8. package/dist/agent-blackboard/feedback-compose.d.mts +37 -0
  9. package/dist/agent-blackboard/feedback-compose.mjs +109 -0
  10. package/dist/agent-blackboard/feedback-deadline.d.mts +1 -0
  11. package/dist/agent-blackboard/feedback-deadline.mjs +18 -0
  12. package/dist/agent-blackboard/feedback-delivery.d.mts +18 -0
  13. package/dist/agent-blackboard/feedback-delivery.mjs +88 -0
  14. package/dist/agent-blackboard/feedback-fields.d.mts +4 -0
  15. package/dist/agent-blackboard/feedback-fields.mjs +38 -0
  16. package/dist/agent-blackboard/feedback-identity.d.mts +2 -0
  17. package/dist/agent-blackboard/feedback-identity.mjs +29 -0
  18. package/dist/agent-blackboard/feedback-online-error.d.mts +7 -0
  19. package/dist/agent-blackboard/feedback-online-error.mjs +23 -0
  20. package/dist/agent-blackboard/feedback-online.d.mts +2 -0
  21. package/dist/agent-blackboard/feedback-online.mjs +137 -0
  22. package/dist/agent-blackboard/feedback-outbox.d.mts +8 -0
  23. package/dist/agent-blackboard/feedback-outbox.mjs +157 -0
  24. package/dist/agent-blackboard/feedback-types.d.mts +66 -0
  25. package/dist/agent-blackboard/feedback-types.mjs +1 -0
  26. package/dist/agent-blackboard/index.d.mts +16 -39
  27. package/dist/agent-blackboard/index.mjs +35 -81
  28. package/dist/cli/commands/agent-blackboard.mjs +35 -4
  29. package/dist/cli/usage.d.mts +1 -1
  30. package/dist/cli/usage.mjs +3 -1
  31. package/dist/retrospective-facts/coverage.d.mts +6 -0
  32. package/dist/retrospective-facts/coverage.mjs +42 -0
  33. package/dist/retrospective-facts/index.d.mts +3 -0
  34. package/dist/retrospective-facts/index.mjs +18 -1
  35. package/dist/retrospective-transcript/codex.mjs +8 -3
  36. package/dist/retrospective-transcript/index.d.mts +5 -0
  37. package/dist/retrospective-transcript/index.mjs +29 -9
  38. package/dist/session-friction/classify.mjs +25 -14
  39. package/dist/session-friction/coverage-ledger.d.mts +10 -0
  40. package/dist/session-friction/coverage-ledger.mjs +75 -0
  41. package/dist/session-friction/index.d.mts +1 -1
  42. package/dist/session-friction/log-file.d.mts +2 -2
  43. package/dist/session-friction/log-file.mjs +22 -10
  44. package/dist/session-friction/log.mjs +57 -10
  45. package/dist/session-friction/report.mjs +36 -7
  46. package/dist/session-friction/sandbox.mjs +11 -4
  47. package/dist/session-friction/types.d.mts +25 -4
  48. package/dist/workflow-policy/index.d.mts +1 -1
  49. package/dist/workflow-policy/index.mjs +1 -1
  50. package/dist/workflow-policy/permission-declarations.d.mts +14 -0
  51. package/dist/workflow-policy/permission-declarations.mjs +55 -0
  52. package/dist/workflow-policy/permission-inheritance.d.mts +8 -0
  53. package/dist/workflow-policy/permission-inheritance.mjs +88 -0
  54. package/dist/workflow-policy/permission-mismatches.d.mts +4 -1
  55. package/dist/workflow-policy/permission-mismatches.mjs +14 -3
  56. package/docs/workflow-and-compiler.md +18 -1
  57. package/package.json +1 -1
  58. package/skills/blackboard/SKILL.md +34 -14
  59. package/skills/retrospective/SKILL.md +27 -16
  60. package/skills/retrospective-distill/SKILL.md +15 -6
@@ -13,18 +13,38 @@ Use when the current repository provides a journal, blackboard, or equivalent du
13
13
  record. Read local `AGENTS.md` for the provider, credential, retention, and
14
14
  subagent-identity rules.
15
15
 
16
- 1. Append a concise note when a check fails, permission is denied, scope changes, a repeated fix is
17
- needed, or a tool result reveals a reusable gap. Include the finding, affected paths, concrete
18
- evidence, and any tracking reference.
19
- 2. Preserve the provider's required session and parent-session identity.
20
- - Do not invent, guess, print, search for, or persist a credential outside its documented
21
- mechanism.
22
- - When the provider supports repository metadata, keep the cumulative canonical repository list
23
- on that agent's own session. Tag each entry with only the repositories relevant to it.
24
- - Update session metadata before appending. Stop if that update fails.
25
- 3. If the journal service cannot authenticate or persist a mandatory entry, stop and report the
26
- blocker rather than silently substituting a local file or memory.
27
- 4. Read journal entries oldest-first when preparing a retrospective or clustering follow-ups; use
28
- direct evidence rather than reconstructing events from memory.
16
+ 1. Capture consequential observations before filing an issue: failed or recovered checks, denied or
17
+ approved permissions, repeated fixes, scope changes, first-party tool behavior, and architectural
18
+ findings. Record useful resolved outcomes as well as unresolved gaps. Include bounded evidence,
19
+ affected areas, an explicit disposition, and an existing tracking reference when present.
20
+ Journal meaningful skips or bypasses of applicable configured workflows before completion, with
21
+ the owning workflow or command-catalog entrypoint, reason, and observed result/action.
22
+ 2. Use the shared validated envelope with storage `type: journal` or `retrospective`, canonical exact
23
+ entry repositories, stable `sourceEventId`, work outcome, and explicit feedback coverage. Category
24
+ is optional context; it never changes storage type or distillation eligibility. Generate routine
25
+ facts and metadata through the approved composer instead of hand-authoring factual markers.
26
+ 3. Preserve exact provider session and parent identities. Each agent writes only its own session.
27
+ Update that session's cumulative repository union before appending; never infer another repository
28
+ from prose or create a child identity from a model guess.
29
+ 4. Select the repository's trusted mode explicitly. Interactive outages may retain validated,
30
+ sanitized feedback in the bounded durable outbox. Report pending count and delivery state, replay
31
+ with the same source identity, and continue primary work only after persistence succeeds. A full,
32
+ unsafe, or unwritable outbox blocks capture; never evict or silently discard an unsent record.
33
+ 5. Autonomous runners require online session ensure, a fresh admission write, and readback before
34
+ launching an attempt. Terminal reporting preserves work outcome separately from feedback
35
+ coverage and delivery. A filesystem outbox never grants admission or acknowledged completion.
36
+ 6. Use at-least-once delivery with consumer deduplication by exact session/source identity. A
37
+ transport timeout can leave a late durable write; pending or blocked is never an acknowledged
38
+ receipt. Replay verifies matching content before retrying and rejects conflicting source reuse.
39
+ 7. Read journal entries oldest-first for retrospectives. Record explicit none-observed with inspected
40
+ scope, or not-assessed/unavailable with reason, when evidence does not establish a finding. A
41
+ permission request is not proof of approval or denial; localhost refusal is not proof of sandbox
42
+ enforcement. Mark partial capture and dropped counts instead of reporting clean evidence.
29
43
 
30
- Consumer wrapper owns: service, command, note grammar, archival policy, and issue destination.
44
+ Never search for, print, invent, or mint credentials. Durable entries and outbox records contain only
45
+ bounded structured facts or sanitized summaries, never raw command output, transcript content,
46
+ environment dumps, provider payloads, or secrets. Known-secret redaction supplements the author's
47
+ minimization responsibility; it cannot prove arbitrary prose contains no undisclosed secret.
48
+
49
+ Consumer wrappers own service configuration, trusted mode selection, commands, outbox location,
50
+ issue routing, and archival authorization.
@@ -12,20 +12,31 @@ Local policy overrides these defaults; do not reload an already-read adapter or
12
12
  Use at task completion or session close-out when the repository has a retrospective workflow. Read
13
13
  local `AGENTS.md`, and journal guidance first.
14
14
 
15
- 1. Check whether a retrospective already exists. Append only a material delta when local policy
16
- says to append.
17
- 2. Gather verifiable facts from the repository's approved status, validation, issue, and journal
18
- sources. Do not estimate unknown facts from memory or transcripts.
19
- 3. Summarize the outcome, plan-versus-actual differences, validation evidence, recurring friction,
20
- and actionable process improvements. Keep one-off noise separate from a repeatable root cause.
21
- Preserve each source entry's repository attribution when the journal supports it. A retrospective
22
- that spans repositories names every represented repository.
23
- 4. Save through the repository's required durable mechanism. Report the record identifier and any
24
- follow-up decisions.
15
+ 1. Read the agent's own journal oldest-first and check for an existing retrospective. Capture a
16
+ material new observation before filing a follow-up issue. Preserve entry-level repository tags.
17
+ 2. Generate routine repository and transcript facts with the approved composer. Keep exact factual
18
+ section markers generated, preserve unavailable counts, and never replace missing evidence with
19
+ invented zero statistics. Do not paste raw collectors' output or manually reconstruct facts.
20
+ 3. Record work outcome, feedback coverage, and delivery independently. Success, failure,
21
+ cancellation, timeout, no-change, and policy refusal each need truthful terminal reporting.
22
+ Missing or truncated sources are unavailable/partial; durable interactive pending remains pending.
23
+ Autonomous completion requires the controller's acknowledged terminal readback or visible block.
24
+ 4. Report observed first-party tool and architectural behavior with concrete evidence and a
25
+ disposition, including useful resolved outcomes and rejected proposals. None observed requires
26
+ the inspected scope. Not assessed or unavailable requires a reason. Do not turn a plausible
27
+ cause into an observed diagnosis or infer permission decisions from requests.
28
+ For applicable configured tools, report used versus skipped/unavailable with reasons, the owning
29
+ workflow or command-catalog entrypoint, and terminal result/action, especially pr-shepherd and no-mistakes.
30
+ 5. Keep the top five findings or improvements in the human prose. The bounded durable evidence can
31
+ retain additional relevant findings; a prose limit is not permission to silently discard them.
32
+ Separate recurring root causes from one-off noise and preserve existing issue references.
33
+ 6. Save through the shared validated writer. Interactive outages use the approved bounded private
34
+ outbox with visible pending count; failed persistence blocks capture. Autonomous reporting stays
35
+ online and never uses that outbox to authorize an attempt or completion. Report the acknowledged
36
+ record/receipt, or the actual pending/blocked state and next replay action.
25
37
 
26
- Use raw evidence only for local verification. Save only bounded structured facts or redacted
27
- summaries in a durable retrospective; never embed unredacted logs, command output, environment
28
- dumps, provider payloads, or transcript content there.
29
-
30
- Consumer wrappers add transcript access, retention, a report schema, a journal provider, and issue
31
- filing policy. They cannot weaken this minimization boundary.
38
+ Use raw evidence only for local verification. Save only bounded structured facts or redacted summaries
39
+ in durable retrospectives; never embed unredacted logs, command output, environment dumps, provider
40
+ payloads, or transcript content there. Exclude secrets. Consumer wrappers own providers, commands,
41
+ report schema, retention, trusted runner mode, and issue routing; they cannot weaken this minimization
42
+ boundary.
@@ -15,17 +15,26 @@ Use when completed retrospectives or journals should become durable follow-up wo
15
15
  1. Enumerate only completed, eligible session records. For repository-scoped work, filter sessions
16
16
  by repository membership and use only entries attributed to that repository. Leave untagged
17
17
  legacy records unclassified. Do not infer their repository. Leave in-progress sessions intact.
18
- 2. Cluster findings by root cause. Prefer a few broad actionable themes over many narrow issues.
18
+ 2. Validate storage type and the shared envelope independently of optional category. Never repair
19
+ unknown legacy types or repository provenance by inference. Quarantine malformed sessions with
20
+ an explicit reason while processing valid unrelated sessions. Deduplicate at-least-once records
21
+ by exact session/source identity and reject conflicting duplicate content. Retain coverage,
22
+ dropped counts, requested versus observed outcomes, and useful resolved findings.
23
+ 3. Cluster findings by root cause. Prefer a few broad actionable themes over many narrow issues.
19
24
  Treat a finding already linked to an open tracker as context, not a duplicate.
20
- 3. Verify each candidate against the current base. Search existing issues and open changes before
21
- drafting. Skip work that is complete, explicitly rejected, or already covered.
22
- 4. Draft self-contained issues with the problem, concrete proposed work, relevant areas, and
25
+ 4. Verify each candidate against the current base. Search existing issues and open changes before
26
+ drafting. Skip work that is complete, explicitly rejected, or already covered. A first-party version
27
+ bump is not proof of resolution: verify the adopted change against the original finding before
28
+ deferring. Capture a new observation in the journal before filing it.
29
+ 5. Draft self-contained issues with the problem, concrete proposed work, relevant areas, and
23
30
  validation. Route every authorized creation through
24
31
  [github-issue](../github-issue/SKILL.md), including its repository gate, label approval, and
25
32
  denied-external tracking behavior.
26
- 5. Archive only records fully processed across every represented repository, under the repository's
33
+ 6. Archive only records fully processed across every represented repository, under the repository's
27
34
  retention rules. A one-repository pass leaves a multi-repository session active until the other
28
- repositories are reviewed. Report created, updated, skipped, and deferred themes with reasons.
35
+ repositories are reviewed. Report reviewed, fixed, duplicate, deferred, quarantined, and
36
+ actionable dispositions with reasons. Keep the top five themes in human prose without dropping
37
+ underlying findings or unresolved records.
29
38
 
30
39
  Use source records only for local verification and leave them in the repository's approved journal
31
40
  or retention system. Public issue bodies contain only the minimum bounded facts or redacted