Skip to content

fix: warm-up shift findings — digest links, plain wording, leftover claude daemon, organ firewall pre-push #634

Closed

Description

@Jammy2211

Overview

Pre-M3.1 fixes (epic autonomous-orchestrators) from the first live shift with real workers, 2026-11-14-pm (PyAutoLabs/PyAutoMind#569). The shift passed. The human reviewed it in 5 minutes on a phone and raised items 1 and 3. Prompt: PyAutoMind draft/bug/pyautobrain/warmup_shift_findings.md.

  1. Digest and status task links. Each task title links to PyAutoMind/blob/main/draft/... (_digest.py:274). By the time the digest is posted the prompt has moved (draft, then active, then complete/YYYY/MM/<slug>.md), so the link 404s. Fix: the title links to the work itself (the PR, else the work repo's issue). The Mind record is a secondary link that resolves to wherever the prompt is at render time, or is dropped.
  2. Leftover claude daemon in pyauto-orchestrator.service. claude --bg starts a transient claude daemon run and bg-pty-host spares inside the unit's cgroup. They outlive the workers, and systemd logs "Found left-over process" on every tick. Fix: spawn workers so the daemon does not live in the unit's cgroup (e.g. systemd-run --user --scope), or an equally safe route. The fix must never stop a daemon or session that another Claude session may be using.
  3. Plainer wording in the status comment and the digest. Each task's first line gives the outcome in plain words (merged / needs you / CI failed / still running) and the link. Tier, model, why: and slug go on a second, smaller line or into the proof packet. Follow skills/WRITING_STYLE.md.
  4. Organ-code workers run the tenant firewall before pushing. feat: unit-trend chart follow-ups from #338 PyAutoHeart#347 failed CI on a hard-coded repo name. Add the repos_sync.py --check --only \"tenant firewall (organ code)\" step to worker_template.md for organ repos.

Tier: glance — merge mode: auto-merge on green if the Witness passes, post-merge summary

Witness

  • One test per item: links resolve to PR URLs; a daemon spawned through the new route is outside the unit cgroup (fake claude); golden wording for a merged, refused and running task; the worker template contains the firewall step.
  • Re-render the real batches/2026-11-14-pm.md digest offline and show before and after.
  • The full Brain suite passes.

Activity

  1. added a commit that references this issue on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions