You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: guard dashboard copy prompts against client-specific commands #437
Reject assistant-specific commands in copied dashboard prompts
Type: test
Autonomy: safe
Original request
ok yeah do that quickly
Approved context: add a shared regression check that rejects assistant-specific slash commands in dashboard copy payloads while allowing real shell commands.
Plan
@PyAutoBrain @PyAutoHeart: add a shared HTML copy-payload assertion in Brain's board package. Detect leading slash commands in data-cmd/data-copy button values (including HTML entities and leading whitespace), exempt explicit terminal buttons and absolute executable paths. Use it in Brain, Mind, Cortex and Heart rendered-dashboard tests. Cover unknown skill names, malformed/empty pages, and safe shell payloads. No production rendering or publishing change.
User approved development-only Heart RED override with "yes I authorie", after the exact reason PyAutoGalaxy: CI failure — https://api.github.com/repos/PyAutoLabs/PyAutoGalaxy/actions/runs/24007765443 was surfaced. No merge/release authorization for this new task.
315 relevant tests passed; Ruff and whitespace checks passed. Shared assertion checks rendered data-cmd/data-copy, HTML entities, unknown slash-skill names and no-button fixtures. Real shell snippets, absolute executable paths and explicit terminal chips pass. Integrated Brain, Mind, Cortex and Heart HTML tests; no production renderer changes.
Development-only override: user "yes I authorie" following the feed RED reason PyAutoGalaxy: CI failure — https://api.github.com/repos/PyAutoLabs/PyAutoGalaxy/actions/runs/24007765443. Direct vitals shipping verdict reports release validation FAILED (stage integrate); both readings reported in-session. No merge/release authorization for this new task.
Next: human-authorized merge of Brain #438 on green checks, then ready/re-run Heart #260 against Brain main and merge on green checks. No background monitoring armed.
Brain #438 merged at 332aa1c after every workflow job passed (Python 3.12 and 3.13).
User "try again" prompted the next dependency step: Heart #260 is ready for review; run 36864852227 rerun against now-updated Brain main. Its earlier failure was ModuleNotFoundError for copy_contract before Brain merged. Await green new attempt before merging Heart and closing the task. No background monitoring armed.
Both PRs are merged: Brain #438 and Heart #260. Python 3.12/3.13 checks passed for each; Heart attempt 2 passed after the shared checker landed on Brain main. Both task branch heads are ancestors of main. Closing #437 and retiring the task worktrees.
Activity
Jammy2211 commentedon Oct 1, 2026
Implemented and pushed:
315 relevant tests passed; Ruff and whitespace checks passed. Shared assertion checks rendered data-cmd/data-copy, HTML entities, unknown slash-skill names and no-button fixtures. Real shell snippets, absolute executable paths and explicit terminal chips pass. Integrated Brain, Mind, Cortex and Heart HTML tests; no production renderer changes.
Development-only override: user "yes I authorie" following the feed RED reason
PyAutoGalaxy: CI failure — https://api.github.com/repos/PyAutoLabs/PyAutoGalaxy/actions/runs/24007765443. Direct vitals shipping verdict reportsrelease validation FAILED (stage integrate); both readings reported in-session. No merge/release authorization for this new task.Next: human-authorized merge of Brain #438 on green checks, then ready/re-run Heart #260 against Brain main and merge on green checks. No background monitoring armed.
Jammy2211 commentedon Oct 1, 2026
Brain #438 merged at 332aa1c after every workflow job passed (Python 3.12 and 3.13).
User "try again" prompted the next dependency step: Heart #260 is ready for review; run 36864852227 rerun against now-updated Brain main. Its earlier failure was ModuleNotFoundError for copy_contract before Brain merged. Await green new attempt before merging Heart and closing the task. No background monitoring armed.
Jammy2211 commentedon Oct 1, 2026
Both PRs are merged: Brain #438 and Heart #260. Python 3.12/3.13 checks passed for each; Heart attempt 2 passed after the shared checker landed on Brain main. Both task branch heads are ancestors of main. Closing #437 and retiring the task worktrees.