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:
@@ -0,0 +1 @@
|
||||
complete
|
||||
@@ -0,0 +1,9 @@
|
||||
# Adversarial Bug Report: Artifact Badges on Task Cards
|
||||
|
||||
## Deep Review
|
||||
ARTIFACT_LABELS mapping is static and matches COLUMNS. Badge rendering depends on review status, which is fetched from the API.
|
||||
|
||||
## Potential Issues
|
||||
1. **XSS in artifact label**: ARTIFACT_LABELS values are hardcoded — no injection vector. Safe.
|
||||
|
||||
## Verdict: PASS
|
||||
@@ -0,0 +1,15 @@
|
||||
# Bug Report: Artifact Badges on Task Cards
|
||||
|
||||
## Methodology
|
||||
Reviewed dashboard.js renderTaskCard() and styles.css.
|
||||
|
||||
## Acceptance Criteria
|
||||
| # | Criterion | Result |
|
||||
|---|-----------|--------|
|
||||
| 1 | Pending review tasks show badges | ✅ |
|
||||
| 2 | Approved/completed tasks hide badges | ✅ |
|
||||
|
||||
## Findings
|
||||
None.
|
||||
|
||||
## Verdict: PASS
|
||||
@@ -0,0 +1,11 @@
|
||||
# Doc Review: Artifact Badges on Task Cards
|
||||
|
||||
## Documents Checked
|
||||
| Doc | Status |
|
||||
|-----|--------|
|
||||
| automaton/dashboard/README.md | ❌ Missing — no badge mention |
|
||||
|
||||
## Findings
|
||||
1. **Missing**: Dashboard README could mention artifact badges.
|
||||
|
||||
## Verdict: PASS (finding noted)
|
||||
@@ -0,0 +1,20 @@
|
||||
# Implementation: Artifact Badges on Task Cards
|
||||
|
||||
## Summary
|
||||
|
||||
Added compact artifact badge chips to task cards for tasks with pending review or changes requested status.
|
||||
|
||||
## Changes Made
|
||||
|
||||
### `dashboard.js`
|
||||
- Added `ARTIFACT_LABELS` mapping from state to artifact filename
|
||||
- `renderTaskCard()` shows artifact badges when review status is `pending` or `changes_requested`
|
||||
- Approved/completed tasks do not show artifact badges
|
||||
|
||||
### `styles.css`
|
||||
- `.task-card-artifacts` — flex container for badge row
|
||||
- `.artifact-badge` — monospace chip style
|
||||
|
||||
## Files Modified
|
||||
- `automaton/dashboard/html/dashboard.js` — artifact badge rendering
|
||||
- `automaton/dashboard/html/styles.css` — badge styles
|
||||
@@ -0,0 +1,3 @@
|
||||
# Review
|
||||
- **Status**: approved
|
||||
- **Timestamp**: 2026-06-13T18:00:48.191824
|
||||
@@ -0,0 +1,20 @@
|
||||
# SPEC: Show Artifact Badges on Pending Review Tasks
|
||||
|
||||
## Overview
|
||||
|
||||
Tasks pending review don't show what artifacts were produced. Card should display compact artifact badges (SPEC.md, DESIGN.md, etc.) so reviewers know what needs review at a glance.
|
||||
|
||||
## Changes
|
||||
|
||||
- Add `ARTIFACT_LABELS` mapping
|
||||
- Show artifact badges on cards when review status is pending or changes_requested
|
||||
- CSS for `.task-card-artifacts` and `.artifact-badge`
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Pending review tasks show artifact badge chips on their card
|
||||
- [ ] Approved/completed tasks do not show artifact badges
|
||||
|
||||
## VERDICT
|
||||
|
||||
PASS — implemented in commit 75cb4a1
|
||||
@@ -0,0 +1,17 @@
|
||||
# VERDICT: Artifact Badges on Task Cards
|
||||
|
||||
|
||||
## Status: PASS
|
||||
## Summary
|
||||
Added compact artifact badge chips on pending/changes-requested task cards showing what artifacts the task produced.
|
||||
|
||||
## 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