@nanobpm/nano-workforce 0.190.0 → 0.191.1

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 (34) hide show
  1. package/.github/workflows/mirror-install-dispatch.yml +6 -6
  2. package/CHANGELOG.md +12 -0
  3. package/app/deliveryGraph.test.ts +447 -0
  4. package/app/deliveryGraph.ts +356 -1
  5. package/app/deliveryGraphCompiler.test.ts +1465 -3
  6. package/app/deliveryGraphCompiler.ts +833 -36
  7. package/app/deliveryGraphDispatch.test.ts +118 -2
  8. package/app/deliveryGraphDispatch.ts +138 -10
  9. package/app/deliveryGraphProposals.test.ts +243 -0
  10. package/app/deliveryGraphProposals.ts +130 -56
  11. package/app/deliveryGraphRun.test.ts +67 -4
  12. package/app/deliveryGraphRun.ts +62 -10
  13. package/app/deliveryHuman.test.ts +79 -2
  14. package/app/deliveryHuman.ts +92 -0
  15. package/app/deliveryRunner.test.ts +21 -0
  16. package/app/deliveryRunner.ts +9 -2
  17. package/app/mergeProtocol.ts +1 -1
  18. package/app/pollUserTasks.test.ts +39 -0
  19. package/app/readiness.test.ts +72 -0
  20. package/app/readiness.ts +234 -8
  21. package/app/service.ts +8 -3
  22. package/db/migrations/113_delivery_graph_run_identity.sql +37 -0
  23. package/db/migrations/114_delivery_graph_proposals_stage_seq.sql +21 -0
  24. package/docs/adr/0001-cross-repo-epics-and-artifact-wait-gates.md +1 -1
  25. package/docs/adr/0002-escalations-are-user-tasks-and-forms.md +1 -1
  26. package/docs/adr/0003-epic-base-branch-admission.md +1 -1
  27. package/docs/adr/0004-shared-contract-coordination.md +1 -1
  28. package/docs/adr/0005-agent-authored-delivery-graphs.md +1 -1
  29. package/docs/adr/0006-delivery-units-one-representation.md +1 -1
  30. package/operations/dispatchDeliveryGraph.test.ts +255 -0
  31. package/operations/dispatchDeliveryGraph.ts +156 -5
  32. package/package.json +1 -1
  33. package/workers/merge/worker.test.ts +2 -2
  34. package/workers/merge/worker.ts +1 -1
@@ -6,7 +6,7 @@
6
6
  // • blocked — GitHub refused (conflict / failing gate / perms) → escalate to a human, who
7
7
  // resolves it and replies to retry (the process re-arms and re-polls).
8
8
  // HOW it lands is governed by the target repo's published merge protocol (#43): a `mergify-queue`
9
- // repo (e.g. Magikcraft/nano-bpm, auto-merge OFF) is landed by posting `@mergifyio queue` and
9
+ // repo (e.g. nanobpm/nano-bpm, auto-merge OFF) is landed by posting `@mergifyio queue` and
10
10
  // waiting for the queue, NOT a direct `gh pr merge` — which that repo refuses. The actual gh/API
11
11
  // calls live in app/github.ts; this worker records the attempt in the `merges` audit table and
12
12
  // shapes the escalation payload on a block.