Archive completed tasks, add cleanup commands, self-documenting dashboard UI
CI / build (push) Has been cancelled
CI / build (push) Has been cancelled
- Archive 79 completed framework-dev tasks from tasks/ -> tasks/complete/ - status.py: add --cleanup-done and --install-cleanup-schedule commands - Add scripts/automaton-cleanup.sh for periodic task archiving - Dashboard: rename 'Background' tab -> 'Agent', 'Cleanup' agent -> 'Completed Task Archiver', remove redundant group headers and pill badges, dim inactive agent placeholders - .rules.md: add Self-Documenting UI Names rule - New tests: test_cleanup_done.py, expanded test_app.py and test_task.py
This commit is contained in:
@@ -1 +0,0 @@
|
||||
complete
|
||||
@@ -1,9 +0,0 @@
|
||||
# Adversarial Bug Report: Centered Modal for Task Detail
|
||||
|
||||
## Deep Review
|
||||
Modal uses fixed positioning with backdrop blur. Close on backdrop click checks `e.target === e.currentTarget`.
|
||||
|
||||
## Potential Issues
|
||||
1. **Z-index stacking**: Modal overlay is z-index 100, help modal is z-index 200. If both open simultaneously, help modal overlays correctly.
|
||||
|
||||
## Verdict: PASS
|
||||
@@ -1,18 +0,0 @@
|
||||
# Bug Report: Centered Modal for Task Detail
|
||||
|
||||
## Methodology
|
||||
Reviewed dashboard.js, styles.css, index.html for modal behavior.
|
||||
|
||||
## Acceptance Criteria
|
||||
| # | Criterion | Result |
|
||||
|---|-----------|--------|
|
||||
| 1 | Centered with 720px max-width, 85vh max-height | ✅ |
|
||||
| 2 | Content scrollable | ✅ |
|
||||
| 3 | Backdrop click closes | ✅ |
|
||||
| 4 | Escape key closes | ✅ |
|
||||
| 5 | Existing functionality preserved | ✅ |
|
||||
|
||||
## Findings
|
||||
None.
|
||||
|
||||
## Verdict: PASS
|
||||
@@ -1,11 +0,0 @@
|
||||
# Doc Review: Centered Modal for Task Detail
|
||||
|
||||
## Documents Checked
|
||||
| Doc | Status |
|
||||
|-----|--------|
|
||||
| automaton/dashboard/README.md | ❌ Missing — no modal interaction docs |
|
||||
|
||||
## Findings
|
||||
1. **Missing**: Dashboard README doesn't document backdrop click or escape-to-close.
|
||||
|
||||
## Verdict: PASS (finding noted)
|
||||
@@ -1,28 +0,0 @@
|
||||
# Implementation: Centered Modal for Task Detail
|
||||
|
||||
## Summary
|
||||
|
||||
Replaced the narrow sliding side panel with a centered modal overlay for viewing task details.
|
||||
|
||||
## Changes Made
|
||||
|
||||
### `index.html`
|
||||
- Replaced `.detail-panel` fixed sidebar with `.modal-overlay` + `.modal-panel` container
|
||||
- Added `#btn-close-detail` button and backdrop click handler
|
||||
|
||||
### `dashboard.js`
|
||||
- Updated all JS references from `detail-panel` to `detail-overlay`
|
||||
- `closeDetail()` hides overlay instead of sliding panel
|
||||
- Escape key handler added for modal close
|
||||
- Backdrop click closes modal
|
||||
|
||||
### `styles.css`
|
||||
- `.modal-overlay` — fixed fullscreen backdrop with blur
|
||||
- `.modal-panel` — centered container, 720px max-width, 85vh max-height
|
||||
- Removed `.detail-panel` fixed positioning styles
|
||||
- Scrollable content within modal
|
||||
|
||||
## Files Modified
|
||||
- `automaton/dashboard/html/index.html` — modal overlay structure
|
||||
- `automaton/dashboard/html/dashboard.js` — modal open/close logic
|
||||
- `automaton/dashboard/html/styles.css` — modal styling
|
||||
@@ -1,3 +0,0 @@
|
||||
# Review
|
||||
- **Status**: approved
|
||||
- **Timestamp**: 2026-06-13T18:04:56.987626
|
||||
@@ -1,24 +0,0 @@
|
||||
# SPEC: Convert Task Detail Panel to Centered Modal
|
||||
|
||||
## Overview
|
||||
|
||||
The sliding side panel (380px wide) is too narrow to read SPEC.md, verdicts, and other task content. Replace it with a centered modal overlay that uses the full screen width.
|
||||
|
||||
## Changes
|
||||
|
||||
- Replace `.detail-panel` fixed sidebar with `.modal-overlay` + `.modal-panel`
|
||||
- Wrapped detail panel HTML in a modal overlay container
|
||||
- Added backdrop click to close
|
||||
- Updated JS references from `detail-panel` to `detail-overlay`
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Modal is centered with 720px max width, 85vh max height
|
||||
- [ ] Content is scrollable within the modal
|
||||
- [ ] Clicking backdrop closes the modal
|
||||
- [ ] Escape key closes the modal
|
||||
- [ ] Existing functionality (review buttons, artifact display) is preserved
|
||||
|
||||
## VERDICT
|
||||
|
||||
PASS — implemented in commit 6630577
|
||||
@@ -1,17 +0,0 @@
|
||||
# VERDICT: Centered Modal for Task Detail
|
||||
|
||||
|
||||
## Status: PASS
|
||||
## Summary
|
||||
Replaced the narrow 380px side panel with a centered modal overlay (720px max-width) for task detail viewing.
|
||||
|
||||
## Phase Results
|
||||
| Phase | Result |
|
||||
|-------|--------|
|
||||
| Implementation | ✅ PASS |
|
||||
| Bug Find | ✅ PASS |
|
||||
| Adversarial Bug Find | ✅ PASS |
|
||||
| Doc Review | ✅ PASS (1 doc finding) |
|
||||
|
||||
## Final Verdict
|
||||
**PASS** — All acceptance criteria met.
|
||||
Reference in New Issue
Block a user