Skip to content

feat: expose actionable cockpit state and workflow evidence - #435

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/cockpit-actionable-state
Oct 1, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/cockpit-actionable-state

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Cockpit attention rows previously carried only severity, prose and a copy prompt. Extend the existing v1 feed with optional stable identity, canonical workflow state, evidence-based reasons, action descriptors and explicit human decisions. Overnight workflow problems demonstrate the contract while existing feeds remain compatible.

Actions describe links or existing manual handoffs; detection and rendering execute nothing. Safety defaults to unclassified when omitted. The source owner may declare a valid_until deadline; no global expiry policy is invented.

Tracks #434; close the task after both producer and website consumer are merged.

API Changes

  • Added optional id, state, reason, actions, recommended_action_id, requires_human_decision and decision item fields to the v1 feed contract.
  • Added optional keyword-only valid_until to build_state; validates an owner-declared UTC deadline at or after updated.
  • Existing required fields, schema version, legacy prompts and organ verdict ownership remain unchanged. Advanced metadata is validated when present. No numerical library or scientific workspace API changes.
  • Website consumer: feat: show cockpit actions and honest observation freshness pyautolabs.github.io#22; land this producer first.

Test Plan

  • Focused state/board/degraded/GitHub-data suite: 104 passed.
  • Full Brain suite: 1,107 passed. The initial run had two environment/path failures; rerunning with the isolated task activation and without inherited per-organ overrides passed.
  • All nine currently published organ feeds pass the extended validator.
  • In-session diff review; no claim of independent review.

Heart gate

Live user authorization: “Ship cockpit #434 despite Heart RED”. This authorizes commit, push and opening the two pending-release PRs only. No merge or release authorization.

Heart RED (snapshot 2026-10-01T09:18:46.359669+00:00): release validation FAILED (stage integrate).
Other reasons: workspace validation not passing (0 failed, 1 timeout, cloud#36404726969: autolens_test scripts/multi_dataset/rectangular.py); manifest drift: public front-door organ tables (generated) — 1 mismatch(es) vs PyAutoMind/repos.yaml.

Passed branch evidence: Brain 1107 tests; cockpit 10 Node tests; all nine published feeds; Chromium mobile/landscape/desktop light/dark, keyboard clipboard, history/frame preservation, offline/recovery and shell-only PWA checks; tenant firewall and diff checks; in-session review (not independent review).

@Jammy2211
Jammy2211 merged commit 0cfb5a5 into main Oct 1, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/cockpit-actionable-state branch October 1, 2026 09:55
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