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
174 changes: 0 additions & 174 deletions .github/workflows/dashboard_input.yml

This file was deleted.

14 changes: 6 additions & 8 deletions .github/workflows/dashboard_refresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ on:
- "state.json"
- "looks_shipped.json"
- "looks_shipped_dismissed.md"
# The ★ state and the Goals box (PyAutoMind#565): the page renders both,
# so a hand edit or a session's commit to either makes it stale. The
# dashboard's own writes come from dashboard_input.yml with GITHUB_TOKEN,
# which triggers nothing, so that workflow dispatches this one itself.
# The ★ ranks and the Goals box (PyAutoMind#565, PyAutoBrain#640): the
# page renders both, so a commit to either (a `/queue` chat, a hand
# edit) makes it stale.
- "queue.md"
- "goals.md"
pull_request:
Expand All @@ -69,10 +68,9 @@ on:
- "state.json"
- "looks_shipped.json"
- "looks_shipped_dismissed.md"
# The ★ state and the Goals box (PyAutoMind#565): the page renders both,
# so a hand edit or a session's commit to either makes it stale. The
# dashboard's own writes come from dashboard_input.yml with GITHUB_TOKEN,
# which triggers nothing, so that workflow dispatches this one itself.
# The ★ ranks and the Goals box (PyAutoMind#565, PyAutoBrain#640): the
# page renders both, so a commit to either (a `/queue` chat, a hand
# edit) makes it stale.
- "queue.md"
- "goals.md"
workflow_dispatch:
Expand Down
18 changes: 8 additions & 10 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,16 +477,14 @@ history unattended will not record it.
backlog dip to their epics and tags; `lifecycle.py check` validates the file
(numbered 1..n, at most 10 goals of at most 200 characters). Public, like
the rest of the Mind.
- **The dashboard writes both.** A ★ on the published `dashboard.html`, or an
edit in its Goals box, opens one issue and labels it `dashboard-input`,
with a dedicated machine account's token that holds Issues permission on
this repo only. The `issues: labeled` run of `.github/workflows/dashboard_input.yml` (always the default branch's
copy) checks the author against `vars.DASHBOARD_INPUT_LOGIN` (a dedicated
machine account, never `vars.HUMAN_LOGIN`), validates the
body (`scripts/dashboard_input.py`), refuses a write that adds
`lifecycle.py check` drift or touches any other path, commits as the bot and
closes the issue with a one-line result. Token scope, storage and what a leaked one can do:
[`policy/github_tokens.md`](policy/github_tokens.md).
- **The human writes both; the dashboard reads them.** `queue.md` is edited in
a chat that ran `/queue` (PyAutoBrain `skills/queue`): a pasted prompt,
path, title or dashboard 📋 text adds an entry, never starts dev.
`scripts/queue_edit.py` does the edit (`show`, `add`, `remove`, `move`) so
nothing hand-edits the markdown, and the write lands through a temporary
worktree detached on `origin/main` and `prompt_sync_push`. The published
dashboard shows a read-only ★ and rank `#n` on each queued task (PyAutoBrain#640,
which removed the earlier issue-driven input path of PyAutoMind#565).
- **`batches/<YYYY-MM-DD>-<am|pm>.md`** — one record per dispatched batch,
written at dispatch and appended at collection. Schema and the three fields
that are easy to get wrong are in [`batches/AGENTS.md`](batches/AGENTS.md).
Expand Down
9 changes: 2 additions & 7 deletions batches/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,9 @@ batch brief --new <slot> --review-at <ISO>` writes a skeleton brief whose
their `epics:`/`tags:` (or `fill-idle` when no goal names any) and safe
defaults (`merge-cap: 0`) for the rest; it prints to stdout unless `--out`
names a file, so writing the record — the dispatch — stays the human's act.
A goal whose line was last written by a `Via: mind-dashboard` commit is free
text from a web page, so it is emitted **commented out** with "from dashboard,
last edited <date>": a worker never sees it until the human uncomments it.
When provenance cannot be read (no git, or the blame does not line up), every
goal is emitted that way, marked "provenance unknown".
`goals.md` is written by the human alone, so every goal is copied as written.
`--new` also prints, on stderr, how the goals changed since the newest brief.
`brief --check` warns when goal 1 of `goals.md` is missing from a brief,
unless goal 1 came from the dashboard.
`brief --check` warns when goal 1 of `goals.md` is missing from a brief.

**The keep-Heart-green lane** (PyAutoBrain#625). `brief --new` first reads
Heart's release verdict and sorts every reason into `fixable-dev`,
Expand Down
Loading
Loading