Skip to content

Replace health shell scripts with forwarding shims to PyAutoHeart - #40

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/health-shell-shims
Jul 8, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/health-shell-shims

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Companion to PyAutoLabs/PyAutoHeart#35 (roadmap item 11): the health shell dispatcher belongs to the Heart, not the intent organ. Each script here is now a 5-line shim sourcing the PyAutoHeart copy, so existing ~/.bashrc sourcing keeps working; verified health help runs through the shims.

🤖 Generated with Claude Code

The health dispatcher and its implementations moved to PyAutoHeart/scripts
(PyAutoLabs/PyAutoHeart#35) — Mind stores intent, Heart owns the health
surface. These shims keep any existing sourcing path working; verified the
dispatcher still defines and runs through them.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 8, 2026 10:42
@Jammy2211
Jammy2211 merged commit d7d8707 into main Jul 8, 2026
@Jammy2211
Jammy2211 deleted the feature/health-shell-shims branch July 8, 2026 10:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR moves the health shell tooling out of PyAutoMind (intent) and into PyAutoHeart (execution surface) by replacing the existing scripts/health*.sh implementations with small forwarding shims that source the PyAutoHeart copies, keeping existing ~/.bashrc sourcing paths working.

Changes:

  • Replaced the health dispatcher (scripts/health.sh) with a shim sourcing PyAutoHeart/scripts/health.sh.
  • Replaced health_{sync,release,audit}.sh implementations with shims sourcing their PyAutoHeart counterparts.
  • Consolidated the “health surface” ownership into PyAutoHeart while maintaining backwards-compatible entry points in PyAutoMind.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
scripts/health.sh Replaced full dispatcher with a forwarding shim to PyAutoHeart.
scripts/health_sync.sh Replaced git-sync dashboard implementation with a forwarding shim to PyAutoHeart.
scripts/health_release.sh Replaced release dashboard implementation with a forwarding shim to PyAutoHeart.
scripts/health_audit.sh Replaced audit implementation with a forwarding shim to PyAutoHeart.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/health.sh
# Forwarding shim — health.sh moved to PyAutoHeart/scripts/ (the Heart owns the
# health surface; Mind stores intent). Point your sourcing at the new home;
# this shim keeps old paths working.
source "$(dirname "${BASH_SOURCE[0]}")/../../PyAutoHeart/scripts/health.sh"
Comment thread scripts/health_sync.sh
# Forwarding shim — health_sync.sh moved to PyAutoHeart/scripts/ (the Heart owns the
# health surface; Mind stores intent). Point your sourcing at the new home;
# this shim keeps old paths working.
source "$(dirname "${BASH_SOURCE[0]}")/../../PyAutoHeart/scripts/health_sync.sh"
Comment thread scripts/health_release.sh
# Forwarding shim — health_release.sh moved to PyAutoHeart/scripts/ (the Heart owns the
# health surface; Mind stores intent). Point your sourcing at the new home;
# this shim keeps old paths working.
source "$(dirname "${BASH_SOURCE[0]}")/../../PyAutoHeart/scripts/health_release.sh"
Comment thread scripts/health_audit.sh
# Forwarding shim — health_audit.sh moved to PyAutoHeart/scripts/ (the Heart owns the
# health surface; Mind stores intent). Point your sourcing at the new home;
# this shim keeps old paths working.
source "$(dirname "${BASH_SOURCE[0]}")/../../PyAutoHeart/scripts/health_audit.sh"
Jammy2211 added a commit that referenced this pull request Jul 8, 2026
Jammy2211 added a commit that referenced this pull request Jul 9, 2026
Jammy2211 added a commit that referenced this pull request Jul 14, 2026
Rehearsal + morning Slack digest scope resolved (PRs #119/#40/#41 merged,
digest delivering). PyAutoHeart#39 stays OPEN for the human-gated
RELEASE_MODE=live flip; tracking entry retired as no repo claim remains.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Jammy2211 added a commit that referenced this pull request Aug 24, 2026
Implementation is complete and pushed; the PR is deliberately not opened.
Ship-gate legs 1 (tests) and 2 (smoke) are applicable to this repo but
cannot run in a web-github session — no autolens/autofit/pytest, and the
smoke scripts need real Euclid datasets. The contract downgrades a failed
leg to a human checkpoint rather than a force-ship, so the run stops here.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015xMqvkwBsgrQcMYwQP54bR
Jammy2211 added a commit that referenced this pull request Aug 26, 2026
/run_queue is deleted in PyAutoBrain — born 2026-07-08 as the generic
extraction of register_and_iterate, never invoked once. queue.md goes with
it: all three of its lines were settled on 2026-08-24 and none was ever
marked done by the runner.

- imaging_ci_heritage_sweep — prompt dropped in d718b02, autocti_workspace_test#19 closed
- shared_log_norm_helper — DONE, record in complete/2026/08/
- euclid_crlf_line_endings — shipped (issue #40, PR #41, 037bd06) but never marked

Two prompts retired with it:

- draft/feature/autonomy/10_scheduled_runs.md — it planned cadence runs that
  launch /run_queue, and was explicitly gated on the queue runner "having
  proven itself interactively". It never ran, so the premise is gone.
- draft/maintenance/workspaces/euclid_crlf_line_endings.md — shipped
  2026-08-24 with a completion record; the draft was left behind by that
  close-out and the dashboard has been offering finished work as pickable
  backlog since.

Dashboard regenerated (132 prompts): neither prompt is in the render.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G1SYyCvBWevmYu3x74N8N2
Jammy2211 added a commit that referenced this pull request Sep 10, 2026
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BrGfrSxV9xoqCa4v1p9hix
Jammy2211 added a commit that referenced this pull request Sep 10, 2026
Jammy2211 added a commit that referenced this pull request Sep 10, 2026
Jammy2211 added a commit that referenced this pull request Oct 20, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jammy2211 added a commit that referenced this pull request Oct 21, 2026
…nish_community_pr_pyautofit_1709 (#38)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Jammy2211 added a commit that referenced this pull request Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants