fix(kvb-org-rasci): filter artifacts by worker, refuse a kindless drop

rasci.py artifacts takes --worker <text> to list only that worker's items. set refuses an --artifact or --drop-artifact without <kind>:<ref> (it used to no-op silently on a bare path), and a well-formed drop that is not recorded drops nothing and says so on stderr, so idempotent teardown runs keep working.

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-14 09:57:16 +00:00
1 parent a2a03995cb
commit c297ad0890
5 files changed
+36 -6

No files matched your search

+5 -2
View File
@@ -13,11 +13,14 @@ and takes status and worker from its task. The script is
```bash
rasci.py set <task> --artifact <kind>:<ref>
rasci.py set <task> --drop-artifact <kind>:<ref>
rasci.py artifacts [--ended] [--task <task>]
rasci.py artifacts [--ended] [--task <task>] [--worker <text>]
```
Kinds: `image:`, `container:`, `volume:`, `network:`, `stack:`, `worktree:`,
`dir:`, `log:`. `artifacts` lists each task's workdir and branch beside them.
`dir:`, `log:`. `artifacts` lists each task's workdir and branch beside them;
`--worker` keeps the tasks whose worker contains the text. A drop names the
artifact with its kind, or is refused; one not recorded drops nothing and
says so on stderr.
## Rules