Skip to content

stewards: an ops steward kind that watches production and files tickets (BB-9) - #26

Merged
trotterdylan merged 7 commits into
mainfrom
bb/bb-9-ops-steward-kind-bb-plugins-thr_nptmhsssgr
Oct 20, 2026
Merged

trotterdylan merged 7 commits into
mainfrom
bb/bb-9-ops-steward-kind-bb-plugins-thr_nptmhsssgr

Conversation

@trotterdylan

@trotterdylan trotterdylan commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Implements BB-9, per its approved spec: ambient kubectl on the developer's machine, with no ServiceAccount and no change to bb-gate or devbox.

A fourth steward kind, ops, watches a Kubernetes namespace listed in project.json. The plugin looks at it with kubectl on the project's machine, as the developer. The steward files one Linear ticket per problem and escalates it to the project steward to adopt. A recurrence becomes a comment on the existing ticket, tracked through a fingerprint → ticket map.

Merging restarts every developer's server. It moves the bb-plugins pin, so bb-gate's bb-server workflow builds a new image and stages a restart for every developer's server, this one included. Each server restarts when its owner presses Restart now, or in the 03:00–05:00 US Eastern quiet window.

Classification

owner-reviewed: two triggers from AGENTS.md:

  • Store migrations: bindings.ops_look and ops_fingerprints.
  • New host entry: host.ts runs kubectl on the developer's machine with their own credential, which touches identity and access.

What changes

  • ops in project.json:

    • ops.targets: [{ kind: "k8s-namespace", name }], at most ten.
    • ops.team: where tickets are filed. Defaults to the first of linear.teams and must be one of them.
    • ops.context: optional kubeconfig context.
    • ops.autoAdopt: Linear priorities.

    Validation at parse time covers namespace names, duplicates, the team and the priorities.

  • The ops binding kind: one binding per target, keyed k8s-namespace/<name>, with source ops.

    • It has no entity-state phases and no terminal state, and lives while the target is listed.
    • Removing the target ends it as unconfigured; listing it again resumes the same thread.
    • It reports to the project steward, appears in bb stewards list, and shows on the Stewards page as watch.
    • It takes a turn every requeue-default; a healthy turn is a short "All healthy" report.
    • A sweep between requeues wakes it only for a new problem, or one back after its ticket was resolved.
  • kubectl, as the developer (host.ts, kubectl.ts): the server asks the project's machine to run kubectl through a new host entry (one method, opsKubectl) and reads pods, Warning events, Deployments and a failing container's last log lines. Credentials in logs are redacted.

  • The verb gate is the only guard. The ambient credential may be broader than read. Every kubectl call passes kubectlRefusal, checked on the server and again on the host. Only get, describe, logs and auth can-i pass, plus no flag that swaps the kubeconfig, credentials or identity. DESIGN.md §18 says so plainly. A stricter wall can slot in behind that one function.

  • Fingerprint map (ops_fingerprints, ops.ts).

    • A fingerprint is target + workload + container + an error signature from the container's status, e.g. …/bb-gate-router/router#CrashLoopBackOff:Error:1.
    • Each look classifies findings as new, recurring (ticket open: comment, file nothing new) or returned (ticket resolved: the playbook decides between reopening and filing anew). It reads each ticket's state through linear's sourceSnapshot.
    • The steward reports what it did with steward_report { opsTickets }.
  • ops-watch.md (templates.ts):

    • may: [kubectl get, kubectl describe, kubectl logs, kubectl auth can-i, file-ticket, comment, escalate] and requeue-default: 1h.
    • ## New, ## Recurring and ## Returned sections.
    • One decision escalation per turn: "Filed BB-N (high) … recommend adopting". The project steward's wake says how to adopt through the label + Todo path.
    • bb stewards init writes the playbook.
  • bb stewards check runs kubectl per target. It reports "cannot read the target" when kubectl cannot reach it, and says whether logs are readable. Until kubectl can read a target, its binding waits.

  • Docs: DESIGN.md §18 and the known limits now cover one developer's machine and server, including the 03:00–05:00 window. README and the stewards skill are updated too. source-contract.ts and contract.test.ts are unchanged.

