Repository navigation
[delivery-code-review] Align resident status-placement docs with the redesigned rows - #9902
Merged
Merged
Conversation
[delivery-code-review] Align resident status-placement docs with the redesigned rows Docs-only companion repair for the ORB-25312 row redesign. No code, UI, or test changes. Orbit-Task: ORB-25449 Fixes: d0e1769 ("feat: Dashboard Residents page: clearer resident [ORB-25312] (#9891)") Regression-From: ORB-25312 Regression: contract_drift; escape=no_test; severity=nit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
ORB-25449 — [delivery-code-review] Align resident status-placement docs with the redesigned rows
Description
Culprit: ORB-25312, d0e1769 (PR #9891). The redesigned mandateRow now renders statusLine(mandate) as resident-row-status (operations-residents.js:477-500), and mandateDetail:971-973 only renders statusExtra (posted/expiry and a disclosed body), deliberately removing the duplicate title. mandateList appends the row for every mandate, while appending detail only when selected. A collapsed row therefore shows the status headline again.
Two maintained companion docs still describe the preceding design: docs/agents/dashboard-map.md:21 says status line, next wake and last control live in selected detail and the compact row has goal/state/id; :24 says each resident status appears in the selected mandate detail. docs/design/fleet-notices/specs/notice-delivery.md:184-185 likewise says the status is shown in detail once selected and the row keeps only goal/state/task ID. Those claims were true before this change and false afterward. Frozen source, real-browser replay (batch-manual-qa.json and screenshots/residents-review-375.png), and the collapsed row's construction agree that the title is on the row. The status body/timestamps still need expansion; next wake/last control still live in detail.
Filing checkpoint: origin/agent-main a63e373 retains these two doc claims and the redesigned renderer. All-status search Residents status row documentation returns ORB-25428, a completed repair for the older opposite move (ORB-25390). Read its description and execution summary: that task correctly documented the pre-redesign row and is not a current covering repair. Do not blame it; ORB-25312 changed placement again without updating those claims. Website how-to/dashboard.md Residents and reference/resident-mandates.md, and canonical/shipped skill searches, do not make this exact false placement promise.
Update the maintained map and notice-delivery spec to distinguish the row headline from the additional detail, leaving historical decision records unchanged. This follows AGENTS.md's affected-docs rule. Classification contract_drift, no_test, nit: contributor-documentation drift with no rendering defect. The culprit's HTTP tests and CI guards do not compare maintained prose with rendered field placement. No UI or source-text/wording test is permitted by AGENTS.md, so validate by source review and manual QA rather than adding such a regression test.
Acceptance Criteria
Execution Summary
Click to expand
Docs-only companion repair for the ORB-25312 row redesign. No code, UI, or test changes.
Renderer confirmed (crates/orbit-web/assets/dashboard/js/operations-residents.js): mandateRow (469-505) renders statusLine(mandate) as resident-row-status on every row alongside goal/state/task ID; statusExtra (922-937) renders only posted/expiry timestamps plus a disclosed full body; mandateDetail (991-1003) spreads statusExtra with no duplicate title; mandateList (1017-1028) appends the row always and the detail only when selected. So a collapsed row shows the status headline, and timestamps/body plus next wake/last control need expansion/selection.
Changes (2 files):
Acceptance criteria:
Validation:
Reconciliation: baseline 6f4cf42 was clean (git status empty). Final git status shows exactly the two intended modified docs files and nothing else (no untracked, staged, or deleted entries). No cleanup leftovers; no .orbit/tmp/ artifacts written. No context_files selector change needed (edits are inside the existing selectors).
Validation
Branch Freshness
refs/remotes/origin/agent-mainorbit/ORB-25449-3033faee