From 4f146a6537bcbd900452fe92a65b13ee72e2e91c Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 7 Oct 2026 07:51:31 +0100 Subject: [PATCH] docs: expand dashboard check-in prompts --- scripts/board.py | 31 ++++++++++++++++++++++++++++++- test_autonerves/test_board.py | 3 ++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/scripts/board.py b/scripts/board.py index 8ab8369..9fedc37 100644 --- a/scripts/board.py +++ b/scripts/board.py @@ -75,7 +75,36 @@ import yaml NERVES_HOME = Path(__file__).resolve().parents[1] -CHECKIN_PROMPT = 'Review configuration work across the Nerves board in this chat. Read PyAutoNerves/AGENTS.md and inspect the relevant source repositories, YAML parse errors, option documentation, override relationships and scan coverage. Give a concise priority order and propose one bounded next step. Apply my direction while preserving the overall review. Treat possibly-unused keys as static scan hints, not permission to remove them. Route edits through the development workflow and preserve downstream API validation and human gates.' +CHECKIN_PROMPT = ( + "Use this chat as an ongoing place to understand and improve configuration across " + "PyAutoLabs. Read PyAutoNerves/AGENTS.md and the current Nerves board, then inspect the " + "relevant source repositories and configuration evidence. Check scan freshness and " + "coverage, keeping unavailable sources explicit.\n\n" + "When I give no particular direction, review configuration sources, workspace overrides, " + "YAML parse errors, orphan keys, possibly unused options, environment variables and " + "documentation gaps. Summarize the findings that need attention and recommend priorities " + "with reasons.\n\n" + "When I name an option, file, workspace or question, make that the main focus. Help me " + "find a setting, explain its purpose and default, trace where it is read, understand " + "override precedence or establish which value applies in a particular context. Bring in " + "related configuration where relevant; do not repeat the full board review on every " + "follow-up.\n\n" + "Ground explanations in configuration definitions and the code that consumes them. " + "Distinguish what static scanning suggests from behavior verified at runtime. Treat " + "possibly unused keys as investigation leads, and check compatibility and downstream use " + "before proposing removal or renaming.\n\n" + "Help me plan configuration changes, improve option documentation, resolve inconsistent " + "defaults or investigate serialization and version-handshake problems. Identify affected " + "libraries and workspaces, explain migration needs and define how the resulting behavior " + "should be verified.\n\n" + "Route accepted changes through the development workflow, checking existing tasks and " + "claims first. Carry clearly authorized work through its procedure, retaining approvals " + "already given in this conversation. Preserve downstream API validation and applicable " + "approval requirements.\n\n" + "After changes, refresh the relevant evidence and report what changed, what was verified " + "and what remains unresolved. Keep this conversation available for subsequent " + "configuration questions and work." +) BOARD_KEY = "nerves" # this board's entry in the Brain's palette table SCHEMA_VERSION = 1 diff --git a/test_autonerves/test_board.py b/test_autonerves/test_board.py index 5f61d97..51b7cfb 100644 --- a/test_autonerves/test_board.py +++ b/test_autonerves/test_board.py @@ -639,4 +639,5 @@ def panel(key, title, description, prompt, **kwargs): assert {link["href"] for link in captured["work_links"]} == { "https://github.com/SomeOrg/PyAutoNerves", "https://github.com/SomeOrg/LibLow", "https://github.com/SomeOrg/LibHigh", "https://github.com/SomeOrg/ws_demo"} - assert "not permission to remove" in captured["prompt"] + assert "Treat possibly unused keys as investigation leads" in captured["prompt"] + assert "check compatibility and downstream use before proposing removal or renaming" in captured["prompt"]