Godopu
|
3677e4aace
|
feat(delegate-job): add subscriber auto-reconnect (FW-01) + HMAC-SHA256 event signing (FW-05)
FW-01: job_subscriber.py now has on_disconnect callback (5-arg paho v2
signature), reconnect_delay_set(1,16) for exponential backoff, and
with_retry-wrapped initial connect (5 attempts). paho loop_start()
handles auto-reconnect internally.
FW-05: publish_event.py signs payloads with HMAC-SHA256 using auth_token
as key (replaces plaintext token in wire). mqtt_common.py adds
verify_hmac() helper using hmac.compare_digest (timing-safe).
job_subscriber.py validates incoming events via verify_hmac.
PoC mode (auth_token=None) skips verification — backward compatible.
Reviewed by agy-existing (PASS) and claude-existing (FAIL: on_disconnect
4-arg signature → fixed to 5-arg matching paho v2 CallbackAPIVersion).
|
2026-06-21 06:31:39 +00:00 |
|
Godopu
|
e9fc763d31
|
refactor(skills): rename multi-agent-* + agent-sessions-monitor + delegate-job to tmux-agent-orchestrate-*
Renamed 6 skills directories to tmux-agent-orchestrate-* prefix:
- multi-agent-create → tmux-agent-orchestrate-create
- multi-agent-resume → tmux-agent-orchestrate-resume
- multi-agent-delete → tmux-agent-orchestrate-delete
- multi-agent-status → tmux-agent-orchestrate-status
- agent-sessions-monitor → tmux-agent-orchestrate-monitor
- delegate-job → tmux-agent-orchestrate-delegate-job
Updated:
- skills/lib.sh internal paths (delegate_submit_job etc.)
- skills/tmux-agent-orchestrate-status/scripts/status.sh (monitor path)
- skills/tmux-agent-orchestrate-monitor/scripts/reconcile.sh
- .gitignore (HTML ignore patterns)
- 6 SKILL.md frontmatter (name, related_skills, prereq_skills) and body
- All script headers and Korean comments
Notes:
- tmux session naming convention unchanged (<slug>-creator-<agent>) — workspace identifier based, kept for backward compatibility
- Existing 2 sessions in -L multi-agent-canary untouched
- YAML delegate_job_id / agent-session (tmux:canary-...) preserved for log history compatibility
Verified on isolated server -L agy-rename-test (kill-server after).
|
2026-06-19 23:27:27 +00:00 |
|