docs(requirements): add the hub requirements 072 to 084

Queue controls tab and override, running tasks on the board, stale task
prune, release cut, greyed card stamp, commit-tree diff, VS Code path
links, expired cards, Match refresh hourglass, field attachments,
self-tuning queue admission and the limits board.

🎯 Fix: 95 %
💥 Break: 1 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 94
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-27 18:38:47 +00:00
1 parent 83a0ab504b
commit c4975d8246
14 files changed
+987

No files matched your search

+60
View File
@@ -0,0 +1,60 @@
# 078 - Diff on Commit-Tree Cards
## User Story
As the operator, I want an ask card for `git commit-tree` to show the diff
from its parent to its tree, so that I never approve a commit blind.
## Decisions (operator-confirmed 2026-11-27; do not re-litigate)
1. **Source**: the runner's existing preview, which already computes diffs
for merge rows, also covers `git commit-tree <tree> -p <parent>` asks. It
runs `git diff <parent> <tree>` read-only in the ask's working directory.
Rejected: the hub reading the repository itself (the container has no
access to host repositories).
2. **Look** (operator: hide and show again): the same collapsible code box
with the eye toggle as on commit cards, open by default.
## Approach
```mermaid
flowchart TD
subgraph P["🧭 0 · Preparation"]
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
P2 -- "✏️ corrections" --> P1
end
P2 -- "🤖 yes" --> A1
subgraph A["🌳 A · Commit-tree diff"]
A1["🔎 Parse commit-tree argv"] --> A2["🧮 Runner preview: diff parent..tree"]
A2 --> A3["🎨 Collapsible code box on the card"]
A3 --> A4{"🧪 Unit, integration and E2E green?"}
A4 -- "🔴 no: fix" --> A1
A4 -- "🟢 yes" --> AF{"💬 Operator feedback on screenshots?"}
AF -- "✏️ changes" --> A3
end
AF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
```
## Acceptance Criteria
### Diff
- [ ] A commit-tree ask with a resolvable parent and tree shows every changed
file with its hunks.
- [ ] The eye toggle hides and shows the diff; it starts open.
- [ ] An unresolvable tree or parent shows its git error line instead of the
diff.
- [ ] The preview runs no git command that writes (no `commit-tree`, no
`update-ref`).
### Tests
- Unit:
- [ ] Parsing a commit-tree argv yields tree and parent; an argv without
`-p` yields none.
- Integration:
- [ ] The runner preview delivers the files of a commit-tree ask in a
scratch repository.
- E2E:
- [ ] `tests/e2e/test_commit_tree_diff_e2e.py`: diff shown, toggle, error
line, screenshots at 1920, 1366 and 390.