Skip to content

fix: make dashboard prompts portable across AI assistants #257

Closed

Description

@Jammy2211

Overview

Dashboard copy buttons currently emit assistant-specific slash commands rejected by Codex. Make copied AI requests and surrounding guidance portable across the full dashboard family.

Approved plan

  • Audit all dashboard copy actions, labels and Markdown/state payloads.
  • Use explicit plain-language skill invocation, retaining arguments and safeguards.
  • Preserve real shell commands and paths.
  • Run focused render/payload tests and regenerate tracked dashboard artifacts.

Implementation

Primary: PyAutoHeart. Related: PyAutoBrain (including Mind/Cortex renderers), PyAutoHands, PyAutoMemory, PyAutoEyes, PyAutoGut, PyAutoScientist. Audit PyAutoNerves too.
Update dashboard prompt producers and copy helpers; canonicalize known skill aliases; avoid treating arbitrary absolute paths as skills. Update provider-specific help text. Add regression coverage for multiline Heart plans, aliases, HTML escaping, and unchanged shell snippets. Inspect all rendered payloads.

All surveyed repositories are clean on main; no active claims conflict. Branch: feature/dashboard-portable-prompts. Worktrees: .worktrees/dashboard-portable-prompts inside PyAutoLabs.
User approved the plan and requested whole-dashboard coverage on 2026-10-01. Heart STALE is an evidence gap, not a development blocker.

Original prompt

Make dashboard AI prompts portable across assistants

Type: bug
Autonomy: safe

Original request

I copied the "Fix Heart systematically" prompt from PyautoHeart dashboard but get this for codex, can we make its command (and any other dashboard commands) AI agnostic or have codex support dash? • Unrecognized command '/health'. Type "/" for a list of supported commands.

Scope

@PyAutoHeart @PyAutoBrain: replace assistant-specific leading slash commands in copied dashboard AI prompts with explicit plain-language skill invocation. Audit dashboard prompt producers and shared copy rendering, including Mind dashboard generation. Preserve arguments, task paths, approval boundaries and shell-command payloads. Other dashboard owners discovered by the audit must be surveyed before edits.

Acceptance

  • Fix Heart systematically and other copied AI prompts are usable without a client-specific slash parser.
  • Named skills remain explicit and resolvable; existing guardrails and command arguments remain intact.
  • Shell snippets and filesystem paths are not rewritten as skill prompts.
  • Focused rendering tests cover portable prompts and shell-command preservation; regenerate affected dashboard artifacts through their owning generators.

Initial evidence and plan

Heart heart/dashboard.py:build_fix_plan starts its prompt with /health; multiple other payload producers do likewise. Brain owns shared dashboard code in board/_theme.py, board/_board.py and dashboard generators in its conductors.

Audit prompt producers, choose a shared conversion boundary where practical, update affected producers/renderers and tests, then regenerate artifacts and validate copied text. Await user plan approval before source edits; no issue, worktree or implementation yet.

Activity

  1. Jammy2211 commented on Oct 1, 2026

    @Jammy2211
    ContributorAuthor

    Implementation complete locally in .worktrees/dashboard-portable-prompts, branch feature/dashboard-portable-prompts in Brain, Heart, Hands, Memory, Eyes, Gut, Scientist and Cortex. Mind generated pages also updated locally.

    Dashboard AI requests now use explicit portable skill prose. Arguments, task paths, shell commands and safety instructions are preserved. Includes timing findings, hygiene delegates, legacy cached prompts, Markdown and state feeds. Nerves audited; already portable.

    Validation: 896 relevant tests passed (Brain 388; Heart dashboard/performance 279; other dashboard repositories 229). Eyes Ruff and 265-figure validation passed. Cortex generated-artifact check passed. All diffs pass whitespace checks. Independent final review: CLEAN.

    Shipping paused before task-source commit/push/PR creation: refreshed Heart is RED with exact reasons:

    • release validation FAILED (stage integrate)
    • workspace validation not passing (0 failed, 1 timeout, cloud#36404726969: autolens_test scripts/multi_dataset/rectangular.py)

    These are not repaired by this dashboard compatibility task. Await a live development-only override for this issue under Brain AUTONOMY.md. No merge or release authorization inferred. Existing uncommitted Cortex science-ledger edits in canonical main were preserved.

  2. Jammy2211 commented on Oct 1, 2026

    @Jammy2211
    ContributorAuthor

    Live user authorization for task #257: "yes you may commit push open prs and merge once CI is green".

    Development-only RED override recorded. Previously surfaced RED reasons:

    • release validation FAILED (stage integrate)
    • workspace validation not passing (0 failed, 1 timeout, cloud#36404726969: autolens_test scripts/multi_dataset/rectangular.py)

    896 relevant tests passed, independent review CLEAN, generated artifacts validated. Merge only with all CI runs/jobs green during this turn. No release authorization.

  3. Jammy2211 commented on Oct 1, 2026

    @Jammy2211
    ContributorAuthor

    All eight task PRs are committed and pushed. PyAutoMemory#113 is confirmed MERGED (1c1ced11c5f2194b56cb692577539868fd3bb8bb) after its exact-head workflow and job passed.

    Per-head CI audit:

    • PyAutoBrain#436: 0/2 jobs complete, both running.
    • PyAutoHeart#259: 0/2 jobs complete, both running.
    • PyAutoHands#293: 2/3 complete; Python 3.12 running.
    • PyAutoEyes#10: lint running.
    • PyAutoCortex#53: 2/2 jobs passed; waits for Brain generator merge.
    • PyAutoGut#17 and PyAutoScientist#38: no PR CI configured; explicit confirmation requested to merge against passed local checks (16 and 8 tests).

    Task remains active until every PR is merged. No auto-merge, background polling, or scheduled follow-up armed. Merge grants expire if the current turn ends; resume via prm with fresh authorization and CI audit.

  4. Jammy2211 commented on Oct 1, 2026

    @Jammy2211
    ContributorAuthor

    prm result: seven of eight PRs merged.

    Merged: Brain #436, Heart #259, Hands #293, Memory #113, Gut #17, Scientist #38, Cortex #53. All configured exact-head CI runs and jobs passed before their merges. Gut and Scientist have no PR CI; the human explicitly approved merging against the passed local suites (16 and 8 tests).

    Remaining: Eyes #10. Failing job: https://github.com/PyAutoLabs/PyAutoEyes/actions/runs/36856189107 (job ID 110349110657).
    The bin/pyauto-eyes check step failed:
    FAIL dashboard: stale for galaxy — run pyauto-eyes board
    Ruff/format passed; tests 76 passed, 1 skipped. All 265 figure URLs resolved. Failure log retained at .worktrees/task-notes/eyes-ci-failure.log.

    No re-run, failed-PR merge, source repair, auto-merge or background monitoring performed. Task and worktree retained until Eyes is fixed and merged. Canonical Cortex science edits remain untouched.

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