@unbrained/pm-cli 2026.11.10 → 2026.11.12

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 (190) hide show
  1. package/.agents/skills/pm-test-audit/SKILL.md +2 -1
  2. package/.agents/skills/pm-user/references/ECOSYSTEM_PLANNING.md +2 -1
  3. package/.claude-plugin/marketplace.json +1 -1
  4. package/AGENTS.md +2 -2
  5. package/CHANGELOG.md +31 -0
  6. package/CONTRIBUTING.md +1 -1
  7. package/README.md +1 -1
  8. package/dist/cli/commander-usage.js +2 -2
  9. package/dist/cli/error-guidance.js +3 -3
  10. package/dist/cli/help-json-payload.js +1 -1
  11. package/dist/cli/main.js +4 -4
  12. package/dist/cli/register-mutation.js +2 -2
  13. package/dist/cli/register-operations.js +1 -1
  14. package/dist/cli/runtime/refusal-credential-redaction.js +2 -0
  15. package/dist/cli-bundle/bundle-manifest.json +1 -1
  16. package/dist/cli-bundle/chunks/{chunk-BSJSGDA3.js → chunk-2DUUL53Z.js} +2 -2
  17. package/dist/cli-bundle/chunks/{chunk-YSWD2NXB.js → chunk-2K6GJUW7.js} +2 -2
  18. package/dist/cli-bundle/chunks/{chunk-TBBWPEF5.js → chunk-3DWEBVIK.js} +2 -2
  19. package/dist/cli-bundle/chunks/{chunk-L4WWG2H6.js → chunk-5NGGI7JC.js} +2 -2
  20. package/dist/cli-bundle/chunks/{chunk-U7LILCUN.js → chunk-5NY6EQSX.js} +2 -2
  21. package/dist/cli-bundle/chunks/{chunk-X7NM5HVQ.js → chunk-6ESY4Y2B.js} +2 -2
  22. package/dist/cli-bundle/chunks/{chunk-CZETQYKO.js → chunk-A7L5IEYV.js} +2 -2
  23. package/dist/cli-bundle/chunks/{chunk-5CAMQHEW.js → chunk-EALO2FPM.js} +2 -2
  24. package/dist/cli-bundle/chunks/{chunk-7NAAW5EX.js → chunk-FJNHTBJ2.js} +2 -2
  25. package/dist/cli-bundle/chunks/chunk-FOT5K5OM.js +124 -0
  26. package/dist/cli-bundle/chunks/{chunk-F7P2NZEG.js → chunk-GDS4DC5A.js} +47 -43
  27. package/dist/cli-bundle/chunks/{chunk-F6FBGLR7.js → chunk-GLPUIQDB.js} +2 -2
  28. package/dist/cli-bundle/chunks/{chunk-4FLAKTZW.js → chunk-KJL42AN5.js} +2 -2
  29. package/dist/cli-bundle/chunks/{chunk-FYD6LSJA.js → chunk-L3SA3354.js} +2 -2
  30. package/dist/cli-bundle/chunks/chunk-MR3CRLA7.js +2 -0
  31. package/dist/cli-bundle/chunks/{chunk-NZAFLDSH.js → chunk-OBTU2BHJ.js} +2 -2
  32. package/dist/cli-bundle/chunks/{chunk-4AASUCHO.js → chunk-OFIXSWJS.js} +2 -2
  33. package/dist/cli-bundle/chunks/chunk-PS2YAPXC.js +9 -0
  34. package/dist/cli-bundle/chunks/{chunk-WNEUWDUE.js → chunk-PZI6CR24.js} +46 -46
  35. package/dist/cli-bundle/chunks/{chunk-NNE63MSM.js → chunk-T4UC3ZKL.js} +2 -2
  36. package/dist/cli-bundle/chunks/{chunk-EHDGHFMJ.js → chunk-U7MZIX3D.js} +2 -2
  37. package/dist/cli-bundle/chunks/chunk-UTNPDAID.js +31 -0
  38. package/dist/cli-bundle/chunks/{chunk-OJ2KEDUX.js → chunk-UY7Z3ZHQ.js} +2 -2
  39. package/dist/cli-bundle/chunks/{item-revision-M7KXLQXF.js → item-revision-SYJT6TVZ.js} +2 -2
  40. package/dist/cli-bundle/chunks/item-transaction-YXZ27UC6.js +2 -0
  41. package/dist/cli-bundle/chunks/{mutation-admission-374UR7NI.js → mutation-admission-T57TAVWI.js} +2 -2
  42. package/dist/cli-bundle/chunks/{register-list-query-GSB7PP5P.js → register-list-query-5XZXTPNG.js} +2 -2
  43. package/dist/cli-bundle/chunks/register-mutation-V6WJFL77.js +20 -0
  44. package/dist/cli-bundle/chunks/register-operations-5RAWXY2F.js +2 -0
  45. package/dist/cli-bundle/chunks/{register-setup-QDZ2Y3CI.js → register-setup-HCKCSQWQ.js} +2 -2
  46. package/dist/cli-bundle/chunks/{stage-67WGPKPH.js → stage-VIDXGF3T.js} +2 -2
  47. package/dist/cli-bundle/focused-chunks/{chunk-PAGW6A2X.js → chunk-3FN4ON2Z.js} +2 -2
  48. package/dist/cli-bundle/focused-chunks/chunk-5OCUNAQN.js +2 -0
  49. package/dist/cli-bundle/focused-chunks/chunk-AIYJHVKV.js +44 -0
  50. package/dist/cli-bundle/focused-chunks/{chunk-QHGGO7SY.js → chunk-AXPRCCYM.js} +2 -2
  51. package/dist/cli-bundle/focused-chunks/chunk-BB2GMKRB.js +2 -0
  52. package/dist/cli-bundle/focused-chunks/{chunk-QCHCEFTO.js → chunk-BHYGUVAU.js} +2 -2
  53. package/dist/cli-bundle/focused-chunks/chunk-GAXO2UQX.js +2 -0
  54. package/dist/cli-bundle/focused-chunks/{chunk-3K2MYE7R.js → chunk-GB2N4OM7.js} +2 -2
  55. package/dist/cli-bundle/focused-chunks/{chunk-HTMQDNVC.js → chunk-GBW2EAAG.js} +2 -2
  56. package/dist/cli-bundle/focused-chunks/{chunk-ZBOCYFBE.js → chunk-HIKZYZ26.js} +2 -2
  57. package/dist/cli-bundle/focused-chunks/chunk-IPIFI4NT.js +3 -0
  58. package/dist/cli-bundle/focused-chunks/chunk-KN7RBRRH.js +26 -0
  59. package/dist/cli-bundle/focused-chunks/{chunk-3DWNH72D.js → chunk-LAIN47EJ.js} +2 -2
  60. package/dist/cli-bundle/focused-chunks/{chunk-2SQUWQP3.js → chunk-MK7UQEE5.js} +18 -18
  61. package/dist/cli-bundle/focused-chunks/{chunk-LY3JXL25.js → chunk-NP5C2TQM.js} +2 -2
  62. package/dist/cli-bundle/focused-chunks/{chunk-RFMKS7VD.js → chunk-NSOXVVQX.js} +2 -2
  63. package/dist/cli-bundle/focused-chunks/{chunk-WJHDUON5.js → chunk-NY65XTX7.js} +2 -2
  64. package/dist/cli-bundle/focused-chunks/{chunk-67M7E2Z3.js → chunk-P6KYUJD4.js} +2 -2
  65. package/dist/cli-bundle/focused-chunks/chunk-RXY6BFRW.js +2 -0
  66. package/dist/cli-bundle/focused-chunks/{chunk-2Y4H4LIX.js → chunk-SPAEZKVA.js} +2 -2
  67. package/dist/cli-bundle/focused-chunks/chunk-TZO6L523.js +2 -0
  68. package/dist/cli-bundle/focused-chunks/{chunk-BE2GK2G7.js → chunk-VUNX6NBR.js} +53 -53
  69. package/dist/cli-bundle/focused-chunks/{item-revision-XC4ZJ7MY.js → item-revision-PWJNBW3F.js} +2 -2
  70. package/dist/cli-bundle/focused-chunks/{item-transaction-CVGK4RJP.js → item-transaction-T6HXC3NS.js} +2 -2
  71. package/dist/cli-bundle/focused-chunks/{mutation-admission-N27D5H64.js → mutation-admission-CLPOLSXZ.js} +2 -2
  72. package/dist/cli-bundle/focused-chunks/{stage-KPK2UHVO.js → stage-EKYWEU2Y.js} +2 -2
  73. package/dist/cli-bundle/main.js +32 -32
  74. package/dist/cli-bundle/sdk-authoring.js +1 -1
  75. package/dist/cli-bundle/sdk-contracts.js +2 -2
  76. package/dist/cli-bundle/sdk-core.js +1 -1
  77. package/dist/cli-bundle/sdk-governance.js +1 -1
  78. package/dist/cli-bundle/sdk-graph.js +1 -1
  79. package/dist/cli-bundle/sdk-merge.js +57 -57
  80. package/dist/cli-bundle/sdk-query.js +1 -1
  81. package/dist/cli-bundle/sdk-runtime.js +1 -1
  82. package/dist/cli-bundle/sdk-testing.js +1 -1
  83. package/dist/cli-bundle/sdk.js +12 -12
  84. package/dist/core/item/parse.d.ts +13 -1
  85. package/dist/core/item/parse.js +4 -4
  86. package/dist/core/sentry/instrument.js +1 -1
  87. package/dist/core/shared/secret-rules.d.ts +18 -2
  88. package/dist/core/shared/secret-rules.js +4 -2
  89. package/dist/core/shared/url-credentials.d.ts +37 -0
  90. package/dist/core/shared/url-credentials.js +2 -0
  91. package/dist/core/telemetry/runtime.js +2 -2
  92. package/dist/sdk/agent/command-recovery.js +1 -1
  93. package/dist/sdk/cli-contracts/commander-mutation-options.js +1 -1
  94. package/dist/sdk/cli-contracts/completeness.js +1 -1
  95. package/dist/sdk/cli-contracts/flag-contracts.js +1 -1
  96. package/dist/sdk/cli-contracts/flag-lexicon-contracts.js +1 -1
  97. package/dist/sdk/cli-contracts/tool-schema.d.ts +1 -1
  98. package/dist/sdk/cli-contracts/tool-schema.js +1 -1
  99. package/dist/sdk/command-line.d.ts +1 -1
  100. package/dist/sdk/command-line.js +1 -1
  101. package/dist/sdk/completion/bash.js +1 -1
  102. package/dist/sdk/completion/fish.js +3 -1
  103. package/dist/sdk/completion/zsh.js +3 -1
  104. package/dist/sdk/docs.d.ts +14 -2
  105. package/dist/sdk/docs.js +1 -1
  106. package/dist/sdk/files.d.ts +14 -2
  107. package/dist/sdk/files.js +1 -1
  108. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -1
  109. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +1 -1
  110. package/dist/sdk/governance/boundary-fixtures.d.ts +25 -0
  111. package/dist/sdk/governance/boundary-fixtures.js +1 -1
  112. package/dist/sdk/governance/defect-recurrence.d.ts +8 -1
  113. package/dist/sdk/governance/defect-recurrence.js +2 -2
  114. package/dist/sdk/guide-topics.js +1 -1
  115. package/dist/sdk/index.d.ts +1 -1
  116. package/dist/sdk/index.js +1 -1
  117. package/dist/sdk/lifecycle/dependency-removal.js +2 -0
  118. package/dist/sdk/lifecycle/item-revision.js +1 -1
  119. package/dist/sdk/lifecycle/start-blockers.d.ts +9 -0
  120. package/dist/sdk/lifecycle/start-blockers.js +1 -1
  121. package/dist/sdk/lifecycle/update.d.ts +10 -4
  122. package/dist/sdk/lifecycle/update.js +2 -2
  123. package/dist/sdk/linked-artifacts.d.ts +73 -3
  124. package/dist/sdk/linked-artifacts.js +2 -2
  125. package/dist/sdk/public-surface.json +1 -1
  126. package/dist/sdk/runtime/actions.js +1 -1
  127. package/dist/sdk/test/command-args.js +1 -1
  128. package/dist/sdk/test/execution.d.ts +15 -3
  129. package/dist/sdk/test/execution.js +2 -2
  130. package/docs/AGENT_GUIDE.md +2 -2
  131. package/docs/AGENT_UX_CONTRACTS.md +7 -1
  132. package/docs/BUILD_AND_RELEASE_ACCEPTANCE.md +1 -1
  133. package/docs/CODEX_PLUGIN.md +2 -1
  134. package/docs/COMMANDS.md +16 -9
  135. package/docs/CONFIGURATION.md +16 -0
  136. package/docs/CORPUS_SHAPES.md +1 -1
  137. package/docs/DEFECT_RECURRENCE.md +20 -1
  138. package/docs/MUTATION_INTEGRITY.md +65 -0
  139. package/docs/ONBOARDING.md +1 -1
  140. package/docs/README.md +8 -8
  141. package/docs/SDK.md +46 -0
  142. package/docs/SDK_CONTEXT_INTEGRITY.md +2 -0
  143. package/docs/TESTING.md +1 -1
  144. package/docs/generated/FLAG_LEXICON_BUDGETS.md +6 -6
  145. package/marketplace.json +1 -1
  146. package/package.json +9 -1
  147. package/packages/pm-beads/package.json +1 -1
  148. package/packages/pm-calendar/package.json +1 -1
  149. package/packages/pm-command-kit/package.json +1 -1
  150. package/packages/pm-digital-twin/package.json +1 -1
  151. package/packages/pm-governance-audit/package.json +1 -1
  152. package/packages/pm-guide-shell/package.json +1 -1
  153. package/packages/pm-kanban/package.json +1 -1
  154. package/packages/pm-lifecycle-hooks/package.json +1 -1
  155. package/packages/pm-linked-test-adapters/package.json +1 -1
  156. package/packages/pm-search-advanced/package.json +1 -1
  157. package/packages/pm-templates/package.json +1 -1
  158. package/packages/pm-todos/package.json +1 -1
  159. package/packages/pm-vcs/package.json +1 -1
  160. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  161. package/plugins/pm-claude/package.json +1 -1
  162. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  163. package/plugins/pm-codex/package.json +1 -1
  164. package/plugins/pm-codex/plugin.json +1 -1
  165. package/runtime-dependencies.json +1 -1
  166. package/dist/cli-bundle/chunks/chunk-D727C4RO.js +0 -122
  167. package/dist/cli-bundle/chunks/chunk-T2MNRM3S.js +0 -9
  168. package/dist/cli-bundle/chunks/chunk-UFPLZ6LZ.js +0 -2
  169. package/dist/cli-bundle/chunks/chunk-UL64P6MR.js +0 -31
  170. package/dist/cli-bundle/chunks/item-transaction-4N5P34GO.js +0 -2
  171. package/dist/cli-bundle/chunks/register-mutation-ZBF6ITYK.js +0 -20
  172. package/dist/cli-bundle/chunks/register-operations-PWF6GOHE.js +0 -2
  173. package/dist/cli-bundle/focused-chunks/chunk-56MIAFEN.js +0 -24
  174. package/dist/cli-bundle/focused-chunks/chunk-ALLOWZSH.js +0 -2
  175. package/dist/cli-bundle/focused-chunks/chunk-LWMPQRJT.js +0 -2
  176. package/dist/cli-bundle/focused-chunks/chunk-NZQYHPUN.js +0 -3
  177. package/dist/cli-bundle/focused-chunks/chunk-QK7FX4O5.js +0 -44
  178. package/dist/cli-bundle/focused-chunks/chunk-U7HWWEJ2.js +0 -2
  179. package/dist/cli-bundle/focused-chunks/chunk-UIZVD36C.js +0 -2
  180. package/dist/cli-bundle/focused-chunks/chunk-WK773UVA.js +0 -2
  181. package/docs/CHATGPT_CODEX_PLUGIN_IMPLEMENTATION.md +0 -776
  182. package/docs/CONTEXT_ALGORITHM_PORTFOLIO.md +0 -167
  183. package/docs/DEVELOPMENT_DEPENDENCY_SECURITY.md +0 -246
  184. package/docs/PR_REVIEW_LOOP.md +0 -96
  185. package/docs/RELEASE_LEDGER_RECONCILIATION.md +0 -148
  186. package/docs/RELEASE_RELIABILITY.md +0 -147
  187. package/docs/RELEASING.md +0 -805
  188. package/docs/performance/corpus-shape-comparison.json +0 -1
  189. package/docs/performance/latest-scale-report.json +0 -1
  190. package/docs/performance/scale-100k-report.json +0 -1
