diff --git a/README.md b/README.md index a721bf7..6831292 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ See the **[PyAutoMemory Dashboard](https://pyautolabs.github.io/PyAutoMemory/)** for managing all of it from one page: the reading queue, the paper sections still needing a canonical citation key, and each sub-wiki's maturity โ€” every work queue carrying a one-tap ๐Ÿ“‹ button that -copies a paste-ready Claude prompt (file the next paper, resolve keys, -upgrade a stub, or `/memory ` to recall what's known). Every queued +copies a paste-ready AI assistant prompt (file the next paper, resolve keys, +upgrade a stub, or `Use the memory skill. ` to recall what's known). Every queued paper links to its arXiv abstract page and carries a ๐Ÿ“„ button onto the PDF itself, so a phone can collect a stack of papers to read offline in one tap each. @@ -93,8 +93,8 @@ verified bib-plus-sources commit, while `last_completed` is a queue DONE date (which may mean read-without-filing); `last_activity` is the existing catch-up cutoff, the later of those dates. Legacy all-scope fields remain available. -The cockpit copies the existing `/catch_up lensing` prompt and links to its -procedure. Its safety is `scientific_judgement`: candidate selection and filing +The cockpit copies an instruction to read `skills/catch_up/SKILL.md` and use +the catch_up skill with `lensing`, and links to its procedure. Its safety is `scientific_judgement`: candidate selection and filing retain the procedure's human review. Observing staleness executes nothing, and no scientific choice is fabricated before candidates are harvested. diff --git a/scripts/board.py b/scripts/board.py index fd0056a..19c7fcf 100644 --- a/scripts/board.py +++ b/scripts/board.py @@ -3,9 +3,9 @@ A phone-readable, MANAGEMENT-FIRST view of the repo's knowledge: what is waiting to be read, which paper sections still need a canonical BibTeX key, how mature each sub-wiki is โ€” each work queue carrying a one-tap ๐Ÿ“‹ copy -block holding a paste-ready Claude Code prompt that executes this repo's own +block holding a paste-ready AI assistant prompt that executes this repo's own documented workflow (``bibliography/README.md`` "Adding a paper", -``wiki/AGENTS.md``'s schema) โ€” plus contents cards with ``/memory `` +``wiki/AGENTS.md``'s schema) โ€” plus contents cards with ``Use the memory skill. `` recall chips. Reading-queue sections expand to the individual papers: each title links out to the arXiv abstract page (or, when the line carries no ref, a title search โ€” see ``scripts/arxiv_refs.py``), carries a ๐Ÿ“„ button onto the @@ -93,7 +93,7 @@ #: ``scripts/catch_up.py`` reads back. CATCH_UP_DAYS = 7 CATCH_UP_LYRIC = "โ€ฆsoโ€ฆ I've been lost for a while" # Fred again.. -CATCH_UP_CMD = "/catch_up lensing" +CATCH_UP_CMD = "Read PyAutoMemory/skills/catch_up/SKILL.md and follow the catch_up skill with arguments: lensing." # The family look lives once, in the Brain (``board/_theme.py``): the # stylesheet, the hero that redraws this organ's logo as a mark, and the @@ -831,7 +831,7 @@ def _inbox_freshness(snapshot: dict, key: str = "inbox_last_digest") -> dict: owner = snapshot.get("owner") workflow_url = (f"https://github.com/{owner}/PyAutoMind/actions/workflows/{workflow}" if owner else None) - prompt = (f"/bug investigate {label} digest freshness; inspect the recorded " + prompt = (f"Use the bug skill. investigate {label} digest freshness; inspect the recorded " f"date in {filename} and the {workflow} workflow before choosing a remedy") if workflow_url: prompt += f" โ€” {workflow_url}" @@ -1063,7 +1063,7 @@ def _bar(statuses: dict) -> str: _LEDE = ("What the organism knows, and what it still owes a citation. On a " "paper: \U0001f4e5 intake ยท \U0001f4d1 cite ยท \u2705 mark read โ€” each opens a " "prefilled issue (add notes, submit to act). \U0001f9f9 clears a whole " - "interests day. \U0001f4cb copies a Claude Code prompt.") + "interests day. \U0001f4cb copies an AI assistant prompt.") _EXTRA_CSS = """ .bar{display:inline-block;width:90px;height:8px;border-radius:4px; @@ -1537,7 +1537,7 @@ def _fresh_span(fresh: dict, now_text: str, stale_text: str, f"{_bar(s)} {s.get('stub', 0)} stub ยท " f"{s.get('drafted', 0)} drafted " f"{_copy_btn(_stub_prompt(snapshot, w['name']), 'copy: upgrade a stub')} " - f"{_copy_btn('/memory ' + w['name'], 'copy: recall this domain')}" + f"{_copy_btn('Use the memory skill. ' + w['name'], 'copy: recall this domain')}" f"") n_batches = snapshot.get("interests_batches") or 0 @@ -1691,7 +1691,7 @@ def to_state(snapshot: dict) -> dict: The headline is the badge message (so the cockpit and the README badge say the same thing), prefixed with the first reason when yellow. Items are the rows that ask something of a human, most urgent first, each carrying the - same copy-for-Claude prompt or issue link the board page offers. + same copy-for-assistant prompt or issue link the board page offers. """ t = _totals(snapshot) repo_url = _repo_url(snapshot) diff --git a/tests/test_board.py b/tests/test_board.py index 46568e4..083306b 100644 --- a/tests/test_board.py +++ b/tests/test_board.py @@ -177,7 +177,7 @@ def test_work_queue_prompts_reference_the_documented_workflow(tmp_path): assert "data-cmd=" in html # the shared copy handler's payload hook assert "reading-queue.md" in html # file-the-next-paper prompt assert "make validate" in html # every prompt ends at the gate - assert "/memory demo" in html # the recall chip + assert "Use the memory skill. demo" in html # the recall chip assert "wiki/AGENTS.md" in html # the schema anchor @@ -956,7 +956,7 @@ def test_banner_at_the_threshold_carries_the_day_count(tmp_path): assert "**Strong-lensing catch-up due**" in md assert "2026-09-23 (7 days ago)" in md assert "after 7 days" in md - assert "`/catch_up lensing`" in md + assert "`Read PyAutoMemory/skills/catch_up/SKILL.md and follow the catch_up skill with arguments: lensing.`" in md # Top of the markdown: before the contents line. assert md.index("Strong-lensing catch-up due") < md.index("_Contents") @@ -966,7 +966,7 @@ def test_banner_html_sits_above_the_hero_with_a_copy_button(tmp_path): page = board.render(snap, "html") assert "โ€ฆsoโ€ฆ I've been lost for a while" in page assert "2026-09-11 (19 days ago)" in page - assert 'data-cmd="/catch_up lensing"' in page + assert 'data-cmd="Read PyAutoMemory/skills/catch_up/SKILL.md and follow the catch_up skill with arguments: lensing."' in page assert page.index("class='catchup'") < page.index('class="hero"') assert board.to_state(snap)["days_since_ingest"] == 19 @@ -995,7 +995,7 @@ def test_lensing_catch_up_threshold_has_one_model_for_every_surface(tmp_path, ag assert len(rows) == 1 and rows[0]["reason"] == model["reason"] assert model["reason"] in board.render(snap, "md") assert model["reason"] in board.render(snap, "html") - assert rows[0]["actions"][0]["target"] == "/catch_up lensing" + assert rows[0]["actions"][0]["target"] == "Read PyAutoMemory/skills/catch_up/SKILL.md and follow the catch_up skill with arguments: lensing." assert rows[0]["actions"][0]["safety"] == "scientific_judgement" assert "requires_human_decision" not in rows[0] # No invented choice. @@ -1112,7 +1112,7 @@ def test_digest_scopes_share_feed_evidence_and_explicit_actions(tmp_path): assert state['digests']['interests']['evidence_url'].endswith('/arxiv-interests.md') assert all(a['safety'] == ('read_only' if a['kind'] == 'link' else 'requires_approval') for a in row['actions']) - assert row['prompt'].startswith('/bug investigate') + assert row['prompt'].startswith('Use the bug skill. investigate') def test_quiet_digest_and_backlog_have_same_freshness(tmp_path):