refactor(skills): cleanup dead code + full workflow A→B→C→D integration
Cleanup: - Remove unused validate_yaml() helper from lib.sh - Remove USER_MANUAL.html + mqtt-broker-setup.html (no refs found) Workflow A (create_session ↔ delegate-job): - Add --submit-job <prompt> option to create_session.sh - Auto-register session in delegate-job registry, store delegate_job_id in YAML Workflow B (push-based monitor): - Migrate reconcile.sh to MQTT subscriber mode (polling fallback preserved) Workflow C (unified status): - status.sh now shows session + delegate-job state in single column Workflow D (audit log + perms): - JSON job files chmod 600 - create/delete/resume now publish lifecycle events to delegate-job
This commit is contained in:
@@ -55,24 +55,14 @@ The script:
|
||||
## Output format (default = aligned table)
|
||||
|
||||
```
|
||||
AGENT SESSIONS STATUS
|
||||
yaml_path: ~/PuKi/lab/agent_sessions/agent-sessions.yaml
|
||||
tmux_sessions_alive: 2
|
||||
yaml_entries: 3
|
||||
unregistered: 0
|
||||
drifts: 0
|
||||
|
||||
NAME | YAML | TMUX | PANE CMD | PANE CWD | RESUME UUID ON DISK
|
||||
--------------------------------------------------|----------|-------|-------------------|---------------------------------------------------|--------------------
|
||||
lab-landing-page-creator-claude | running | ✓ | claude | /home/.../refer_landing_page | 87dc548e-... ✓
|
||||
lab-landing-page-creator-agy | terminated| ✗ | - | - | 22255a9a-... ✓ (orphan)
|
||||
lab-paper-pdf2md-creator-claude | running | ✓ | claude | /home/.../paper-pdf2md | -
|
||||
|
||||
DRIFTS
|
||||
(none)
|
||||
|
||||
UNREGISTERED TMUX SESSIONS
|
||||
(none)
|
||||
agent-sessions status — 2026-06-19T14:20:00Z (tmux_confirmed=True)
|
||||
========================================================================================================================================
|
||||
NAME SERVER YAML TMUX CMD RESUME JOB_ID JOB_STATUS DRIFT
|
||||
----------------------------------------------------------------------------------------------------------------------------------------
|
||||
lab-landing-page-creator-claude default running alive claude yes - - -
|
||||
lab-landing-page-creator-agy default terminated dead agy yes 5fe09ba8 completed -
|
||||
lab-paper-pdf2md-creator-claude default running alive claude scan - - -
|
||||
========================================================================================================================================
|
||||
```
|
||||
|
||||
## Output format (`--json`)
|
||||
|
||||
Reference in New Issue
Block a user