@@ -1,167 +0,0 @@
1
- # Context Algorithm Portfolio
2
-
3
- Tracked by [pm-g8t7b9](../.agents/pm/tasks/pm-g8t7b9.toon), [pm-4k6b](../.agents/pm/features/pm-4k6b.toon), and [pm-vvib](../.agents/pm/decisions/pm-vvib.toon).
4
-
5
- This is a navigation index of the historical algorithm ledger and cognitive proposals.
6
- Individual pm items own scope, decisions, experiments, and current evidence.
7
- A shared substrate or an earlier defect fix does not establish that a proposed
8
- ranking mechanism has been implemented. Read each owner live before claiming its state.
9
-
10
- ## Bounded discovery
11
-
12
- ```bash
13
- pm list --all --tags algorithm-proposal --limit 10
14
- pm search "<stable-slug>" --limit 5
15
- pm get <owner-id> --full
16
- pm history <owner-id> --full
17
- ```
18
-
19
- Use the result cursor and omission receipt before making a complete-catalog claim.
20
- The four agent skills route to generated capability references; this portfolio
21
- does not add a new command family or a second execution backlog.
22
-
23
- ## Algorithm ledger
24
-
25
- The 76 mechanisms below retain their original note timestamps and numeric aliases.
26
- An ordinal is ambiguous without its source note; new proposals use stable slugs.
27
- Where two descriptions express one experiment, both slugs resolve to its owner.
28
- Existing acceptance owners retain their original delivery boundary.
29
-
30
- | Stable slug | Historical ordinal | Source note (UTC) | Canonical owner | Disposition |
31
- |---|---|---|---|---|
32
- | `act-r-activation` | 1 | 2026-07-07T15:12:12.161Z | [pm-fr9ok0](../.agents/pm/tasks/pm-fr9ok0.toon) | Proposed experiment |
33
- | `typed-spreading-activation` | 2 | 2026-07-07T15:12:12.161Z | [pm-fdb8e8](../.agents/pm/tasks/pm-fdb8e8.toon) | Proposed experiment |
34
- | `learned-linear-signal-weights` | 3 | 2026-07-07T15:12:12.161Z | [pm-ex5p2u](../.agents/pm/tasks/pm-ex5p2u.toon) | Proposed experiment |
35
- | `submodular-token-selection` | 4 | 2026-07-07T15:12:12.161Z | [pm-oadvw7](../.agents/pm/tasks/pm-oadvw7.toon) | Proposed experiment |
36
- | `reciprocal-rank-fusion` | 5 | 2026-07-07T15:26:05.199Z | [pm-h3no](../.agents/pm/tasks/pm-h3no.toon) | Existing acceptance owner |
37
- | `incremental-signal-fold` | 6 | 2026-07-07T15:26:05.199Z | [pm-801d](../.agents/pm/features/pm-801d.toon) | Existing acceptance owner |
38
- | `quota-bounded-retrieval-funnel` | 7 | 2026-07-07T15:37:10.972Z | [pm-v3grp9](../.agents/pm/tasks/pm-v3grp9.toon) | Proposed experiment |
39
- | `sketch-backed-affinity-state` | 8 | 2026-07-07T15:57:35.738Z | [pm-cxydzq](../.agents/pm/tasks/pm-cxydzq.toon) | Proposed experiment |
40
- | `granularity-adaptive-packing` | 9 | 2026-07-07T16:35:16.531Z | [pm-55ra](../.agents/pm/tasks/pm-55ra.toon) | Existing acceptance owner |
41
- | `structural-analogical-recall` | 10 | 2026-07-07T20:06:11.214Z | [pm-l4a5q9](../.agents/pm/tasks/pm-l4a5q9.toon) | Proposed experiment |
42
- | `open-loop-persistence` | 11 | 2026-07-07T20:26:24.821Z | [pm-u8rjvb](../.agents/pm/tasks/pm-u8rjvb.toon) | Proposed experiment |
43
- | `co-change-precedent-projection` | 12 | 2026-07-08T04:50:57.291Z | [pm-uk74i4](../.agents/pm/tasks/pm-uk74i4.toon) | Proposed experiment |
44
- | `salience-broadcast-habituation` | 13 | 2026-07-08T04:59:00.593Z | [pm-jd2wst](../.agents/pm/tasks/pm-jd2wst.toon) | Proposed experiment |
45
- | `retrieval-contradiction-gating` | 14 | 2026-07-08T22:51:13.305Z | [pm-xfta80](../.agents/pm/tasks/pm-xfta80.toon) | Proposed experiment |
46
- | `gist-verbatim-retention` | 15 | 2026-07-08T22:59:05.110Z | [pm-n7fpe8](../.agents/pm/tasks/pm-n7fpe8.toon) | Proposed experiment |
47
- | `successor-representation-map` | 16 | 2026-07-08T23:04:09.486Z | [pm-bj248h](../.agents/pm/tasks/pm-bj248h.toon) | Proposed experiment |
48
- | `learning-progress-exploration` | 17 | 2026-07-09T10:35:29.359Z | [pm-w0x318](../.agents/pm/tasks/pm-w0x318.toon) | Proposed experiment |
49
- | `deadline-anytime-assembly` | 18 | 2026-07-12T19:06:43.973Z | [pm-ltygoc](../.agents/pm/tasks/pm-ltygoc.toon) | Proposed experiment |
50
- | `intent-conditioned-profiles` | 19 | 2026-07-12T19:07:07.668Z | [pm-55ra](../.agents/pm/tasks/pm-55ra.toon) | Existing acceptance owner |
51
- | `temporal-era-segmentation` | 20 | 2026-07-13T17:49:16.342Z | [pm-tnkni6](../.agents/pm/tasks/pm-tnkni6.toon) | Proposed experiment |
52
- | `empirical-bayes-signal-shrinkage` | 21 | 2026-07-13T17:49:39.249Z | [pm-4lg7gl](../.agents/pm/tasks/pm-4lg7gl.toon) | Proposed experiment |
53
- | `lineage-relevance-continuity` | 22 | 2026-07-13T17:50:01.162Z | [pm-pyny5e](../.agents/pm/tasks/pm-pyny5e.toon) | Proposed experiment |
54
- | `consumer-conditioned-context` | 23 | 2026-07-24T23:56:51.483Z | [pm-oiml5g](../.agents/pm/tasks/pm-oiml5g.toon) | Proposed experiment |
55
- | `intent-ambiguity-hedging` | 24 | 2026-07-25T06:21:11.864Z | [pm-3t4fpz](../.agents/pm/tasks/pm-3t4fpz.toon) | Proposed experiment |
56
- | `description-length-stopping` | 25 | 2026-07-25T06:21:11.864Z | [pm-hnnsk4](../.agents/pm/tasks/pm-hnnsk4.toon) | Proposed experiment |
57
- | `fleet-shared-assembly` | 26 | 2026-07-25T06:21:11.864Z | [pm-tch9cs](../.agents/pm/features/pm-tch9cs.toon) | Existing acceptance owner |
58
- | `session-budget-allocation` | 27 | 2026-07-25T06:21:11.864Z | [pm-0d8cx0](../.agents/pm/tasks/pm-0d8cx0.toon) | Proposed experiment |
59
- | `model-conditioned-packing` | 19 | 2026-07-25T12:33:08.547Z | [pm-oiml5g](../.agents/pm/tasks/pm-oiml5g.toon) | Alias of `consumer-conditioned-context` |
60
- | `merge-probability-provenance` | 20 | 2026-07-25T12:33:09.924Z | [pm-2owmm9](../.agents/pm/tasks/pm-2owmm9.toon) | Proposed experiment |
61
- | `hash-keyed-summary-pyramid` | 21 | 2026-07-25T12:33:12.348Z | [pm-7go3ml](../.agents/pm/tasks/pm-7go3ml.toon) | Proposed experiment |
62
- | `counterfactual-replay-evaluation` | 22 | 2026-07-25T12:33:13.616Z | [pm-atfm](../.agents/pm/features/pm-atfm.toon) | Existing acceptance owner |
63
- | `federated-relevance-calibration` | 23 | 2026-07-25T17:55:26.153Z | [pm-p5x04j](../.agents/pm/tasks/pm-p5x04j.toon) | Proposed experiment |
64
- | `fleet-joint-diversification` | 24 | 2026-07-25T17:55:27.244Z | [pm-u7dei0](../.agents/pm/tasks/pm-u7dei0.toon) | Proposed experiment |
65
- | `outcome-distance-prior` | slug only | 2026-07-26T06:05:19.670Z | [pm-j915gx](../.agents/pm/tasks/pm-j915gx.toon) | Proposed experiment |
66
- | `maintenance-invariant-temporal-coordinates` | slug only | 2026-07-26T17:12:19.040Z | [pm-07pt16](../.agents/pm/issues/pm-07pt16.toon) | Existing acceptance owner |
67
- | `on-policy-context-evaluation-in-replayable-episodes` | slug only | 2026-07-26T22:10:55.488Z | [pm-atfm](../.agents/pm/features/pm-atfm.toon) | Existing acceptance owner |
68
- | `cited-substrate-churn-retention` | 28 | 2026-07-27T04:16:41.976Z | [pm-7xva2q](../.agents/pm/tasks/pm-7xva2q.toon) | Proposed experiment |
69
- | `ordering-slack-conditioned-urgency` | slug only | 2026-07-27T12:56:49.162Z | [pm-a795un](../.agents/pm/tasks/pm-a795un.toon) | Proposed experiment |
70
- | `recorded-order-arbitration` | slug only | 2026-07-28T15:06:04.775Z | [pm-6x7o](../.agents/pm/features/pm-6x7o.toon) | Existing acceptance owner |
71
- | `refuted-and-abandoned-evidence-retrieval` | slug only | 2026-07-28T22:37:05.155Z | [pm-j0hhum](../.agents/pm/tasks/pm-j0hhum.toon) | Proposed experiment |
72
- | `trust-weighted-context-assembly` | slug only | 2026-07-28T22:37:06.038Z | [pm-uzjalq](../.agents/pm/tasks/pm-uzjalq.toon) | Proposed experiment |
73
- | `omission-cost-asymmetric-ranking` | slug only | 2026-07-29T04:53:05.081Z | [pm-u64x78](../.agents/pm/tasks/pm-u64x78.toon) | Proposed experiment |
74
- | `absence-as-signal-coverage-complement` | slug only | 2026-07-29T04:53:05.081Z | [pm-qy48yz](../.agents/pm/tasks/pm-qy48yz.toon) | Proposed experiment |
75
- | `pinned-epoch-context-determinism` | slug only | 2026-07-29T04:53:05.081Z | [pm-8bgeye](../.agents/pm/features/pm-8bgeye.toon) | Existing acceptance owner |
76
- | `action-legality-conditioned-assembly` | slug only | 2026-07-29T16:59:47.781Z | [pm-cg9tgx](../.agents/pm/tasks/pm-cg9tgx.toon) | Proposed experiment |
77
- | `shape-conditioned-parameter-selection` | slug only | 2026-07-29T16:59:47.781Z | [pm-jxszo5](../.agents/pm/tasks/pm-jxszo5.toon) | Proposed experiment |
78
- | `cross-channel-disagreement-salience` | slug only | 2026-07-30T09:24:36.574Z | [pm-zhowns](../.agents/pm/tasks/pm-zhowns.toon) | Proposed experiment |
79
- | `budget-feasible-projection-descent` | slug only | 2026-07-30T17:12:42.066Z | [pm-yekkvt](../.agents/pm/issues/pm-yekkvt.toon) | Existing acceptance owner |
80
- | `co-mutation-cohort-inference` | slug only | 2026-07-31T06:12:41.171Z | [pm-8996e1](../.agents/pm/tasks/pm-8996e1.toon) | Proposed experiment |
81
- | `state-erased-signal-recovery` | slug only | 2026-07-31T14:19:33.829Z | [pm-oz1p2u](../.agents/pm/tasks/pm-oz1p2u.toon) | Proposed experiment |
82
- | `occupancy-interval-contention-inference` | slug only | 2026-08-01T09:51:18.539Z | [pm-ieskvz](../.agents/pm/tasks/pm-ieskvz.toon) | Proposed experiment |
83
- | `refusal-conditioned-retrieval-repair` | slug only | 2026-08-01T13:07:13.153Z | [pm-f6kmj2](../.agents/pm/tasks/pm-f6kmj2.toon) | Proposed experiment |
84
- | `citation-stable-evidence-addressing` | 23 | 2026-08-02T15:04:50.169Z | [pm-8bgeye](../.agents/pm/features/pm-8bgeye.toon) | Existing acceptance owner |
85
- | `convergence-confidence-weighting` | 24 | 2026-08-02T21:14:06.605Z | [pm-2owmm9](../.agents/pm/tasks/pm-2owmm9.toon) | Alias of `merge-probability-provenance` |
86
- | `session-marginal-relevance` | 25 | 2026-08-03T06:28:46.897Z | [pm-hid9g1](../.agents/pm/features/pm-hid9g1.toon) | Existing acceptance owner |
87
- | `recurrence-conditioned-retrieval` | 26 | 2026-08-03T20:40:23.212Z | [pm-x8cw63](../.agents/pm/tasks/pm-x8cw63.toon) | Proposed experiment |
88
- | `temporally-anchored-graph-proximity` | 27 | 2026-08-04T05:54:30.594Z | [pm-9lhtuf](../.agents/pm/tasks/pm-9lhtuf.toon) | Proposed experiment |
89
- | `act-conditioned-loss-asymmetry` | 28 | 2026-08-07T05:23:58.135Z | [pm-u64x78](../.agents/pm/tasks/pm-u64x78.toon) | Alias of `omission-cost-asymmetric-ranking` |
90
- | `structure-conditioned-signal-weighting` | 29 | 2026-08-07T11:23:09.664Z | [pm-77pz59](../.agents/pm/tasks/pm-77pz59.toon) | Proposed experiment |
91
- | `cost-priced-signal-admission` | 30 | 2026-08-07T17:23:07.639Z | [pm-ltygoc](../.agents/pm/tasks/pm-ltygoc.toon) | Alias of `deadline-anytime-assembly` |
92
- | `reader-writer-contract-change-salience` | 31 | 2026-08-08T08:04:42.076Z | [pm-h3l0th](../.agents/pm/tasks/pm-h3l0th.toon) | Proposed experiment |
93
- | `epoch-conditioned-evidence-confidence` | 32 | 2026-08-08T22:00:52.713Z | [pm-nh1348](../.agents/pm/tasks/pm-nh1348.toon) | Proposed experiment |
94
- | `coverage-ratio-conditioned-evidence` | 33 | 2026-08-09T06:06:13.120Z | [pm-hlf7ca](../.agents/pm/tasks/pm-hlf7ca.toon) | Proposed experiment |
95
- | `property-lifetime-evidence-retention` | 34 | 2026-08-09T13:39:47.942Z | [pm-n7u3he](../.agents/pm/tasks/pm-n7u3he.toon) | Proposed experiment |
96
- | `subscriber-weighted-salience` | 35 | 2026-08-09T20:05:21.715Z | [pm-stdu2g](../.agents/pm/tasks/pm-stdu2g.toon) | Proposed experiment |
97
- | `truthful-field-omission-receipts` | 36 | 2026-08-10T06:08:53.534Z | [pm-tld20c](../.agents/pm/issues/pm-tld20c.toon) | Existing acceptance owner |
98
- | `governance-invariant-topology-signals` | 37 | 2026-08-10T12:19:15.015Z | [pm-5wc91d](../.agents/pm/tasks/pm-5wc91d.toon) | Proposed experiment |
99
- | `canonical-graph-measurement-reuse` | 38 | 2026-08-10T16:10:50.473Z | [pm-atfm](../.agents/pm/features/pm-atfm.toon) | Existing acceptance owner |
100
- | `redundancy-discounted-structural-weight` | 39 | 2026-08-10T21:02:34.076Z | [pm-nmti7j](../.agents/pm/tasks/pm-nmti7j.toon) | Proposed experiment |
101
- | `kind-rarity-edge-weighting` | 40 | 2026-08-11T14:11:06.615Z | [pm-cpnzmc](../.agents/pm/tasks/pm-cpnzmc.toon) | Proposed experiment |
102
- | `reachability-basis-aware-lineage` | 41 | 2026-08-13T08:51:22.149Z | [pm-wsyj7k](../.agents/pm/tasks/pm-wsyj7k.toon) | Proposed experiment |
103
- | `distribution-gated-structural-weight` | 42 | 2026-08-13T14:32:56.524Z | [pm-77pz59](../.agents/pm/tasks/pm-77pz59.toon) | Alias of `structure-conditioned-signal-weighting` |
104
- | `coverage-preserving-budget-truncation` | 43 | 2026-08-13T21:15:51.685Z | [pm-mo38ao](../.agents/pm/tasks/pm-mo38ao.toon) | Proposed experiment |
105
- | `event-quantile-recency` | 44 | 2026-08-14T05:25:41.723Z | [pm-8ryvgm](../.agents/pm/tasks/pm-8ryvgm.toon) | Proposed experiment |
106
- | `retrieval-action-ranking` | 45 | 2026-08-16T10:35:34.761Z | [pm-ra49iv](../.agents/pm/tasks/pm-ra49iv.toon) | Proposed experiment |
107
- | `declared-summary-populations` | 46 | 2026-09-04T18:40:47.913Z | [pm-79gv6q](../.agents/pm/issues/pm-79gv6q.toon) | Existing acceptance owner |
108
-
109
- ## Cognitive subsystem mapping
110
-
111
- The 18 candidate compositions from pm-vvib retain the architecture decision gate.
112
- Individual experiment drafts record the ideas without accepting that decision.
113
-
114
- | Candidate | Composition | Canonical owner |
115
- |---|---|---|
116
- | 1 | Prospective memory | [pm-0uvib0](../.agents/pm/tasks/pm-0uvib0.toon) |
117
- | 2 | Metacognitive revalidation | [pm-ur2t9o](../.agents/pm/tasks/pm-ur2t9o.toon) |
118
- | 3 | Interference and belief revision | [pm-xfta80](../.agents/pm/tasks/pm-xfta80.toon) |
119
- | 4 | Novelty and returning-agent deltas | [pm-tuadp2](../.agents/pm/features/pm-tuadp2.toon) |
120
- | 5 | Receiver-relative handoff | [pm-isldic](../.agents/pm/tasks/pm-isldic.toon) |
121
- | 6 | Source monitoring | [pm-uzjalq](../.agents/pm/tasks/pm-uzjalq.toon) |
122
- | 7 | Failure-sensitive avoidance | [pm-u64x78](../.agents/pm/tasks/pm-u64x78.toon) |
123
- | 8 | Procedural acquisition | [pm-5ay6gn](../.agents/pm/tasks/pm-5ay6gn.toon) |
124
- | 9 | Encoding context and source situations | [pm-8bgeye](../.agents/pm/features/pm-8bgeye.toon) |
125
- | 10 | Chunking and representation selection | [pm-55ra](../.agents/pm/tasks/pm-55ra.toon) |
126
- | 11 | Analogical retrieval | [pm-l4a5q9](../.agents/pm/tasks/pm-l4a5q9.toon) |
127
- | 12 | Open-loop persistence | [pm-u8rjvb](../.agents/pm/tasks/pm-u8rjvb.toon) |
128
- | 13 | Episodic future thinking | [pm-uk74i4](../.agents/pm/tasks/pm-uk74i4.toon) |
129
- | 14 | Salience broadcast | [pm-jd2wst](../.agents/pm/tasks/pm-jd2wst.toon) |
130
- | 15 | Reconsolidation gating | [pm-xfta80](../.agents/pm/tasks/pm-xfta80.toon) |
131
- | 16 | Gist/verbatim retention | [pm-n7fpe8](../.agents/pm/tasks/pm-n7fpe8.toon) |
132
- | 17 | Predictive cognitive map | [pm-bj248h](../.agents/pm/tasks/pm-bj248h.toon) |
133
- | 18 | Learning-progress exploration | [pm-w0x318](../.agents/pm/tasks/pm-w0x318.toon) |
134
-
135
- ## Shared experiment contract
136
-
137
- Each proposal names its source, bounded SDK contract, inputs, evaluation population,
138
- costs, deterministic fallback, and promotion or rejection rule. Compare against
139
- an unchanged baseline on held-out judgments. Report task success, critical-evidence
140
- omission, ranking quality, tokens, latency, memory, and rebuild cost separately.
141
-
142
- Use tiny, real-shaped, sparse/dense, returning-session, concurrent, and long-history
143
- fixtures. A smoke run cannot certify million-item performance or fleet convergence.
144
- Read and write through the public SDK; CLI and MCP remain adapters.
145
-
146
- Historical descriptions may contain hypotheses about optimality, independence, or
147
- constant-time behavior. Those are claims to test. State the assumptions required
148
- by an approximation guarantee, and preserve missing evidence as unknown.
149
-
150
- Promotion requires an explicit decision and passing current mandatory gates.
151
- A proposed experiment does not authorize a production policy, adaptive learning,
152
- or workspace-data export. Rejected experiments remain searchable evidence.
153
-
154
- ## Mathematical checks before promotion
155
-
156
- - RRF's published offset of 60 was an empirical choice. Retain a deterministic
157
- baseline and test alternatives; it is not a universal calibration constant.
158
- [Cormack, Clarke, and Büttcher (2009)](https://cormack.uwaterloo.ca/cormacksigir09-rrf.pdf).
159
- - A plain value-per-token greedy heuristic does not inherit every submodular
160
- approximation guarantee. Sviridenko's knapsack result assumes a nonnegative,
161
- nondecreasing submodular objective and uses partial enumeration with greedy
162
- completion. Representation exclusivity and negative penalties need their own
163
- analysis. [Sviridenko (2004)](https://www.sciencedirect.com/science/article/pii/S0167637703000622).
164
- - WL subtree features scale with edges and refinement rounds in the published
165
- formulation. Our proposed use still needs bounded neighborhoods and an
166
- evaluation of whether structural similarity predicts useful project evidence.
167
- [Shervashidze et al. (2011)](https://www.jmlr.org/papers/v12/shervashidze11a.html).
@@ -1,246 +0,0 @@
1
- # Development dependency security
2
-
3
- Tracked by [pm-r61juc](../.agents/pm/issues/pm-r61juc.toon) and
4
- [pm-fnx3np](../.agents/pm/issues/pm-fnx3np.toon), with independent advisory evidence in
5
- [pm-eqxjzl](../.agents/pm/tasks/pm-eqxjzl.toon) and MCP/Vite remediation in
6
- [pm-5sgx37](../.agents/pm/issues/pm-5sgx37.toon).
7
-
8
- Development tools execute during tests, benchmarks and release preparation.
9
- Their dependencies have the same admission requirement as production packages:
10
- no known advisory may pass the required static gate. Run:
11
-
12
- ```bash
13
- pnpm install --frozen-lockfile
14
- pnpm quality:dependencies
15
- ```
16
-
17
- This collects the full `pnpm audit --json`, with no production-only or severity
18
- filter, and queries every npm name/version in the pnpm v9 lockfile against
19
- [OSV querybatch](https://google.github.io/osv.dev/post-v1-querybatch/). The inventory
20
- includes development, optional and platform-specific packages. Either source's
21
- positive result blocks, even when the other returns zero. Unsupported resolutions,
22
- empty inventories, malformed or partial responses, pagination and network failures
23
- also block. Collection has bounded batch sizes, deadlines and no automatic retries.
24
- Only public npm names and versions are sent to OSV.
25
-
26
- The ignored local `.cache/dependency-security/receipt.json` records input hashes,
27
- complete per-package OSV coverage, feed retrieval times, registry counts and
28
- advisory IDs. Collection invalidates the prior receipt before querying. Database
29
- update times are explicitly unknown: fresh retrieval does not prove a feed is
30
- current. The SDK-owned `repository-static-quality` assurance gate composes a
31
- `repository-quality/dependency-advisories` provider that verifies this receipt
32
- without network access. It rejects evidence older than fifteen minutes, changed
33
- manifests or lockfiles, incomplete coverage and unavailable sources. Fresh evidence
34
- is required again on each CI/static or release run. Static checks refresh collection
35
- immediately before SDK assurance evaluation, which verifies advisory evidence
36
- before slower providers. The blocking registry command settles before OSV starts
37
- its network deadlines.
38
-
39
- CI retains this single receipt after successful and failed static jobs, with a
40
- separate artifact name for each run attempt and seven-day retention. Inspect both
41
- feeds before diagnosing a blocked collector: a positive advisory is a refusal,
42
- even when the other feed is clean.
43
-
44
- The command then verifies the installed CodSpeed bundle policy. Network/audit errors,
45
- missing packages, incomplete policy entries, changed package files, and unreviewed
46
- upgrades all fail. `quality:static` includes this command, so the existing CI,
47
- nightly quality and release paths enforce it. The registry-owned local
48
- preflight also requires the static gate and permits no skip. Trivy separately
49
- includes development dependencies in its required repository scan.
50
-
51
- Composite action refs and their executed tool versions need separate review.
52
- [pm-38w3ii](../.agents/pm/chores/pm-38w3ii.toon) pins TruffleHog's action
53
- commit and explicitly selects scanner version `3.98.0`; the action otherwise
54
- defaults to the `latest` image. The workflow contract checks both values on
55
- every TruffleHog step. Recheck the action's executable selectors when renewing
56
- its commit pin.
57
-
58
- ## Vitest mocker advisory pair
59
-
60
- [pm-vitest4112](../.agents/pm/tasks/pm-vitest4112.toon) coordinates the
61
- [manual-registration finding](../.agents/pm/issues/pm-vitestmanual.toon) and
62
- [Windows redirect finding](../.agents/pm/issues/pm-vitestredirect.toon).
63
- [GHSA-qxg6-89mg-rqv8](https://github.com/advisories/GHSA-qxg6-89mg-rqv8)
64
- and [GHSA-xp26-3454-mjgp](https://github.com/advisories/GHSA-xp26-3454-mjgp)
65
- affect the previously locked `@vitest/mocker` 4.1.11. The compatible Vitest and
66
- coverage-provider pair now requires 4.1.12, whose shared mock-source generator
67
- serializes module URLs and export names, including asynchronous rebinding, and
68
- whose public redirect handler normalizes backslashes before the file allowlist
69
- check. Both fixes apply to public mocker/interceptor WebSocket handlers. The
70
- repository's Node test configurations do not register these handlers, so the
71
- affected development dependency does not establish an exploitable CLI or SDK
72
- route.
73
-
74
- The retained hosted OSV receipt identified both advisories while the registry
75
- audit returned zero. Keep full-lock admission mandatory and verify the patched
76
- graph against both feeds. That patch kept Vitest 4 because CodSpeed 5.7.1 did not
77
- accept Vitest 5. [pm-fokyhh](https://github.com/unbraind/pm-cli/blob/main/.agents/pm/chores/pm-fokyhh.toon) (repository-only tracker record excluded from npm) later adopted
78
- the Vitest 5.0.5 pair with CodSpeed 6.1.0; `@vitest/mocker` 5.0.3 and later carry
79
- both fixes, and the Vite 7 override is unchanged. The
80
- installed-handler regressions run in coverage and the required native Windows
81
- cohort, whose aggregate refuses failed, canceled or skipped partitions. The
82
- October 15 patch releases meet pnpm's one-day minimum age on October 21 without
83
- an exclusion. Dependabot's seven-day scheduling cooldown is unchanged.
84
-
85
- ## Indexed source-map offsets
86
-
87
- [pm-dba47](../.agents/pm/issues/pm-dba47.toon) tracks Dependabot alert 47 and
88
- the new source-map cause of Scorecard alert 29.
89
- [GHSA-68fv-2mgg-jv7q](https://github.com/advisories/GHSA-68fv-2mgg-jv7q)
90
- affects `source-map-js` before 1.2.2. Unchecked indexed-map section offsets can
91
- block the event loop. The dependency is used by the development lint and test
92
- graph through `@eslint/css-tree`, `magicast` and `postcss`; this inventory does
93
- not establish a production exploit. The pnpm override requires a patched 1.x
94
- release while retaining normal release-age policy and frozen installation.
95
- The pinned pnpm 11 uses its default one-day minimum release age; the separate
96
- seven-day Dependabot cooldown governs version-update scheduling. This repair
97
- adds no age override or exclusion.
98
-
99
- A clean audit feed is only evidence about that feed at its observation time.
100
- GitHub and OSV reported this advisory while the npm audit response was still
101
- empty. A freshly updated Trivy database also admitted both vulnerable and
102
- patched temporary fixtures, so that scan did not establish regression sensitivity.
103
- The independent safe constructor control rejected an oversized indexed-map
104
- offset only on the patched version, without serializing the huge offset.
105
- Read the actual locked graph and every available scanner report before
106
- claiming that findings are retired. Native scans of merged main must confirm
107
- retirement independently of green PR workflow jobs.
108
-
109
- ## Worker diagnostics
110
-
111
- [pm-cql43](../.agents/pm/issues/pm-cql43.toon) tracks CodeQL alert 43 in the
112
- test worker bridge. Its captured scanner flow contains a generated temporary
113
- path, so it does not prove a credential leak. The debug path nevertheless
114
- previously broadcast arbitrary CLI arguments and stderr. Debug failures now
115
- emit only a fixed notification; the complete captured result remains available
116
- to deliberate assertions. A real worker regression uses synthetic private
117
- input and verifies both notification privacy and preserved result contents,
118
- plus silence when debugging is disabled or the command succeeds. The harness
119
- is excluded from the published package.
120
-
121
- ## File matching dependency removal
122
-
123
- [GHSA-vfj7-8cjw-p6xm](https://github.com/advisories/GHSA-vfj7-8cjw-p6xm)
124
- affects `braces` 3.0.3, previously reachable through the production `fast-glob`
125
- dependency. A pattern under 10,000 characters can exhaust the recursive brace
126
- expansion stack. No fixed version was published when this change was verified.
127
- The SDK and repository censuses now use `tinyglobby` 0.2.17, removing `fast-glob`,
128
- `micromatch` and `braces` from the installed graph. Explicit
129
- `expandDirectories: false` retains file-only semantics: a directory argument
130
- does not silently become a recursive match. Dot files, brace and extglob
131
- patterns, absolute paths and invocation-relative anchoring remain supported.
132
- The regression uses a real temporary directory and the same deeply nested input
133
- that failed before the replacement. Audit errors remain mandatory failures.
134
-
135
- ## Redirect credential and glob amplification advisories
136
-
137
- [pm-irviv0](../.agents/pm/issues/pm-irviv0.toon) tracks
138
- [GHSA-mrwp-f3q8-3g9p](https://github.com/advisories/GHSA-mrwp-f3q8-3g9p)
139
- (`follow-redirects` 1.16.0 through 1.16.1: cross-realm `sensitiveHeaders`
140
- arrays are discarded, so custom credentials can follow redirects) and
141
- [GHSA-g3hv-75wg-m249](https://github.com/advisories/GHSA-g3hv-75wg-m249)
142
- (`minimatch` before 11.0.1: denial of service through glob-part
143
- amplification). Both were published on October 30 and the registry feed
144
- reported them from the next run on `main` while OSV was still clean, so the
145
- advisory gate refused every PR and the scheduled release path until the lock
146
- changed. `follow-redirects` is reached only through the CodSpeed benchmark
147
- plugin's Axios client, and `minimatch` through ESLint and its config array
148
- and as a direct dependency of `@stryker-mutator/core` (mutation testing); all
149
- of these are development dependencies and none establishes a CLI or SDK
150
- route. The pnpm overrides require `follow-redirects` 1.16.2 or a newer
151
- 1.x release and `minimatch` 11.0.1 or a newer 11.x release. `minimatch` 11
152
- keeps dual CommonJS and ES module exports, so ESLint's `require` path is
153
- unchanged and the full lint run passes; the override applies to the Stryker
154
- path as well. Both releases satisfy pnpm's one-day
155
- minimum release age without an exclusion; the seven-day Dependabot cooldown
156
- is unchanged. The gate's catch-all refusal said that no feed success could be
157
- inferred, which hid the real cause (a non-empty registry id list); read
158
- `.cache/dependency-security/receipt.json` before treating that message as a
159
- feed outage.
160
-
161
- ## CodSpeed 6.1.0 patch
162
-
163
- CodSpeed's declared dependency previously resolved Axios 1.19.0, and both
164
- `@codspeed/core` bundles embedded Axios 1.4.0. Updating the declared dependency
165
- alone leaves those embedded implementations and their source-map contents
166
- intact. The pnpm override selects Axios 1.20.0 or a newer compatible 1.x
167
- release that satisfies the normal dependency cooldown. The exact-version
168
- patch in [the patch file](../patches/@codspeed__core@6.1.0.patch) replaces the
169
- embedded dependency section in both CJS and ESM entries with imports of the
170
- declared `axios` and `form-data` packages. Each entry creates its own Axios
171
- client and retains the cancellation constructor, preserving isolation from
172
- application request and response interceptors.
173
-
174
- The replacement boundary starts at `function bind$2(fn, thisArg)` and ends
175
- immediately before `var __defProp$3 = Object.defineProperty`. Only `axios` and
176
- `FormData$2` from that section are referenced by the retained code. The patch
177
- preserves the preceding and following benchmark code, declarations, export
178
- surface and native binaries. Each entry removes 19,201 embedded lines. Its map
179
- retains 5,293 mappings, removes 39,536 obsolete mappings, and reduces its source
180
- inventory from 131 to 21. The 6.1.0 port keeps the same boundary; upstream added
181
- four Node-version warning exports, so the runtime suite pins 30 exports. Remaining generated positions are shifted by the
182
- replacement's line delta; their original source, line, column and names are
183
- preserved. Removed Axios, redirects, proxy and form-data sources are absent.
184
- Both maps end with a newline; the integrity policy records the installed bytes.
185
-
186
- [The integrity policy](../config/dependency-bundle-integrity.json) pins all twelve
187
- package-owned files by SHA-256: both entries, both maps, all three native binaries,
188
- the manifest, declarations and declaration map, license and README. Owned
189
- artifacts must be regular files; symlinks cannot redirect their module resolution
190
- to an unreviewed dependency tree even when their target bytes have the same hash. Admission
191
- also checks the exact installed file inventory, so an added executable, map or
192
- native payload fails even when the previously approved files are unchanged.
193
- Package-local dependency overrides also fail inventory admission: an added
194
- `node_modules/axios` could shadow the audited dependency resolved by the bundle.
195
- Only the three `node-gyp-build` commands and their CMD/PowerShell variants may
196
- appear directly in `node_modules/.bin`. Each must be a regular file whose complete
197
- program matches the reviewed [shim templates](../config/codspeed-shims/), with
198
- targets and module paths derived from the audited installed dependency. Arbitrary
199
- names, nested payloads, links, altered programs and forged target markers fail;
200
- these shims are outside the twelve package-owned hashes but are independently
201
- validated. [pm-rnpmtp](../.agents/pm/chores/pm-rnpmtp.toon) renews the installer
202
- to pnpm 11.28.5 and its bundled `bins/cmd-shim` generator. Separate complete shell
203
- templates describe POSIX and Windows installations; only the host's template is
204
- accepted. Windows shells pass Windows `NODE_PATH` values to native Node, and
205
- Cygwin targets use Windows paths. CMD and PowerShell programs retain their
206
- complete comparisons. Template changes require renewed real installation and
207
- dependency-resolution evidence on POSIX, Git Bash and Cygwin, plus CMD and
208
- PowerShell. The Windows script cohort downloads the archived Cygwin setup 2.937
209
- installer and verifies its pinned SHA-512 before execution. To renew it, select
210
- an eligible version from the official [setup archive](https://cygwin.com/setup/),
211
- verify the executable against the archive's `sha512.sum`, and update the
212
- versioned URL, pinned digest and workflow contract together. Preserve setup's
213
- default package-signature verification and repeat native launcher acceptance.
214
- Literal percent paths are exercised in disposable launcher fixtures;
215
- the audited CodSpeed installation still refuses shell interpolation paths.
216
- The CMD suffix follows the installed `PATHEXT` spelling, including `.CMD`;
217
- format lookup folds its case while validating the complete program. All three
218
- shell launchers are required, together with the CMD and PowerShell sets on
219
- Windows. Any additional format must also contain all three commands. Missing
220
- or duplicate launchers fail admission. Installation roots and rendered paths
221
- containing shell interpolation syntax fail before template comparison;
222
- ordinary paths containing spaces remain supported. Templates are comparison
223
- data: the checker never rewrites pnpm-generated launchers.
224
- The locked dependency graph is checked by the full audit. An
225
- upstream upgrade requires a reviewed patch removal or refresh, renewed runtime
226
- compatibility evidence, and a matching policy update. Never update hashes
227
- merely to admit an unexplained difference.
228
-
229
- ## Verification and scope
230
-
231
- The admission suite edits real temporary package copies and proves that each
232
- changed package file and additional unreviewed payload is refused. The runtime
233
- integration suite
234
- uses both public entries in fresh processes, calls a real loopback HTTP server,
235
- and verifies setup, benchmark start/stop, HTTP failure conversion, exports,
236
- measurement conversions, root-frame wrappers and isolation from real application
237
- interceptors. The server observes the
238
- audited Axios transport rather than a mocked client. The existing CodSpeed
239
- workflow continues to execute the native benchmark integration.
240
-
241
- These findings establish vulnerable dependency inventory, not a demonstrated
242
- production exploit. CodSpeed is a development dependency. Its Mongo
243
- instrumentation transport requires an explicitly configured instrumentation
244
- server; ordinary benchmarks do not configure one. Native Scorecard analysis
245
- of the merged commit must confirm alert retirement independently of local
246
- audits and PR checks.
@@ -1,96 +0,0 @@
1
- # Pull Request Review Loop
2
-
3
- Trackers: [pm-hq28](../.agents/pm/tasks/pm-hq28.toon), [pm-0fxa](../.agents/pm/tasks/pm-0fxa.toon), [pm-zpwfzy](../.agents/pm/issues/pm-zpwfzy.toon), [pm-cp5pbo](../.agents/pm/tasks/pm-cp5pbo.toon), [pm-8we38i](../.agents/pm/issues/pm-8we38i.toon)
4
-
5
- Use `scripts/reviews/pr-review-loop.mjs` to inventory every GitHub pull-request
6
- conversation surface before deciding that review is complete. The inventory includes
7
- top-level comments, submitted reviews, inline review threads, edited timestamps,
8
- reaction state, thread resolution, outdated markers, and the reviewed head SHA.
9
-
10
- GitHub command responses have a 64 MiB transport bound and fail visibly on overflow;
11
- an overflow never certifies a complete inventory. Acknowledgement lookups retain
12
- every page but project only comment IDs, bodies, and reply-parent IDs before
13
- capture, avoiding repeated diff hunks that are irrelevant to marker matching.
14
-
15
- ```bash
16
- node scripts/reviews/pr-review-loop.mjs inventory --pr 123 > /tmp/pr-123-review-inventory.json
17
- node scripts/reviews/pr-review-loop.mjs watch --pr 123 --interval 30 > /tmp/pr-123-review-inventory.json
18
- node scripts/reviews/pr-review-loop.mjs watch --pr 123 --phase reviews --interval 30 > /tmp/pr-123-full-review-inventory.json
19
- node scripts/reviews/pr-review-loop.mjs react --node-id IC_kw... --reaction THUMBS_UP
20
- node scripts/reviews/pr-review-loop.mjs acknowledge --pr 123 --node-id PRR_kw... --revision '<revision>' --reaction THUMBS_UP --body "CodeRabbit feedback implemented: https://github.com/owner/repo/pull/123#pullrequestreview-456. The suggested edge case is covered by test X."
21
- node scripts/reviews/pr-review-loop.mjs reply-inline --pr 123 --comment-id 456 --body "Addressed in abc123."
22
- node scripts/reviews/pr-review-loop.mjs acknowledge-inline --pr 123 --comment-id 456 --node-id PRRC_kw... --revision '<revision>' --reaction THUMBS_UP --body "Addressed in abc123."
23
- ```
24
-
25
- Choose `THUMBS_UP` when feedback is useful or correct and `THUMBS_DOWN` when a
26
- finding is materially incorrect. Use `acknowledge-inline` so the reaction and
27
- explanation land on the actual review comment and its thread. GitHub does not expose
28
- a reply thread for top-level PR conversation comments or submitted review summaries.
29
- Use `acknowledge` for those surfaces: its PR comment must identify the bot, link the
30
- exact GitHub artifact, and explain whether the feedback was implemented or declined.
31
- That keeps the response auditable without pretending GitHub created a direct thread.
32
- The command adds a hidden artifact marker and reuses an existing marked comment on
33
- retry, so a lost response cannot create duplicate acknowledgements. It reports a
34
- partial result and exits unsuccessfully when either the comment or reaction write
35
- fails, allowing the missing write to be retried safely.
36
-
37
- Each comment and review also carries a `revision`: a SHA-256 identity of its
38
- body and review state. Compare these identities after each completed check watch
39
- and immediately before merge. A changed body or review verdict needs fresh
40
- triage even when its node ID already has an acknowledgement. Reaction timestamp
41
- changes alone do not create a new revision. Pass the observed revision to both
42
- `acknowledge` and `acknowledge-inline` with `--revision <revision>`; their hidden
43
- markers then distinguish revised feedback and suppress duplicate retry replies
44
- for that same revision. Inline markers are matched only within the selected
45
- reply thread. Legacy calls without the flag retain their existing behavior.
46
-
47
- After every push or reviewer retrigger, run `watch`. Its default `checks` phase
48
- delegates waiting to `gh pr checks --watch --fail-fast`, returning the complete
49
- exact-head conversation inventory as soon as a check fails, even while an optional
50
- reviewer remains pending. Fix that failure before starting another wait. Use
51
- `--phase reviews` for the separate blocking review-completion phase: it delegates
52
- to `gh pr checks --watch` without fail-fast and waits for every emitted check.
53
- Both phases record `pendingChecks` and `unavailableChecks` from the final rollup,
54
- including names, states, URLs and whether each context is required. Neutral,
55
- skipped, canceled and other unavailable signals do not establish review approval;
56
- inspect the retained conversations for provider quota or service limitations.
57
- Pending checks prevent a successful receipt even if GitHub reports `CLEAN`.
58
- This behavior is tracked by [pm-jm7m3o](../.agents/pm/tasks/pm-jm7m3o.toon).
59
- Native watch success covers emitted checks only: a required provider may
60
- never emit its context. The helper unions classic branch-protection requirements
61
- with all effective ruleset requirements and retains publisher bindings in
62
- `mergeReadiness.requiredChecks` alongside `requiredContexts`. Bound requirements
63
- need both a name in the head rollup and paginated exact-head check-run evidence
64
- from the expected app. A wrong or unavailable check-run publisher remains in
65
- `missingContexts`; unbound legacy contexts retain name-based presence checks.
66
- Commit statuses expose no app identity in the rollup. Status-only bound contexts
67
- are disclosed in `publisherUnverifiable` with source `commit_status` and rely on
68
- GitHub's `CLEAN` verdict to enforce the publisher binding. If the same context is
69
- also emitted as a check run, that run still requires exact-head app evidence.
70
- The receipt records GitHub's `mergeStateStatus` independently: an attempt is
71
- `passed` only when no requirement is missing and GitHub reports `CLEAN`.
72
- Publisher presence does not establish a passing verdict; GitHub retains that
73
- enforcement along with other merge requirements. Publisher evidence is tracked by
74
- [pm-5p48kf](../.agents/pm/tasks/pm-5p48kf.toon). Missing contexts and blocked or
75
- unknown merge state remain `incomplete`; native watch failures remain `failed`.
76
- Superseded attempts carry `superseded: true` and never certify readiness. Unavailable policy or status reads
77
- fail visibly instead of certifying readiness. Successful
78
- coverage uploads alone cannot certify a downstream provider's patch status.
79
- The direct `watch` command emits its complete JSON receipt before exiting `1`
80
- for `incomplete` or `failed`, and exits `0` only for `passed`. Shell automation
81
- can therefore stop on the exit status while retaining all findings for triage.
82
-
83
- A failed check is still an actionable signal: `watch` records the failed outcome
84
- and returns all findings instead of aborting before inventory. A fail-fast receipt
85
- does not establish completion of pending reviews; the explicit review phase and
86
- final inventory retain that separate obligation.
87
- If the PR head or target branch changes during the wait or final readiness read,
88
- the helper watches the new target, up to three consecutive attempts, before
89
- returning exact-head state. It does not poll an absent required provider status.
90
- A review pass is complete only when every bot surface in that inventory has been
91
- handled appropriately, every actionable thread is resolved, and required checks
92
- have completed successfully.
93
-
94
- Do not use timed sleeps or repeated inventory polling while hosted checks and bot
95
- reviews run. Let `watch` block on the GitHub checks once, then act on the returned
96
- `pullRequest.headRefOid`, check outcomes, comments, reviews, and review threads.