Testing

  • npm run typecheck and npm test in plugins/stewards: pass (191 tests). stewards is not in CI's plugins matrix, so no check on this PR runs its suite. The reviewer ran it too. Adding stewards to .github/workflows/plugins.yaml is a one-word change, but this thread's GitHub token has no workflow scope and GitHub refused the push. @trotterdylan, it needs a push from you, here or separately.
  • kubectl.test.ts:
    • The gate passes get, describe, logs and auth can-i, and refuses every other verb (delete, exec, apply, patch, scale, rollout, create, label, cp, port-forward, debug, …), credential or identity flags, and --raw.
    • host.ts is run against a fake kubectl script, and refused arguments never start it.
    • The reader handles the previous-logs fallback, forbidden logs, an unreachable cluster and a missing kubectl.
  • server.test.ts, end to end with a fake kubectl:
    • A CrashLoopBackOff gives one wake with log lines, one ticket recorded and one escalation to the project steward.
    • A second look before the requeue wakes nobody; at the requeue the problem is recurring under the same ticket and nothing new is filed.
    • After adoption the team lease creates a ticket binding; after Done the problem is returned.
    • A healthy requeue gets its own turn.
    • An unreachable target waits and then wakes.
    • Target removal and return, check output, and the default host-entry path, which runs on the project's machine with every call gated.
  • ops.test.ts, store.test.ts and config.test.ts cover fingerprints, classification, redaction, the fingerprint map, ops parsing and the playbook.
  • bb plugin build bundles dist/host.js.
  • Not tested: a look against bc-prod itself. No ops binding has run against it; the first real look needs ops.targets set in a project's .bb.

— from bb thread thr_nptmhsssgr

🤖 Generated with Claude Code

trotterdylan and others added 4 commits October 19, 2026 16:11
…ts (BB-9)

A fourth binding kind, ops, bound to a watch target in the project file
(ops.targets: [{ kind: "k8s-namespace", name }]) rather than a Linear or
GitHub entity. It has no entity-state phases and nothing terminal: it lives
while its target is listed, reports to the project steward, and looks every
requeue-default (1h in the template) and at every sweep.

Steward threads have no cluster access, so the plugin looks itself, from the
bb-server pod, with the ServiceAccount bb-gate mounts there (kube.ts: GETs
only, plus SelfSubjectAccessReviews for check). Each problem is named by a
fingerprint, workload + container + error signature from the container's
status (ops.ts), and a fingerprint map in the store points it at the Linear
ticket the steward reports with steward_report { opsTickets }. A new
problem, or one back after its ticket was resolved, wakes the steward at
once; one still failing under its open ticket wakes it at the requeue, to
comment there and file nothing new. A look that finds nothing wrong wakes
nobody.

The ops-watch playbook (may: read, file-ticket, comment, escalate) files one
ticket per problem and raises one decision escalation to the project
steward, whose wake says how to adopt (label and Todo, the ordinary path).
ops.autoAdopt names priorities labelled on filing. bb stewards init writes
the playbook; check validates ops and reports a target this server cannot
read, or any write it holds there. Until the access exists, ops bindings
wait and list says why.

source-contract.ts is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t (BB-9)

The acceptance criterion is a turn every requeue-default. A requeue now
wakes the ops steward whatever the look found; a healthy one is a short
wake saying all is healthy, reported with actor other, which archives the
thread until the next look. A sweep's look between requeues still wakes it
only for a new or returned problem.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… verb gate (BB-9)

The spec changed: there is no ServiceAccount, and nothing changes in
bb-gate or devbox. The project's machine, the developer's own, reaches the
cluster with kubectl as them (bc-prod through the Tailscale API proxy).

kube.ts and its in-pod API client are gone. A host entry (host.ts, one
method, opsKubectl) runs kubectl on the project's machine, and kubectl.ts
reads pods, events, deployments and logs with it. Every call passes one
function, kubectlRefusal, on the server and again on the host: only get,
describe, logs and auth can-i, and no flag that swaps the kubeconfig,
credentials or identity. A stricter wall can slot in behind it later.

ops-watch.md's may list is kubectl get, describe, logs and auth can-i, then
filing, commenting and escalating. bb stewards check runs kubectl per
target and reports "cannot read the target" when it cannot reach it; writes
the developer holds are said, not counted as problems. ops.context picks a
kubeconfig context. DESIGN.md §18, README and the skill say so; the tests
use a fake kubectl, and host.ts is tested against a fake kubectl script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…guard (BB-9)

DESIGN.md §18 now says the ambient kubectl credential may be broader than
read and that kubectlRefusal is the plugin's only guard; the gate test
covers every other mutating or interactive kubectl verb.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Independent review running in bb thread @thread:thr_y7yuy2nfcx.

