vouchington-tooling 0.1.9 → 0.3.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 (93) hide show
  1. package/README.md +45 -5
  2. package/dist/agent-blackboard/index.d.mts +41 -0
  3. package/dist/agent-blackboard/index.mjs +94 -0
  4. package/dist/agent-blackboard/session-id.d.mts +1 -0
  5. package/dist/agent-blackboard/session-id.mjs +5 -0
  6. package/dist/agent-blackboard/snapshot-cleanup-directory.d.mts +11 -0
  7. package/dist/agent-blackboard/snapshot-cleanup-directory.mjs +66 -0
  8. package/dist/agent-blackboard/snapshot-cleanup-key.d.mts +14 -0
  9. package/dist/agent-blackboard/snapshot-cleanup-key.mjs +129 -0
  10. package/dist/agent-blackboard/snapshot-cleanup-receipt.d.mts +6 -0
  11. package/dist/agent-blackboard/snapshot-cleanup-receipt.mjs +117 -0
  12. package/dist/agent-blackboard/snapshot-cleanup-resume.d.mts +16 -0
  13. package/dist/agent-blackboard/snapshot-cleanup-resume.mjs +98 -0
  14. package/dist/agent-blackboard/snapshot-partition-cleanup.d.mts +13 -0
  15. package/dist/agent-blackboard/snapshot-partition-cleanup.mjs +136 -0
  16. package/dist/agent-blackboard/snapshot-partition-format.d.mts +32 -0
  17. package/dist/agent-blackboard/snapshot-partition-format.mjs +151 -0
  18. package/dist/agent-blackboard/snapshot-partition-io.d.mts +4 -0
  19. package/dist/agent-blackboard/snapshot-partition-io.mjs +37 -0
  20. package/dist/agent-blackboard/snapshot-partition-read.d.mts +9 -0
  21. package/dist/agent-blackboard/snapshot-partition-read.mjs +70 -0
  22. package/dist/agent-blackboard/snapshot-partition-validate.d.mts +4 -0
  23. package/dist/agent-blackboard/snapshot-partition-validate.mjs +40 -0
  24. package/dist/agent-blackboard/snapshot-partition-write.d.mts +2 -0
  25. package/dist/agent-blackboard/snapshot-partition-write.mjs +91 -0
  26. package/dist/agent-blackboard/snapshot-partitions.d.mts +10 -0
  27. package/dist/agent-blackboard/snapshot-partitions.mjs +102 -0
  28. package/dist/agent-blackboard/snapshot-types.d.mts +67 -0
  29. package/dist/agent-blackboard/snapshot-types.mjs +1 -0
  30. package/dist/agent-blackboard/snapshot.d.mts +3 -0
  31. package/dist/agent-blackboard/snapshot.mjs +2 -0
  32. package/dist/cli/commands/agent-blackboard.d.mts +3 -0
  33. package/dist/cli/commands/agent-blackboard.mjs +114 -0
  34. package/dist/cli/commands/link-skill.d.mts +5 -0
  35. package/dist/cli/commands/link-skill.mjs +6 -0
  36. package/dist/cli/commands/retrospective-facts.d.mts +1 -0
  37. package/dist/cli/commands/retrospective-facts.mjs +33 -0
  38. package/dist/cli/index.mjs +14 -0
  39. package/dist/cli/parse.d.mts +12 -1
  40. package/dist/cli/parse.mjs +31 -0
  41. package/dist/cli/usage.d.mts +1 -1
  42. package/dist/cli/usage.mjs +14 -0
  43. package/dist/index.d.mts +6 -0
  44. package/dist/index.mjs +3 -0
  45. package/dist/retrospective-facts/exec.d.mts +3 -0
  46. package/dist/retrospective-facts/exec.mjs +19 -0
  47. package/dist/retrospective-facts/foreign.d.mts +2 -0
  48. package/dist/retrospective-facts/foreign.mjs +36 -0
  49. package/dist/retrospective-facts/format.d.mts +10 -0
  50. package/dist/retrospective-facts/format.mjs +64 -0
  51. package/dist/retrospective-facts/index.d.mts +3 -0
  52. package/dist/retrospective-facts/index.mjs +26 -0
  53. package/dist/retrospective-facts/local.d.mts +2 -0
  54. package/dist/retrospective-facts/local.mjs +144 -0
  55. package/dist/retrospective-facts/shared.d.mts +17 -0
  56. package/dist/retrospective-facts/shared.mjs +1 -0
  57. package/dist/skill-discovery/index.d.mts +12 -0
  58. package/dist/skill-discovery/index.mjs +64 -0
  59. package/dist/skill-discovery/manifest.d.mts +15 -0
  60. package/dist/skill-discovery/manifest.mjs +85 -0
  61. package/dist/skill-discovery/target-directory.d.mts +10 -0
  62. package/dist/skill-discovery/target-directory.mjs +126 -0
  63. package/package.json +26 -2
  64. package/scripts/build.mjs +16 -4
  65. package/scripts/gha/harness-admission-lane.sh +26 -0
  66. package/scripts/gha/harness-assert-gates.sh +24 -0
  67. package/skills/agent-workflow/SKILL.md +5 -0
  68. package/skills/agent-workflow/references/evidence-sweep.md +8 -0
  69. package/skills/agent-workflow/references/implementation-and-review.md +9 -0
  70. package/skills/agent-workflow/references/implementation.md +8 -0
  71. package/skills/agent-workflow/references/review.md +7 -0
  72. package/skills/backend-vitest-test-authoring/SKILL.md +15 -0
  73. package/skills/backend-vitest-test-authoring/references/integration-boundaries.md +10 -0
  74. package/skills/dotnet-test-authoring/SKILL.md +16 -0
  75. package/skills/manifest.json +158 -0
  76. package/skills/nextjs-vitest-test-authoring/SKILL.md +15 -0
  77. package/skills/nextjs-vitest-test-authoring/references/framework-boundaries.md +9 -0
  78. package/skills/planning/SKILL.md +3 -0
  79. package/skills/planning/references/impact-discovery.md +9 -0
  80. package/skills/playwright-authoring/SKILL.md +15 -0
  81. package/skills/playwright-authoring/references/browser-reliability.md +9 -0
  82. package/skills/postgres-node-performance-tuning/SKILL.md +15 -0
  83. package/skills/postgres-node-performance-tuning/references/performance-patterns.md +14 -0
  84. package/skills/postgres-partitioning-uuid-v7/SKILL.md +16 -0
  85. package/skills/postgres-partitioning-uuid-v7/references/partition-lifecycle.md +14 -0
  86. package/skills/storybook-authoring/SKILL.md +15 -0
  87. package/skills/storybook-authoring/references/component-coverage.md +9 -0
  88. package/skills/swift-test-authoring/SKILL.md +15 -0
  89. package/skills/swift-test-authoring/references/network-test-doubles.md +9 -0
  90. package/skills/test-authoring/SKILL.md +17 -0
  91. package/skills/test-authoring/references/core-practice.md +10 -0
  92. package/skills/vitest-test-authoring/SKILL.md +15 -0
  93. package/skills/vitest-test-authoring/references/mock-boundaries.md +9 -0
