Skip to content

fix(heartbeat): pause, resume and terminate record the verified principal (#21136) - #21148

Merged
mrveiss merged 29 commits into
mainfrom
issue-21136
Nov 12, 2026
Merged

mrveiss merged 29 commits into
mainfrom
issue-21136

Conversation

@mrveiss

@mrveiss mrveiss commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Thinking Path

Heartbeat pause, resume and terminate each recorded their actor differently (body field, nothing, username). Route them through one helper that takes the principal id from the verified caller and writes it to the row and an audit event.

Single-issue rationale

Only #21136: one defect (inconsistent actor recording) across three routes in one file, plus the audit actions it needs.

What Changed

  • autobot-backend/api/heartbeat.py: _actor_id / _audit_control; pause, resume and terminate use resolve_principal_id and emit agent.pause|resume|terminate. The body paused_by is ignored (description updated).
  • autobot-backend/services/audit/taxonomy.py: three new AuditAction members.
  • Regenerated autobot-frontend/src/types/generated/api.ts (field description only).
  • Resume has no resumer column on the row (it would need a migration), so the audit event is the record.

Verification

autobot-backend/api/heartbeat_actor_21136_test.py (4 tests: principal id per route, resume audit names caller, forged body actor ignored). Ran with the audit vocabulary, one-admin-gate, docstring-restatement and fast-guard tests: 2133 passed. api.ts regenerated via the verify-generated-types recipe.

Model Used

Claude Sonnet 5.5

Closes #21136
Refs #21137

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Paused agents now show the pausing person’s display name, or “System” for system-triggered pauses.
    • Pause, resume and terminate actions are attributed to the authenticated caller rather than caller-supplied identity details.
  • Bug Fixes
    • Heartbeat state remains unchanged when an audit record cannot be saved; the action returns a service-unavailable error.
    • Non-admin users resuming system-paused agents are still routed for approval.

@mrveiss mrveiss added this to the M2 - Company OS workflow-ready milestone Nov 8, 2026
@mrveiss mrveiss added bug Something isn't working backend area: company-os Wave 4 · cluster A — Company OS & LLC canvas phase:M2.6 Budgets enforced and costs recorded labels Nov 8, 2026
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 3321184 and e31b6a9.

Files ignored due to path filters: 2

  • autobot-frontend/src/types/generated/api.ts is excluded by !**/generated/**
  • scripts/python_file_size_known_large.py is excluded by !scripts/python_file_size_known_large.py
Files selected for processing: 13

  • autobot-backend/api/heartbeat.py
  • autobot-backend/api/heartbeat_actor_21136_test.py
  • autobot-backend/api/heartbeat_responses.py
  • autobot-backend/api/schemas_heartbeat.py
  • autobot-backend/api/schemas_system.py
  • autobot-backend/llc/services/member_standing.py
  • autobot-backend/llc/tests/test_display_name_of_21136.py
  • autobot-backend/services/audit/taxonomy.py
  • autobot-backend/tests/api/test_heartbeat_pause_route_actor_21136.py
  • autobot-frontend/src/components/agents/HeartbeatPanel.vue
  • autobot-frontend/src/components/agents/__tests__/HeartbeatPanel.test.ts
  • autobot-frontend/src/i18n/locales/en.json
  • autobot-frontend/src/utils/displayName.ts
Walkthrough

Heartbeat control routes now attribute pause, resume and terminate actions to the authenticated caller and record audit events before changing state. Heartbeat responses include resolved actor names, which the frontend displays with a translated label for system actors.

Changes: Heartbeat actor attribution and display

Layer / File(s) Summary
Heartbeat response contracts and actor-name resolution
autobot-backend/api/schemas_heartbeat.py, autobot-backend/api/schemas_system.py, autobot-backend/api/heartbeat_responses.py, autobot-backend/llc/services/member_standing.py, autobot-backend/llc/tests/test_display_name_of_21136.py, autobot-backend/api/heartbeat.py
Heartbeat schemas and response converters are defined in dedicated modules. Heartbeat state responses resolve valid user actor IDs to display names; missing or unrecognised actors have no resolved name.
Verified actor attribution and audit ordering
autobot-backend/api/heartbeat.py, autobot-backend/services/audit/taxonomy.py, autobot-backend/api/heartbeat_actor_21136_test.py, autobot-backend/tests/api/test_heartbeat_pause_route_actor_21136.py
Pause, resume and terminate routes use the authenticated caller as the actor and record audit events before changing state. Tests cover actor attribution, audit ordering and the response when audit recording fails.
Heartbeat panel actor labels
autobot-frontend/src/components/agents/HeartbeatPanel.vue, autobot-frontend/src/components/agents/__tests__/HeartbeatPanel.test.ts, autobot-frontend/src/i18n/locales/en.json, autobot-frontend/src/utils/displayName.ts
The panel displays resolved names and a translated label for system actors. Pause requests send the reason without an actor field.

Severity of issue fixed: Medium

Merge Risk: Moderate · previous review 33211

The new pause-route test cannot pass as written and should be fixed before merge. An audit entry can also record a successful pause, resume or terminate that did not actually commit. The heartbeat config endpoint may return another organisation's actor display name, which needs an owner decision on organisation scoping.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Out of Scope Changes check Warning The diff contains changes that #21136 does not require and the PR description does not list. (1) heartbeat_responses.py and the state responses across the heartbeat endpoints now resolve paused_by… Remove the display-name state-response changes, display_name_of, actorLabel, and the related frontend display changes from this PR, or move them to a separate issue and PR. Revert the schema relocation from schemas_system.py to `schem…
Passed Passed checks: 3 passed

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: pause, resume and terminate now record the verified principal (caller identity) instead of a body-supplied actor. The summary confirms this change, which also adds aud…
Linked Issues check Passed [#21136] The shared helpers _actor_id and _audit_control in autobot-backend/api/heartbeat.py serve pause, resume and terminate. Each route resolves the actor with resolve_principal_id from the…
Full details: Title check

Explanation

The title names the main change: pause, resume and terminate now record the verified principal (caller identity) instead of a body-supplied actor. The summary confirms this change, which also adds audit events and display-name resolution, so the title covers the primary point. It is 82 characters, which is slightly long but within reasonable limits. The title uses the conventional fix(heartbeat) prefix and includes the issue number, which is acceptable.

Full details: Linked Issues check

Explanation

[#21136] The shared helpers _actor_id and _audit_control in autobot-backend/api/heartbeat.py serve pause, resume and terminate. Each route resolves the actor with resolve_principal_id from the verified caller. The principal ID is written to the row where a column exists, and an audit event is emitted (agent.pause, agent.resume, agent.terminate). Resume has no resumer column. The audit event is its record, which the issue accepts because it requires an audit event naming the caller. The body paused_by field is ignored. Tests cover principal ID per route, resume audit naming the caller, and a forged body actor being ignored (autobot-backend/api/heartbeat_actor_21136_test.py, autobot-backend/tests/api/test_heartbeat_pause_route_actor_21136.py). The audit write runs before state changes, and a failed audit returns 503 with no state change. The pause-overwrite defect of #21056 is not in scope and is not claimed. Evidence comes from the PR summary and description. Source inspection was not performed, so the exact row write for terminate rests on the described behaviour.

Full details: Out of Scope Changes check

Explanation

The diff contains changes that #21136 does not require and the PR description does not list. (1) heartbeat_responses.py and the state responses across the heartbeat endpoints now resolve paused_by to a display name through display_name_of (llc/services/member_standing.py, with its tests). This adds a read-side display feature across endpoints, not actor recording. (2) displayName.ts adds actorLabel, and HeartbeatPanel.vue, its tests and en.json add the agent.systemActor label and a paused_by_name display. This is frontend display work. The issue requires only backend recording. Removing the body paused_by from the pause request is connected to the forged-body requirement and is acceptable. (3) The heartbeat request and response schemas move from schemas_system.py to schemas_heartbeat.py. This relocation is a refactor that the issue does not request. The PR description states that the change touches only heartbeat.py, taxonomy.py and the generated API types. It does not disclose these additional files. The remaining display-name lookup in llc/api/work_items.py is a follow-up and is not part of this PR's requirements. The summary also reports that resume queues approval for non-admins. The summary does not establish whether this behaviour is new or pre-existing.

Resolution

Remove the display-name state-response changes, display_name_of, actorLabel, and the related frontend display changes from this PR, or move them to a separate issue and PR. Revert the schema relocation from schemas_system.py to schemas_heartbeat.py unless a separate issue requires it. Keep the taxonomy members, the heartbeat route changes, the body-field removal and their tests. Update the PR description so that it lists every changed file and its linked issue. Confirm that the resume approval behaviour is unchanged from the base revision, or document it as a deliberate change.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Notice: 29 open PRs — past the runaway threshold (25)

This is not a request to defer this PR. There is no cap on open PRs (#19397) -- nothing blocks opening or pushing a PR.

This notice only means the count is high enough to be worth a glance for a runaway — something opening PRs in a loop, or a merge pipeline that has stalled so nothing is draining.

Currently open:

If the queue is draining normally, ignore this. Otherwise:

  1. Check whether CI is dispatching at all — see the ci-dispatch-watchdog status on these PRs
  2. Approved PRs land through the merge train the coordinator sequences (merge commits, never squash) -- check the open chore(merge-train) PR is moving, not each PR on its own
  3. Look for a loop opening near-identical PRs

Warn-only runaway detector — .github/workflows/pr-queue-gate.yml. It never blocks a merge.

@mrveiss

mrveiss commented Nov 8, 2026

Copy link
Copy Markdown
Owner Author

Verdict: CHANGES (reviewed head 537bc8b)

Actor resolution, spoof closure and ACs are sound. One blocking finding (non-durable audit) and two non-blocking ones.

Blocking

  1. autobot-backend/api/heartbeat.py _audit_control (~line 275): audit_record goes through emit_security -> emit, which is fire-and-forget (services/audit/audit.py:158). For resume this event is the only record of the resumer (the row is cleared), so a dropped write loses it silently. The bug(mcp): external MCP calls reach the audit log with no user, because dispatch passes only the role #20709 precedent is durable=True (record_committed, audit.py, awaited and bounded). Use the durable path for all three actions and decide what happens if the row is not written. Also, the event is emitted before session.commit(), so a failed commit leaves an event for an action that did not happen. Emit after the commit, or document the order.

Non-blocking
2. autobot-frontend/src/components/agents/HeartbeatPanel.vue:418 still sends paused_by: 'user', and :33 renders config.paused_by. The panel will now show an opaque principal id instead of a name, and the sent field is silently ignored (the Field description says so, which is good). Either resolve the id to a display name on the read path or send no paused_by from the panel. Rows that hold usernames (old terminate, old pause) remain readable since the column is a free string and _state_to_response passes it through; no rewrite is needed.
3. resume_agent is ~50 lines (pre-existing, touched here); above the 30-line standard. Extract the system-pause gate when convenient.

Checks

  • Spoofing: the actor comes only from Depends(get_current_user) (_user); body, query and headers are not read. test_pause_records_principal_and_ignores_forged_body_actor sends paused_by="system:forged"; on the old code paused_by = body.paused_by or "user" stores the forged value, so the test would fail there. This also closes a real hole: resume's startswith("system:") approval gate keyed off that body value.
  • One path: all three routes call _audit_control -> _actor_id -> autobot_shared.principal.resolve_principal_id (canonical; claim order id, user_id, sub). Fallback to username matches the issue.
  • Taxonomy: agent.pause, agent.resume, agent.terminate sit beside the existing agent.invoked; no collisions. autobot_shared/audit_actions.py has no agent.* entries to update.
  • terminate stores the principal id (test_terminate_stores_principal_id_not_username).
  • Hygiene: heartbeat.py 563 lines, taxonomy.py 261; schemas_system.py is a one-line in-place change (no growth); no prints, no hardcoded values, no swallowed errors; new helpers under 30 lines.

#21136 ACs

  • AC1 resume records the caller and emits an event: met by _audit_control(_user, AuditAction.AGENT_RESUME, ...) (durability caveat above).
  • AC2 terminate stores the principal id: met (state.paused_by = _audit_control(_user, AuditAction.AGENT_TERMINATE, ...)).
  • AC3 no actor from body, with a forged-body test: met for pause (test present). Resume and terminate bodies have no actor field.
  • AC4 one shared path: met.
    Closes is acceptable once finding 1 is fixed.

State: unresolved review threads 0. CI at head: 0 real failures; 11 success, 10 in progress, 9 queued, 26 cancelled (superseded runs), 2 skipped, 1 neutral. Milestone: M2 - Company OS workflow-ready. Labels: bug, backend, area: company-os, phase:M2.6.

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

✅ SSOT Configuration Compliance: Passing

🎉 No new hardcoded values of either class — ssot and other both block.

Known backlog in pipeline-scripts/hardcoded_values_baseline.txt is suppressed and tracked in #14371.

@mrveiss

mrveiss commented Nov 8, 2026

Copy link
Copy Markdown
Owner Author

Code review (code-reviewer pass) at 5dd5967 (delta from 537bc8b; 63dec16 is the api.ts regeneration)
Verdict: CHANGES NEEDED (0 blocking, 1 MED)

# Severity File:line Issue Fix
1 MED autobot-backend/api/heartbeat.py _audit_control and its three call sites (pause, resume, terminate) The durable write now runs AFTER session.commit() and its bool result is ignored, so a failed write only logs and counts. For resume the row is cleared, so this event is the only record of the resumer; the action succeeds with no record. The canonical pattern (secrets route, api/secrets_audit.py, #20557: required=True records BEFORE the mutation and returns 503 "Audit trail unavailable; nothing was changed") blocks the action when the record cannot be written. auth_service_opt_in.py (#16333) likewise refuses to proceed on a failed record_committed. Pause/resume/terminate are admin control actions, and "same operation, same behaviour on every route" applies. No owner decision to diverge is recorded. Call record_committed before the commit; if it returns False, raise 503 with the same detail and leave the state unchanged. Failed commit after a written event is the lesser evil (an attempt record), which the secrets route also accepts. If after-commit is intended, record the owner decision (ARCHITECTURE_EXCEPTIONS.md) and at least surface the False result.
2 LOW heartbeat.py _paused_by_name The select(User.display_name, User.username).where(User.id == ...) lookup is a third inline copy (also in llc/api/work_items.py _assignee_display and llc/api/companies.py). It uses the shared resolve_display_name, so there is no second formatter. Optional follow-up: one shared lookup helper.

Answers

  1. Audit ordering: write BEFORE the commit and fail with 503, matching the secrets pattern; after-commit plus a counter is not acceptable for the only record of the resumer (item 1, MED).
  2. One helper: yes, resolve_display_name from autobot_shared.user_management.models.user, the same import work_items.py uses, no second formatter. actorLabel (utils/displayName.ts) is new and not a duplicate: the only existing helper is displayNameOf(user), which takes a user object; actorLabel handles an id + resolved name + system: label. No blocking duplicate.
  3. Moved, not copied: yes. _state_to_response, _run_to_response, _event_to_response, _wakeup_to_response are removed from heartbeat.py and now live only in heartbeat_responses.py; the 7 request/response classes are removed from schemas_system.py (diff is deletions only) and defined once in schemas_heartbeat.py. schemas_system.py is 4117 lines, matching the lowered ceiling 4117.
  4. api.ts: 63dec16 is +5 lines, paused_by_name only.

CodeRabbit threads: 0 review threads (only the summary comment).
AC coverage (Closes #21136): AC1-AC4 as confirmed at 537bc8b, unchanged in this delta (_actor_id from get_current_user; terminate stores the principal id; body actor ignored; one shared path). The earlier non-blocking items are fixed: the panel no longer sends paused_by and renders the resolved name (HeartbeatPanel.vue:33), and resume_agent is decomposed. Closes stays acceptable once item 1 is resolved.
Main-merge commits: none in the delta (4 author commits on the first-parent line).

@mrveiss

mrveiss commented Nov 8, 2026

Copy link
Copy Markdown
Owner Author

Delta review → adf4fdb (fix 27938ad, plus a main merge): APPROVE.

Queued for the next merge train.

@mrveiss mrveiss left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: CHANGES @ 3321184
Scope: delta 46de677..3321184 (2 files: schemas_heartbeat.py description, new route test). The earlier locale finding is withdrawn: locale-parity.test.ts only forbids keys in non-English locales that en.json lacks, and i18n_untranslated_ratchet_test.py only fails when an existing translation is lost against base; an en-only agent.systemActor passes both (fallbackLocale en).
G1 ok: schema text equals the api.ts JSDoc at 80017 character for character. _paused_by_name (heartbeat.py:~527) returns None for no actor, system:*, legacy free text and unknown user, so the sentence covers every null case. Dispatch Generated Types Autofix run 43185053629: success at 3321184 ("already fresh"), which covers the other schema hunks too.
G2 ok: the PR adds no hardcoded UI string (the only new template text goes through $t; "Paused By" and 'Manual pause from UI' are pre-existing).
(a) non-blocking: the fallback matches budget_policies.py:244 and admin_orphan_repair.py:66, and #21136's ACs do not forbid it. But resolve_principal_id returns None for service keys and dev-header auth, so "unknown" or a username can be stored for an authenticated caller. Not forgeable, but not a principal id. Filed #21368 (sub-issue of #21137), covering all sites.
(b) BLOCKING: autobot-backend/tests/api/test_heartbeat_pause_route_actor_21136.py is a real route test (router mounted, real get_current_user via real_auth_middleware, same override pattern as the 21119 test), but it will error. Line 40 patches _state_response to return {}, and the route declares response_model=HeartbeatConfigResponse (heartbeat.py:~303), which has required fields (agent_id, heartbeat_enabled, status, heartbeat_interval_seconds, max_run_duration_seconds, current_task_id, last_heartbeat_at, session_params, extra, created_at, updated_at). FastAPI raises ResponseValidationError and the TestClient re-raises it, so the 200 assertion is never reached. Fix: patch _paused_by_name (AsyncMock, None) and give the state SimpleNamespace every field _state_to_response reads (agent_id, heartbeat_enabled, error_*, max_run_duration_seconds, current_task_id, last_heartbeat_at, session_params, extra, created_at, updated_at), or return a valid HeartbeatConfigResponse. The rest walks clean: the forged body is ignored (AgentPauseRequest.paused_by is unused), the assertions would fail if the route used it, and there is no Redis or DB. Unverified: no other test imports api.heartbeat at module scope under the stub conftest. The existing api/heartbeat_actor_21136_test.py does, which is some evidence.
(b2) non-blocking: no unauthenticated-request test. Auth is per-route Depends(get_current_user) on pause/resume/terminate (heartbeat.py:312, 399, 440), the same dependency the 21119 test exercises. A 401 assertion on pause would be cheap; add it in the same fix.
(c) non-blocking: HeartbeatPanel.vue is 721 lines on main and on head, and the ceiling is 721 in scripts/frontend_file_size_known_large.py:26. No import-order or blank-line rule is configured (oxlintrc has overrides only; prettier does not touch blank lines), so the current form should not fail lint.
Guards: new test is 61 lines; the *_21136 name matches the 21119 sibling; no non-py/md registry references the neighbouring non-route modules, so no reach entry is evident.
Own CI: the suite shows cancelled runs (coordinator), not failures; the cheap gates (PR structure, issue link, conflict gate, typecheck, types dispatch) pass.
Blocking fix: (b) only. Static review; not run.

@mrveiss

mrveiss commented Nov 12, 2026

Copy link
Copy Markdown
Owner Author

Addressed the CHANGES verdict (B1, B2) in 11b2e0d. Test file only; no product change. Not run locally; needs CI.

B1: the test no longer patches _state_response. The real _state_response and _state_to_response run, so the response is built and validated by HeartbeatConfigResponse. The fake state carries every attribute the converter reads: agent_id, heartbeat_enabled, status, paused_reason/at/by, error_detail/at/code, both interval fields, current_task_id, last_heartbeat_at, session_params, extra, created_at, updated_at. The datetimes are timezone-aware. Only the store touchpoints are faked, at the names the route module binds: record_committed (returns True), _get_or_create_state, and _paused_by_name (None, no user lookup). The session and scheduler are dependency overrides. Auth uses the same app construction as the 21119 test.
Expected result: 200 with status "paused", paused_by "principal-7", paused_by_name null. The test asserts the state write, the audit actor and the response, and that the response model-validates. It fails if the route used the body: state.paused_by == "principal-7" and audits == ["principal-7"] would see "system:forged".

B2: parametrized over pause, resume and terminate. With no identity the route returns 401 (get_current_user ends in raise_auth_error("AUTH_0002"), catalogued as 401; the captcha/diagnostics/metrics auth test asserts 401 for the same fixture). The test also asserts no audit write, no state fetch, no commit, and no scheduler call.

Import under the conftest stubs: heartbeat_actor_21136_test.py already imports api.heartbeat at module scope. The route path additionally uses the real with_error_handling (functools.wraps; HTTPException passes through) and FastAPI response-model building. I found nothing that resolves to a bare stub, but this is by reading only.

@mrveiss mrveiss left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE @ 11b2e0d

Scope: delta 3321184..11b2e0d only (one file, the route test); the rest of the PR was settled by the previous review. Static review; not run.

Import: same imports as the previous revision plus HeartbeatConfigResponse and HeartbeatStatus (real modules); api.heartbeat is already imported by heartbeat_actor_21136_test.py. real_auth_middleware comes from tests/conftest.py, as in the mirrored 21119 test.
App: router has no prefix, mounted at /api/heartbeat, so /api/heartbeat/a1/{pause,resume,terminate} match. All Depends are overridden: get_db_session and _get_scheduler (identity with the names api.heartbeat binds), get_current_user (stub key to real function, same pattern as the 21119 and captcha tests). The fake middleware's identity.user is read at call time, so the harness can flip it to None.
Pause walk: body {"reason","paused_by"}; AgentPauseRequest declares both fields, so it parses. State "active" is neither "terminated" nor "paused" (HeartbeatStatus is a str Enum compared via .value). _actor_id on the dict gives "principal-7" ("id" is first in _CLAIM_ORDER). _audit_control builds a real AuditEvent (AGENT_PAUSE exists), the async fake _record returns True and appends event.actor_id. State is a SimpleNamespace; every attribute _state_to_response reads is present. commit and refresh are AsyncMock, disable_agent is AsyncMock and awaited. _state_response awaits the patched _paused_by_name(session, "principal-7") and gets None. Response validates (status str, ISO strings, session_params {}, extra None). Expected: 200, status "paused", paused_reason "r", paused_by "principal-7", paused_by_name null, paused_at set.
Assertions: all hold, and the state and audit assertions would fail if the handler used the body's "system:forged".
Unauthenticated, all three routes: bodies are valid for their models ({} for resume, reason for terminate), so no 422. get_current_user finds no service opt-in and no user or run/device token, then raises raise_auth_error("AUTH_0002"), a plain HTTPException 401 (AUTH_0002 maps to 401 in error_catalog), so no extra exception handler is needed (same as the captcha precedent). The dependency raises before the handler, so with_error_handling is never reached. All "nothing called" assertions reference the right fakes.
Style: no line over 120 columns; param ids are valid; monkeypatch only.

No blocking findings. Non-blocking: the resume 202 and 409 branches are not covered (out of scope for this delta).

@mrveiss

mrveiss commented Nov 12, 2026

Copy link
Copy Markdown
Owner Author

Landing on its own (a single PR does not get a merge train): approved at 11b2e0df80; the branch has since gained only automatic merges of main (no authored commit); 0 unresolved review threads; it merges when its own CI is green at the current head and it is 0 behind main.

@mrveiss

mrveiss commented Nov 12, 2026

Copy link
Copy Markdown
Owner Author

Correction to the previous comment: this PR cannot land on its own from its current head. The head is an automatic sync merge of main that is marked [skip ci], so no CI runs exist for it. It will board a two-member merge train instead, where CI runs on the combined tree.

@mrveiss

mrveiss commented Nov 12, 2026

Copy link
Copy Markdown
Owner Author

Boarded merge train #21382 (T117) at 9c3cf775af. Do not push to this branch while it is on the train; it will show as merged when the train lands.

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

Labels

area: company-os Wave 4 · cluster A — Company OS & LLC canvas backend bug Something isn't working phase:M2.6 Budgets enforced and costs recorded

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(company-os): heartbeat resume/terminate routes record the acting user inconsistently

1 participant