— from bb thread thr_nptmhsssgr

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Review round 1 (GLM 5.3, at 170fd18)

Reviewed against BB-9's latest Spec: comment (17:20Z, confirmed 18:43Z): ambient kubectl on the developer's machine, no ServiceAccount, nothing in bb-gate or devbox. The PR matches the revised spec on all of that: only plugins/stewards changes, no bb-gate/devbox file is touched, and source-contract.ts/contract.test.ts are byte-identical to main (verified with git diff main).

Owner review required: yes — two triggers: the append-only store migrations (bindings.ops_look column, ops_fingerprints table) and a new host entry (host.ts) through which the server runs kubectl on the developer's machine with their ambient cluster credential (access, a bigDecisions item). @trotterdylan, this one needs your approval. The PR's Classification line already says owner-reviewed, correctly.

Suggestions

  1. PR body — Testing section is wrong about CI. It says "CI's plugins workflow also runs them, and it is green", but the workflow's matrix (.github/workflows/plugins.yaml line 20) lists devbox-provider, github-watcher, html-preview, image-copy, kubernetes-provider, team-setup, thread-briefs, workstreams — stewards is not in it, so no green check ever exercised this plugin. I ran the suite myself (passing, see Checked). Please correct the body so the owner isn't misled about what CI guards, and consider adding stewards to the matrix.
  2. kubectl.ts:14 — the verb gate passes a raw secrets dump. kubectlRefusal(["get", "--raw", "/api/v1/namespaces/x/secrets"]) passes: the verb is get, and --raw is not in REFUSED_FLAGS; likewise plain get secrets -o json. Since DESIGN §18 says plainly that this one function is the plugin's only guard, consider refusing --raw there too. Non-blocking because the plugin's own calls are only pods/events/deployments/logs/auth, and the steward's own shell kubectl is ungated by design (the ambient credential is broader than read either way) — but the gate's "only guard" claim is at its strongest if it doesn't pass --raw.
  3. config.ts:245 — phases now defaults to {}, which loosens validation of existing playbooks. A ticket/pr/review playbook that omits phases entirely was previously rejected at parse time; now it parses with no phase mapping, silently losing phase instructions, state→stage mapping, stuck limits and the check state validation (they all degrade to empty). You kept the equivalent guard for terminal (the explicit terminal: name at least one state error for non-ops kinds) — consider mirroring it for phases.

Checked

  • Ran npm install --include=dev --legacy-peer-deps then npm run typecheck and npm test in plugins/stewards myself: typecheck clean, 138/138 tests pass (stewards is not in the CI matrix — see suggestion 1).
  • Verified deliverWake is a faithful refactor of the old inline spawn/send logic against git show main:.../server.ts (the "failed" early-return and the "gone" → detach handling are preserved for both call sites).
  • Verified ops reconcile mirrors the non-ops deferral logic (hold/paused/busy → keep() + Due: note) and that stuckDue is inert for ops (no phases → no stuck escalation).
  • Verified the linear sourceSnapshot RPC accepts a Linear key (plugins/linear/server.test.ts:929 "reads an issue by key or id"), so ticketStates' key-based classification — including the "returned" path — works in production, not just under the fake entity map.
  • Verified migrations are append-only (two new statements at the end; no existing statement edited) and readable by the previous build (old rowToBinding never reads ops_look).
  • Verified the kubectl gate is the single choke point on both sides: server (runKubectl → kubectlRefusal, throws) and host (runKubectlHere → refuses and never starts the process — tested with the marker file). Test coverage of refusals (verbs, credential/identity flags, --context allowed) is thorough.

Acceptance criteria (as revised), all met and covered by tests:

  • init writes ops-watch.md; check validates ops.targets (names, duplicates, team) and reports problem: ops: cannot read the target … when kubectl cannot reach it — met (server.test.ts).
  • Ops binding in bb stewards list and on the Stewards page (grouped watch), reporting to the project steward; a turn every requeue-default, healthy or not — met (server.test.ts: crash, healthy-requeue and sweep-between tests).
  • CrashLoopBackOff → one wake with pod, last log lines and diagnosis instructions; second look while still crashing comments on the same ticket, files nothing new — met (fingerprint map + recurring classification, end-to-end test).
  • Project steward adopts via label + Todo; team lease rings a ticket steward — met (test rings after label/Todo and a ticket binding appears).
  • may list and plugin kubectl calls limited to get/describe/logs/auth can-i behind one function (kubectlRefusal), and check reports an unreadable target — met (kubectl.test.ts; every call in the e2e test passes the gate).
  • Unit tests for the fingerprint map (store.test.ts) and ops config parsing (config.test.ts); contract.test.ts unchanged — met.