@@ -0,0 +1,14 @@
1
+ # Partition lifecycle
2
+
3
+ UUIDv7 ordering supports range bounds and index-friendly time windows. Generate bounds from time
4
+ instead of extracting timestamps in predicates; use a generated timestamp only when application
5
+ semantics require one. Partition on the range key that queries and retention actually constrain.
6
+
7
+ Create future ranges before writes need them and maintain a default partition only with an explicit
8
+ attachment plan. Before attaching a populated range, prove the default partition excludes that range
9
+ or move conflicting rows; otherwise attachment can scan and lock the default partition.
10
+
11
+ Every primary or unique constraint on a partitioned table must include its partition key. Verify
12
+ pruning with predicates on that key, including joins whose other side needs an equivalent range
13
+ condition. UUIDv7 values are time ordered, not a promise that independently generated identifiers
14
+ have a strict ordering relationship.
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: storybook-authoring
3
+ description: Add maintainable Storybook stories and browser-mode component coverage.
4
+ ---
5
+
6
+ # Storybook authoring
7
+
8
+ Create stories that show meaningful supported states with realistic args and fixtures. Keep story
9
+ data local and deterministic, expose important visual or interaction variants, and add browser-mode
10
+ coverage where it catches behavior unavailable to unit tests. Do not use stories as a substitute for
11
+ end-to-end setup or production data handling.
12
+
13
+ Consumer wrappers own Storybook configuration, exclusions, visual baselines, and commands.
14
+
15
+ Read [component coverage](references/component-coverage.md) for direct stories and browser isolation.
@@ -0,0 +1,9 @@
1
+ # Component coverage
2
+
3
+ Keep a direct story for each supported reusable component state. When a component needs server-only
4
+ modules, request context, or browser-hostile imports, isolate the presentational surface or alias the
5
+ boundary to a deterministic fixture. Test interactive story behavior in browser mode when it owns
6
+ the component contract.
7
+
8
+ Allow story discovery to follow the consumer's module graph and glob configuration. Do not hand
9
+ maintain duplicate registration lists or make module-top-level browser assumptions.
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: swift-test-authoring
3
+ description: Add Swift and SwiftUI tests with deterministic state, networking, and view inspection.
4
+ ---
5
+
6
+ # Swift test authoring
7
+
8
+ Test public behavior with deterministic inputs and injected dependencies. For SwiftUI, inspect or
9
+ interact through the project's supported test approach; for networking, use a protocol-level test
10
+ double and keep request/response synchronization explicit. Avoid sleeps and global state, and keep
11
+ fixtures small enough to make failures readable.
12
+
13
+ Consumer wrappers own test targets, coverage thresholds, view-inspection libraries, and fixture APIs.
14
+
15
+ Read [network test doubles](references/network-test-doubles.md) for cancellation and shared-state safety.
@@ -0,0 +1,9 @@
1
+ # Network test doubles
2
+
3
+ Delayed URLProtocol callbacks must honor `stopLoading()`: guard delivery with synchronized stopped
4
+ state so cancellation cannot call a released client. Keep shared response and captured-request state
5
+ private behind one synchronization boundary, reset related fields atomically, and expose coherent
6
+ snapshots for assertions.
7
+
8
+ Avoid sleeping to coordinate tests. Inject scheduling or await explicit completion so networking,
9
+ view state, and cancellation remain deterministic under parallel execution.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: test-authoring
3
+ description: Write focused, maintainable tests and test fixtures for application or library behavior.
4
+ ---
5
+
6
+ # Test authoring
7
+
8
+ Use the repository's test conventions and runner skill. Test observable behavior, boundary failures,
9
+ and regressions rather than implementation details. Build fixtures through public constructors or
10
+ documented helpers; keep data minimal, explicit, and representative. Add a focused failing test
11
+ before a behavior change when practical, then run the narrowest relevant test and required checks.
12
+
13
+ Do not invent project test commands, coverage targets, mock libraries, or integration environments.
14
+ A consumer wrapper owns those choices.
15
+
16
+ Read [core practice](references/core-practice.md) for the shared boundary, completion, and evidence
17
+ rules before choosing a runner-specific approach.
@@ -0,0 +1,10 @@
1
+ # Core test practice
2
+
3
+ Choose the lowest realistic boundary that can observe the contract. Mock external systems and
4
+ uncontrolled infrastructure; exercise internal module composition where practical. Test behavior,
5
+ failure paths, authorization, and security-relevant validation rather than private calls.
6
+
7
+ Start with a failing test when the behavior is testable. Finish only when the production path, its
8
+ public contract, documentation, and generated artifacts move together. Do not leave placeholders or
9
+ test-only production branches. For every acceptance criterion, retain evidence from a focused test,
10
+ review, or explicitly justified manual check.
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: vitest-test-authoring
3
+ description: Apply Vitest-specific patterns when adding or changing Vitest tests, mocks, or fixtures.
4
+ ---
5
+
6
+ # Vitest test authoring
7
+
8
+ Apply [test-authoring](../test-authoring/SKILL.md) first. Keep tests isolated with Vitest lifecycle
9
+ hooks, restore spies and globals after each test, and prefer deterministic async assertions over
10
+ timing waits. Mock external boundaries rather than modules under test, and use typed factories when
11
+ the project supplies them. Run the selected file or project before broader validation.
12
+
13
+ Consumer wrappers own project selection, mock boundaries, fixture names, and coverage policy.
14
+
15
+ Read [mock boundaries](references/mock-boundaries.md) when adding module mocks or changing exports.
@@ -0,0 +1,9 @@
1
+ # Mock boundaries
2
+
3
+ Mock providers, transports, clocks, and environment boundaries rather than application modules.
4
+ When a module mock is necessary, preserve its runtime export shape, type the factory against the
5
+ real module, and spread actual exports unless omission is intentional. Update static factories when
6
+ the mocked module gains an export.
7
+
8
+ Prefer spies or dependency injection for a narrow seam. Restore mocks, environment, and globals
9
+ after each test so a test cannot alter another test's module graph or process state.