Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <domain>` 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. <domain>` 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.
Expand Down Expand Up @@ -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.

Expand Down
14 changes: 7 additions & 7 deletions scripts/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <domain>``
``wiki/AGENTS.md``'s schema) — plus contents cards with ``Use the memory skill. <domain>``
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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}"
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -1537,7 +1537,7 @@ def _fresh_span(fresh: dict, now_text: str, stale_text: str,
f"<td>{_bar(s)} <span class='meta'>{s.get('stub', 0)} stub · "
f"{s.get('drafted', 0)} drafted</span> "
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"</td></tr>")

n_batches = snapshot.get("interests_batches") or 0
Expand Down Expand Up @@ -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)
Expand Down
10 changes: 5 additions & 5 deletions tests/test_board.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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")

Expand All @@ -966,7 +966,7 @@ def test_banner_html_sits_above_the_hero_with_a_copy_button(tmp_path):
page = board.render(snap, "html")
assert "<em>…so… I&#x27;ve been lost for a while</em>" 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

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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):
Expand Down
Loading