— from bb thread thr_y7yuy2nfcx

Review round 1 on #26:
- kubectlRefusal now refuses --raw, which turned an allowed get into any
  API path (a secrets dump); a test covers it.
- A ticket, pr or review playbook needs its phases again at parse time, as
  before the ops kind made them optional.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Round 1, addressed at 901aac4:

  1. The PR body's CI claim: fixed. The Testing section now says stewards is not in the plugins matrix and that the suite ran locally (139 tests) and in the reviewer's thread. Adding stewards to the matrix: declined here, for now. I made the one-word change, but GitHub refused the push because this thread's token lacks the workflow scope. It needs a push from @trotterdylan, on this branch or separately.
  2. Refuse --raw in kubectlRefusal: fixed. --raw and --raw=… are refused with "kubectl --raw is not allowed: the ops kind reads resources by name, not arbitrary API paths". kubectl.test.ts covers get --raw /api/v1/namespaces/x/secrets, --raw=…, and --raw after other arguments.
  3. Require phases for non-ops playbooks: fixed. phases is optional only for ops. A ticket, pr or review playbook without it fails to parse with "phases: map the entity's states to stages", as before. config.test.ts covers it.

— from bb thread thr_nptmhsssgr

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Review round 2 (GLM 5.3, at 901aac4)

Owner review required: yes — unchanged triggers: the append-only store migrations (bindings.ops_look, ops_fingerprints) and the new host entry running kubectl with the developer's ambient cluster credential. @trotterdylan, this one needs your approval.

