borgmcp 0.9.16 → 0.9.17
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/dist/templates.d.ts.map +1 -1
- package/dist/templates.js +16 -2
- package/dist/templates.js.map +1 -1
- package/package.json +1 -1
package/dist/templates.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../src/templates.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;CAMzB;
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../src/templates.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;CAMzB;AA2YD,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAmOD,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAE9C,CAAC;AAEF,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAEzD;AAED,wBAAgB,iBAAiB,IAAI,MAAM,EAAE,CAE5C;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,2BAA2B,CACzC,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,QAAQ,GAAG,IAAI,GACxB,MAAM,CAKR;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,0BAA0B,CACxC,kBAAkB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7C,QAAQ,EAAE,QAAQ,GACjB,MAAM,GAAG,IAAI,CAQf"}
|
package/dist/templates.js
CHANGED
|
@@ -117,9 +117,23 @@ const ANTI_PASSIVE_STANDING_DISCIPLINE = `
|
|
|
117
117
|
- **Step 4 — Suspect systemic failure** (when 3+ drones go simultaneously silent past their PING thresholds, or when reassignments themselves don't produce engagement):
|
|
118
118
|
Stop reassigning. Suspect harness-class / auth-class / classifier-class structural failure. Post a STATE-SUMMARY-STALL entry to the cube log naming the affected drones + the suspected failure class. Surface to Queen (or to the human Queen on next return if autonomous) — this class of failure is above the Coordinator's resolution authority because the failure mode itself prevents normal dispatch from working.
|
|
119
119
|
|
|
120
|
-
**
|
|
120
|
+
**Coordinator/Queen seats DO NOT STAND (Queen directive 2026-05-24):** \`Standing\` is BANNED for the Coordinator-class seat. The earlier "Standing-with-explicit-reason" rule was a half-measure that still produced visibly idle turns; the directive now is unconditional — there is always productive Coordinator work, even when no gate is overdue and no dispatch is in flight. If you can't post \`Standing\`, you have to find something to do.
|
|
121
121
|
|
|
122
|
-
**
|
|
122
|
+
**What "productive Coordinator work" looks like when no urgent dispatch is in flight:**
|
|
123
|
+
- **Pre-stage the next merge artifact.** If a PR is mid-review at 4/5, open the gh PR + draft the merge-commit body NOW so the final APPROVED triggers one command. Don't wait for the vote to start the prep work.
|
|
124
|
+
- **File the FRICTION you observed but didn't yet write up.** Per the cube directive, every friction observation is a gh issue. The Coordinator notices a lot during dispatch; convert observations to issues immediately.
|
|
125
|
+
- **Audit open gh issues for sprint-candidate triage.** Read the open queue, classify (active / deferred / stale / ready-to-pick), comment on items that need pruning or escalation.
|
|
126
|
+
- **Smoke-test what just shipped.** A merge+deploy from earlier in the session is now in production — verify the user-facing surface actually behaves as the merge claimed. Catch broken-ship issues before users do.
|
|
127
|
+
- **Update durable docs.** CLAUDE.md, role descriptions, runbook docs — small drifts noticed during the session that warrant codification.
|
|
128
|
+
- **Probe drone liveness pre-emptively** via \`borg:roster\` — surface stale drones before they become a blocker on the next dispatch.
|
|
129
|
+
- **Pre-validate next-sprint dispatches.** If the next sprint is implied by current state (e.g., post-PR-A: drone-5 webhook reconciliation work was deferred), draft the dispatch text + scope notes so it lands cleanly when current sprint completes.
|
|
130
|
+
- **Run the on-wake stale check** (which IS standing-equivalent action even when nothing's overdue — it produces a snapshot of cube state, not a Standing reply).
|
|
131
|
+
|
|
132
|
+
**The forcing function:** if you're about to type \`Standing for X\`, instead post the work you're doing while waiting. If you're not doing work while waiting, the new directive says you ARE failing — find work.
|
|
133
|
+
|
|
134
|
+
**Empirical motivation:** Queen 2026-05-24 ~17:42Z UTC observation that the earlier "Standing-with-explicit-reason" discipline was still producing visibly passive turns where the Coordinator named what they were waiting for but did nothing productive in the meantime. The fix isn't to label the standing better; it's to ban standing.
|
|
135
|
+
|
|
136
|
+
**Reassignment authority (autonomous-mode scope):** the Coordinator-class seat (Queen-by-delegation included) has standing authority to reassign roles within the existing cube's role roster WITHOUT per-reassignment Queen authorization, provided: (a) the reassignment is to a confirmed-alive drone, (b) the previous drone is documented as unresponsive per Step 3, (c) the reassignment is announced in cube log. Reassignment is operational continuity, not a Queen-policy decision. **(Note: this paragraph was previously the third bullet; promoted here because it's load-bearing for the no-standing directive — reassignment is one of the productive actions available when a drone is stuck.)**
|
|
123
137
|
|
|
124
138
|
**Template-provenance note:** these rules were codified in the software-dev template (this file) AND the autonomous-mode Queen role (\`workers/cubes.ts\` \`QUEEN_ROLE_DETAILED_DESCRIPTION\`) so every cube spawned from this template inherits the discipline. Local cube memory patches are insufficient — the failure mode recurs on every new cube without template-layer codification.`;
|
|
125
139
|
/**
|
package/dist/templates.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../src/templates.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAeH,uEAAuE;AACvE,oEAAoE;AACpE,+DAA+D;AAC/D,iEAAiE;AACjE,oEAAoE;AACpE,mEAAmE;AACnE,mEAAmE;AACnE,qEAAqE;AACrE,gCAAgC;AAChC,uEAAuE;AAEvE;;;;;GAKG;AACH,MAAM,qBAAqB,GAAG;;;;;;;;gOAQkM,CAAC;AAEjO;;;;;;;;;;GAUG;AACH,MAAM,yBAAyB,GAAG;;;;;;;kNAOgL,CAAC;AAEnN;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,gCAAgC,GAAG
|
|
1
|
+
{"version":3,"file":"templates.js","sourceRoot":"","sources":["../src/templates.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAeH,uEAAuE;AACvE,oEAAoE;AACpE,+DAA+D;AAC/D,iEAAiE;AACjE,oEAAoE;AACpE,mEAAmE;AACnE,mEAAmE;AACnE,qEAAqE;AACrE,gCAAgC;AAChC,uEAAuE;AAEvE;;;;;GAKG;AACH,MAAM,qBAAqB,GAAG;;;;;;;;gOAQkM,CAAC;AAEjO;;;;;;;;;;GAUG;AACH,MAAM,yBAAyB,GAAG;;;;;;;kNAOgL,CAAC;AAEnN;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,gCAAgC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6XA2CoV,CAAC;AAE9X;;;;;;;;;;;;;GAaG;AACH,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;gQAuBmO,CAAC;AAEjQ;;;;;;;;;;;;;GAaG;AACH,MAAM,gCAAgC,GAAG;;;;;;;;;;yWAUgU,CAAC;AAE1W;;;;;;;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