Unify shell helpers under a health dispatcher#35
Merged
Conversation
Adopt the health vocabulary on the shell surface, mirroring the Claude /health
door. Rename the three sourced helper scripts + their functions and add a
dispatcher:
- health_sync.sh : _health_sync (was pyauto_status.sh / pyauto-status)
- health_release.sh : _health_release (was pyauto_status_full.sh / pyauto-status-full)
+ health-report / health-json / health-triage helpers
- health_audit.sh : _health_audit (was pyauto_audit.sh / pyauto-audit)
- health.sh : the `health` dispatcher — bare/`sync`, `release`, `audit`
Callers in ~/.bashrc (PyAuto()/PyAutoGPU()/PyAutoNoJAX()) move from
`pyauto-status` to `health` (local change, not in this repo). Also repoint the
/pyauto-status(-full) references in README.md + skills/OWNERSHIP.md to the
`/health status` and `/health full` legs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR aligns the local shell “health” helpers with the /health vocabulary by introducing a health dispatcher function and renaming the underlying sourced helper functions/scripts, plus updating a couple of documentation references.
Changes:
- Added
scripts/health.shimplementing ahealthsubcommand dispatcher for sync/release/audit. - Renamed the sourced helper functions to
_health_sync,_health_release,_health_auditand updated related output strings. - Repointed documentation references in
README.mdandskills/OWNERSHIP.mdto the/health statusand/health fulllegs.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| skills/OWNERSHIP.md | Updates ownership table entries to reflect /health legs and retirement notes. |
| scripts/health.sh | New health() dispatcher front door for the shell helpers. |
| scripts/health_sync.sh | Renames the cross-repo sync dashboard function to _health_sync and updates messages/docs. |
| scripts/health_release.sh | Renames the release-prep dashboard function to _health_release and renames viewer helpers in text. |
| scripts/health_audit.sh | Renames the structural audit function to _health_audit and updates messages/docs. |
| README.md | Updates narrative about the single /health door and its legs. |
Comments suppressed due to low confidence (2)
scripts/health_sync.sh:49
- This PR renames the sync dashboard function to
_health_sync, butscripts/status.sh --reposstill sourcesscripts/pyauto_status.shand runspyauto-status. With the old file/function gone,--reposwill fail at runtime. Either updatestatus.shto source the new script and callhealth/_health_sync, or add a small compatibility wrapper file/function so existing internal tooling keeps working.
scripts/health_release.sh:196 - The viewer functions were renamed to
health-*, but they still rely on the helper_pyauto_run_file, which emitspyauto:-prefixed errors and has a comment referencingpyauto-{report,json,triage}. This creates confusing mixed branding in user-facing error output (e.g.health-reportfailing with apyauto:message). Consider renaming the helper + its error prefixes tohealthas part of this rename.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+18
to
+32
| health() { | ||
| local sub="${1:-sync}" | ||
| case "$sub" in | ||
| sync) | ||
| shift 2>/dev/null || true | ||
| _health_sync "$@" | ||
| ;; | ||
| release) | ||
| shift | ||
| _health_release "$@" | ||
| ;; | ||
| audit) | ||
| shift | ||
| _health_audit "$@" | ||
| ;; |
Comment on lines
+34
to
+35
| | `pyauto-status/` | `PyAutoHeart/skills/` | **PyAutoHeart** (active-work dashboard) | **retired as command → `/health status` leg** | | ||
| | `pyauto-status-full/` | `PyAutoHeart/skills/` | **PyAutoHeart** (release-run dashboard) | **retired as command → `/health full` leg** | |
…opilot) - Restructure the dispatcher to shift the subcommand token once up front (only when given), replacing the confusing `shift 2>/dev/null` in the sync branch. Verified passthrough: bare health / health sync [args] / release <dir> / audit. - OWNERSHIP table: drop trailing-slash names for consistency; note the leg reference file in the status column instead. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Jammy2211
pushed a commit
that referenced
this pull request
Jul 8, 2026
…d, seed autonomy_log.md; autonomy-contract shipped (PR #35)
Jammy2211
pushed a commit
that referenced
this pull request
Jul 8, 2026
Jammy2211
pushed a commit
that referenced
this pull request
Jul 8, 2026
Jammy2211
pushed a commit
that referenced
this pull request
Jul 8, 2026
Jammy2211
pushed a commit
that referenced
this pull request
Jul 8, 2026
Jammy2211
pushed a commit
that referenced
this pull request
Jul 8, 2026
Jammy2211
pushed a commit
that referenced
this pull request
Jul 8, 2026
Jammy2211
pushed a commit
that referenced
this pull request
Jul 11, 2026
…pled ePSF back-end (deep design; Tier-1b reclassification) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018pUia6xzapBww82yopSZZG
Jammy2211
pushed a commit
that referenced
this pull request
Jul 11, 2026
#35) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018pUia6xzapBww82yopSZZG
Jammy2211
pushed a commit
that referenced
this pull request
Jul 11, 2026
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018pUia6xzapBww82yopSZZG
Jammy2211
pushed a commit
that referenced
this pull request
Jul 11, 2026
…ted, half-pixel trap fixed, #35) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018pUia6xzapBww82yopSZZG
Jammy2211
pushed a commit
that referenced
this pull request
Jul 11, 2026
…-to-end (#35) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018pUia6xzapBww82yopSZZG
Jammy2211
pushed a commit
that referenced
this pull request
Jul 11, 2026
… not stellar); definitive test needs stellar-field reduction (#35) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018pUia6xzapBww82yopSZZG
Jammy2211
pushed a commit
that referenced
this pull request
Jul 11, 2026
filed (#35) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018pUia6xzapBww82yopSZZG
Jammy2211
pushed a commit
that referenced
this pull request
Jul 11, 2026
…closed, #37 follow-up open Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018pUia6xzapBww82yopSZZG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adopt the health vocabulary on the shell surface, mirroring the Claude
/healthdoor. Part of the "full health API" pass (paired PyAutoHeart +PyAutoBrain PRs fold
/pyauto-status-fullinto/health full).Change
Rename the three sourced helper scripts + their functions, and add a dispatcher:
scripts/health_sync.sh→_health_syncpyauto_status.sh/pyauto-statushealth/health syncscripts/health_release.sh→_health_releasepyauto_status_full.sh/pyauto-status-fullhealth releasescripts/health_audit.sh→_health_auditpyauto_audit.sh/pyauto-audithealth auditscripts/health.sh→health()dispatcherThe release-run sub-helpers become
health-report/health-json/health-triage(flat-named — niche views of the last run).~/.bashrccallers (PyAuto()/PyAutoGPU()/PyAutoNoJAX()) move frompyauto-statustohealth— a local change, not in this repo. Doc refs inREADME.md+skills/OWNERSHIP.mdrepointed to the/health status//health fulllegs.No back-compat aliases (clean rename).
Validation
Sourcing all four scripts in a fresh shell defines
health,_health_sync,_health_release,_health_audit,health-report,health-json,health-triage;health helpand unknown-subcommand handling work.🤖 Generated with Claude Code