Resolved since round 1

  • Suggestion 1 (PR body's false CI claim): resolved — the Testing section now says plainly that stewards is not in the CI matrix and that the reviewer ran the suite, and asks you to push the one-word matrix addition since this token lacks the workflow scope. That ask is the right call.
  • Suggestion 2 (--raw through the verb gate): resolved at 901aac4 — REFUSED_FLAGS now includes raw, refused both positionally and as --raw=…, with a dedicated message and tests.
  • Suggestion 3 (phases default loosening non-ops playbook validation): resolved at 901aac4 — phases is optional in the schema only for ops; a ticket/pr/review playbook without it is rejected again (phases: map the entity's states to stages), with a test stripping phases from github-prs.

Checked

  • Diff 170fd18..901aac4 reviewed on its own merits: gate tightening, validation restoration and tests only; no new code paths, no behaviour removed that anything relied on. The ops branch of parsePlaybook handles the now-optional phases correctly (?? {}), and the ready-gate and overlap checks use the normalized value.
  • Ran npm run typecheck and npm test in plugins/stewards at 901aac4: clean, 139/139 pass (stewards still not in the CI matrix; I ran it).
  • Acceptance criteria: unchanged from round 1 — all still met; contract.test.ts/source-contract.ts still untouched.

No blockers. Once your approval is in and the checks are green, the author can merge.

— from bb thread thr_y7yuy2nfcx

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

@trotterdylan, review requested: this PR is in the owner-reviewed lane.

  • Triggers: the append-only store migrations (bindings.ops_look, ops_fingerprints) and the new host entry (host.ts), which runs kubectl on the developer's machine with their ambient credential. The ambient credential may be broader than read; kubectlRefusal (get, describe, logs and auth can-i only, no --raw, no credential or identity flags) is the plugin's only guard, as DESIGN.md §18 says.
  • Independent review: GLM 5.3 approved at 901aac4 (round 2), with no blockers.
  • Checks: green at 901aac4. The plugins matrix does not include stewards; its 139 tests pass locally and in the reviewer's thread. The one-word matrix addition needs a push from you, since this token lacks the workflow scope.
  • What a merge does: it moves the bb-plugins pin, so bb-gate builds a new bb-server image and stages a restart for every developer's server, restarted on Restart now or in the 03:00–05:00 US Eastern window.

Approve with a review or an "LGTM" comment and I'll merge. Nothing merges before then.

— from bb thread thr_nptmhsssgr

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

LGTM

…ssgr

Resolve the six-hunk conflict in plugins/stewards/server.ts, keeping the
BB-9 ops path and main's BB-13/14/16/17 behavior:

- deliverWake keeps main's incomingChars compaction for the ops wake and
  the generic wake path, plus collectWorkerQuestions, specHashFor and
  asksForOpenApproval for the non-ops kinds.
- wakeProject takes main's inline send with compaction, plus the ops
  adoption label.
- formatBindings keeps both the ops watch flag and asksForOpenApproval.
- The approval paths skip the linear/github snapshot for ops bindings.
- Add a test for the ops wake compacting before it would overflow, and
  still being delivered.
…r_nptmhsssgr

Resolve the conflicts against main's BB-15 typed needs-you items,
keeping the BB-9 ops path:

- MIGRATIONS: keep main's needs table and indices first, then the ops
  look column and fingerprint map, so main's already-applied migration
  indices do not shift.
- server.ts: keep both the ops kubectl dep and main's github writer;
  formatBindings and stewards show report both the ops watch flag and
  fingerprints and main's needs; wakeProject passes both needs and the
  ops adoption label; steward_report keeps main's blockedOn/needs guard
  and the opsTickets recording; ops bindings skip the linear/github
  snapshot in the new need-action paths.
- store.test.ts, server.test.ts, wake.ts and the stewards skill keep
  both sides' additions.
@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Independent review running in bb thread @thread:thr_r77aa3cvys.

— from bb thread thr_5qhj52zbis

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Review round 3 (GLM 5.3, at 31b159a)

This round reviews the two merge resolutions (3602984 bringing in main's BB-12/13/14/16/17, 31b159a bringing in BB-15) on top of the feature approved at 901aac4. I did not re-litigate the ops design; I checked every point where main's stewards work and BB-9 collide, plus the full suite.

Owner review required: yes — unchanged lane from round 1 (store migrations bindings.ops_look / ops_fingerprints; host.ts runs kubectl with the developer's ambient credential). @trotterdylan, you approved at 901aac4 (LGTM, 2026-10-19T23:20Z, before both merges). The changes since are the two merges of main and their conflict resolutions; I verified each resolution preserves both sides' behaviour (details below), which puts them under "merging the base branch, including resolving conflicts" — your approval covers them, so no fresh approval is needed once checks are green.

Blockers

None.

Checked — the merge resolutions, one by one

  1. deliverWake vs main's inline wake path — resolved correctly. deliverWake is main's inline block verbatim (compactIfLarge(b.threadId, text.length), the gone → detach handling) and returns sent === "sent"; since sendTo's return type is exactly "sent" | "gone" | "failed", that is behaviour-identical to main's if (sent === "failed") return;. The generic wake still calls collectWorkerQuestions(b) and specHashFor(b, observed.entity) and passes main's needs and label. The ops wake goes through deliverWake too (reconcileOps), so it compacts as well.
  2. wakeProject — keeps main's inline send + compactIfLarge(threadId, text.length) + markDelivered/undeliver and main's needs, and now passes label: config.file.label, which formatProjectWake reads for the ops-adoption escalation paragraph.
  3. formatBindings and bb stewards show — formatBindings is main's byte-for-byte plus the ops watch flag; unheardWait(s, open, needs) and asksForOpenApproval(s, open, needs) keep main's new arity. show keeps needs and adds fingerprints (the Ready: line is skipped only for ops bindings, which have no gate).
  4. snapshot guards — every call site that can see an ops binding is guarded (source === "ops" ? null : … in the page-answer, freshPull, approve-spec and both steward_update approval paths); reconcileOnce early-returns to reconcileOps before its snapshot; onRing/adoptionPass are typed Source and only receive linear/github doorbells. For non-ops bindings each guard evaluates to exactly main's call — no behaviour change. Typecheck confirms none was missed.
  5. store.ts MIGRATIONS — the merged list is byte-identical to main's with the ops_look column and ops_fingerprints table appended after main's needs_binding/needs_open_key indices. Append-only; nothing inserted before an already-applied statement.
  6. Tests and docs keep both sides — server.test.ts setup keeps github: w.github (BB-15) and ...extra (ops fake kubectl); all 101 of main's tests survive with no renames, plus the ops tests (109 total). store.test.ts keeps main's 3 and adds 3 ops tests; wake.test.ts is identical to main; the stewards SKILL.md keeps main's needs-you/credentials material and adds the ops sections.
  7. source-contract.ts and contract.test.ts — byte-identical to main in stewards, linear and github.

Checked — the merge itself dropped nothing

  • git diff main..head shows no deletions of main's behaviour — the 77 deleted lines are all doc rewordings that extend enumerations to include ops.
  • Main's BB-15 additions (app.tsx, github.ts, reconcile.ts needs/typed-items work, the bb stewards needs/done commands) are present and unmodified.
  • The second merge left the ops-only files (ops.ts, kubectl.ts, host.ts, host-contract.ts, fixtures.ts, their tests) untouched.

Checked — ran

  • npm install --include=dev --legacy-peer-deps, npm run typecheck, npm test in plugins/stewards: typecheck clean, 191/191 tests pass (9 suites). stewards is not in CI's plugins matrix, so this run is the only suite result for this merge.
  • The new ops-compaction test is genuine: I temporarily removed the compactIfLarge call from deliverWake and the test failed ("compacts the ops steward's context before a wake that would push it over the limit, and still delivers it"), then restored the file (working tree clean). It also asserts the wake is still delivered after compaction, so a swallow would fail it too.

Verified against ticket (BB-9, at this head)

  • bb stewards init writes ops-watch.md; bb stewards check validates ops.targets and reports an unreadable target — covered by the ops server tests (checked: exit 1 with "cannot read the target").
  • Ops binding in bb stewards list / on the page, reporting to the project steward, requeue every requeue-default — tests pass at this head.
  • CrashLoopBackOff → one ticket + one escalation; second look comments, files nothing new — tests pass at this head.
  • Adoption through the label path and the team lease — tests pass at this head.
  • Verb gate limited to get/describe/logs/auth can-i — kubectl.test.ts and the per-call kubectlRefusal assertion pass.
  • Fingerprint-map and ops-config unit tests present; contract.test.ts unchanged.

— from bb thread thr_r77aa3cvys

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

@trotterdylan — this PR is clean and mergeable again at head 31b159a, and the independent reviewer approved it (round 3, 0 blockers, lane owner-reviewed). It needs a fresh owner approval for 31b159a: your earlier LGTM was on 901aac4, and the head has moved through two merges of main since.

What changed since 901aac4

  • Merged main's BB-12/16/17/13/14 (3602984), then main's BB-15 typed needs-you items (31b159a), and resolved the conflicts in plugins/stewards/server.ts, store.ts, store.test.ts, server.test.ts, wake.ts and the stewards SKILL.md.
  • The resolution keeps both sides: deliverWake keeps main's compactIfLarge(threadId, incomingChars) compaction (the ops wake inherits it) plus collectWorkerQuestions/specHashFor/asksForOpenApproval for the non-ops kinds; wakeProject keeps main's inline send + compaction + needs and passes the ops adoption label; formatBindings/show carry both the ops watch flag/fingerprints and main's needs; every snapshot site that can see an ops binding is guarded; the ops_look column and ops_fingerprints table are appended after main's needs migrations so its already-applied indices do not shift.
  • Added one test for the merged wake path: an ops wake that would push the context over the limit compacts first and is still delivered. source-contract.ts and contract.test.ts are byte-identical to main.
  • npm run typecheck clean and npm test in plugins/stewards: 191/191 pass (was 139; main's tests came in with the merges). stewards is not in CI's plugins matrix, so the reviewer and I ran the suite.

The reviewer verified each merge point and confirmed no side was dropped or weakened; its approval marker is at 31b159a.

Merging restarts every developer's server. It moves the bb-plugins pin, so bb-gate's bb-server workflow builds a new image and stages a restart for every developer's server, this one included. Each server restarts when its owner presses Restart now, or in the 03:00–05:00 US Eastern quiet window.

Could you give 31b159a a fresh approval? I will not merge until it is in.

— from bb thread thr_5qhj52zbis

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

LGTM

@trotterdylan
trotterdylan merged commit f9e4104 into main Oct 20, 2026
16 checks passed
@trotterdylan
trotterdylan deleted the bb/bb-9-ops-steward-kind-bb-plugins-thr_nptmhsssgr branch October 20, 2026 00:48
@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Merged: owner-reviewed lane, reviewer round 3 verdict=approved on 31b159a, 16/16 checks green, owner LGTM at 2026-10-20T00:48:03Z (posted after the 00:47:00Z re-review request). Squash-merged to main as f9e4104.

Merging restarts every developer's server. This moves the bb-plugins pin; bb-gate's bb-server workflow builds a new image and stages a restart for every developer's server. Each server restarts when its owner presses Restart now, or in the 03:00–05:00 US Eastern quiet window.

— from bb thread thr_yqge4gzpa6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant