Request For Change
ASecurity- Status: partial. Rollout step 2 shipped in [#19069](https://github.com/kirodotdev/KiroCrew/pull/19069) (`src/kiro_crew/dashboard_upkeep.py`, `upkeep` rows in `dashboard_fields`, helpers under `dashboard_templates/builtin/*/helpers/`); step 3 (the `upkeep` key on the v3 package Model, now that #18707 merged) is not built (checked at `1d08e941b3`). The design is the product owner's ruling of 2026-10-11: fold-backed fields already update themselves, so nothing new is built for them; per-board ...
- 5,069 stars
- 0 votes
- 0 copies
- 1 view
- Added November 7, 2026
Works with
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add kirodotdev/KiroCrew --skill request-for-change --agent claude-codeAre you the author of Request For Change?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/kirodotdev-request-for-change)---
title: Crewmate dashboard upkeep -- per-field upkeep text served by dashboard_fields, generated helper scripts for the fields whose data is outside the crew log, named by one pointer line that survives compaction
status: partial
author: Raymond Chen, with kirocrew-worker
created: 2026-10-11
last-audited: 2026-11-20
audited-at: c157748343
doc-pr: null
implementation-prs: [19069]
tracking-issues: [19481]
supersedes: []
superseded-by: []
---
# RFC: Crewmate dashboard upkeep skill
- Status: partial. Rollout step 2 shipped in [#19069](https://github.com/kirodotdev/KiroCrew/pull/19069) (`src/kiro_crew/dashboard_upkeep.py`, `upkeep` rows in `dashboard_fields`, helpers under `dashboard_templates/builtin/*/helpers/`); step 3 (the `upkeep` key on the v3 package Model, now that #18707 merged) is not built (checked at `1d08e941b3`). The design is the product owner's ruling of 2026-10-11:
fold-backed fields already update themselves, so nothing new is built for
them; per-board upkeep guidance covers only the fields the crewmate writes;
a generated helper script fetches the data that lives outside the crew log;
one pointer line names the guidance. This document lands first because it
adds a line to every crewmate's prompt and a section to the profile, and the
First Principles lane reads that decision off the base.
- Revised 2026-10-12 in review: the guidance is returned by `dashboard_fields`
rather than written to a generated `SKILL.md`, because a crewmate with no file
tools cannot open a file, and the generated directory now holds the helper
scripts only (§4.2, §5).
- Related: [rfc-crewmate-dynamic-dashboard.md](rfc-crewmate-dynamic-dashboard.md)
(the page, its manifest, the `[DASHBOARD]` block). Open PRs it meets:
[#18707](https://github.com/kirodotdev/KiroCrew/pull/18707) (writes checked
against the v3 package Model), [#18687](https://github.com/kirodotdev/KiroCrew/pull/18687)
(layout lock), [#18957](https://github.com/kirodotdev/KiroCrew/pull/18957)
(fold-backed conductor drawer).
- Measured at `a84f616557`; re-read at `0cda1525d8`.
## 1. Problem
A crewmate that adopts a Dashboard page is told WHICH fields are its own and
never what they mean, when to write them, or how to get the data. The whole
instruction is the `[DASHBOARD]` block (`dashboard_agentic.turn_block`):
```
[DASHBOARD]
Your dynamic dashboard is template project-report v1; the Dashboard tab shows it
only with the 'Dynamic Dashboard' Feature Preview on.
Fields you write: ci, for_you, verdict. Call dashboard_fields for their shapes and
current values before dashboard_write.
```
So fields go unwritten, or stay stale until the person chases them. A field such
as `ci` is worse: its data is on GitHub, and the crewmate has to work out the
`gh` calls and the payload shape every time.
`[CURRENT ASSIGNMENT]` (`members/<slug>/briefing.md`) cannot carry this. It is
agent-written, may be empty, and a crewmate with no file tools cannot write it.
The person also cannot see what the crewmate is told about its page.
## 2. Prior art: the fold half already updates itself
A field whose manifest source is `{"fold": "<name>", "path": "a.b"}` is filled
by the gateway from the crew log. Nobody writes it. The rule is the same in both
manifest formats:
- template manifest: `dashboard_templates/manifest.py` `_field`;
- v3 package Model: `artifact_store/dashboard_package.py` `_validate_source`,
where "A field the agent writes itself declares `{'agentic': true}` instead".
So the upkeep gap is exactly the `{"agentic": true}` fields. This design builds
nothing for fold fields.
## 3. Goals and non-goals
Goals:
1. Every crewmate with a page is told, by `dashboard_fields`, what each of its
agentic fields means, when to write it, and how. Fold fields get nothing new.
2. An agentic field whose data lives outside the crew log gets a helper script.
The script fetches the data and prints a ready `dashboard_write` payload.
3. The upkeep text always matches the page in force, and the helper scripts are
regenerated whenever the page in force or its field set changes.
4. One pointer line, injected wherever `[DASHBOARD]` is, names the upkeep text.
It survives compaction.
5. The person can read the upkeep text on the profile.
Non-goals:
- Anything for fold fields (§2).
- The hand-published drawer (`panel_publish`). #18957 makes the conductor's
drawer fold-backed.
- Running the helper for the crewmate. The crewmate runs it and calls
`dashboard_write`; the write path and its checks are unchanged.
- Helpers for an agent-composed v3 package. A package carries no code (§4.3).
## 4. Design
### 4.1 The manifest declares upkeep per agentic field
An agentic field may declare:
```json
"ci": {
"type": "object",
"source": {"agentic": true},
"upkeep": {
"means": "the CI lanes of the PR this board watches, red ones by name",
"when": "after every CI run you watch finishes or changes state",
"how": "run the helper with the PR number and write what it prints",
"helper": "project_report_ci.py"
}
}
```
- `means`, `when`, `how`: non-empty strings, at most 200 characters each.
- `helper`: optional, a `.py` file name under the template's own `helpers/`;
`load_template` refuses a manifest whose helper is not there.
- Refused on a fold field, and with an unknown key, like any manifest problem.
- Every built-in agentic field declares `upkeep`. The two whose data is on
GitHub, `project-report.ci` and `pr-watch.lanes`, declare a helper.
### 4.2 The upkeep text, returned by `dashboard_fields`
`dashboard_fields` is the read the `[DASHBOARD]` block already sends the
crewmate to before every write (`dashboard_agentic.fields_for_agent`, served by
`api_dashboard_fields` in `dashboard/handlers/agent_panel_dashboard.py`). Each agentic
row in its reply gains an `upkeep` object:
```json
{
"field": "ci",
"type": "object",
"source": "agentic",
"upkeep": {
"means": "the CI lanes of the PR this board watches, red ones by name",
"when": "after every CI run you watch finishes or changes state",
"how": "run the helper with the repo, PR and task item id, set each lane owner, and write the value",
"helper": "<skills dir>/.dashboard-upkeep/code-reviewer/scripts/project_report_ci.py"
}
}
```
- It is a tool reply, so a crewmate with no file tools reads it the same way it
reads the field shapes today.
- A field with no `upkeep` gets a default: `when` is "in the same turn what it
shows changes", and `means` and `how` point at the field's shape.
- A page with no agentic field gets one top-level line in the reply: the page
updates itself; do not republish it.
- The text is read from the SHIPPED catalog entry, never from the crewmate's
copy in `members/<slug>/dashboard/instance.json`. That copy is on the
agent-writable side, and `instance.edit` may change it.
- Nothing is generated for the text. It is read when `dashboard_fields` is
called, so it cannot go stale against the page in force.
### 4.3 The helper script
`.dashboard-upkeep/<slug>/scripts/<helper>` under the skills dir is a COPY of the
shipped file `dashboard_templates/builtin/<id>/helpers/<helper>`, written by the
gateway. It is the only thing in the generated directory. It runs `gh`, reads
the data, and prints one JSON object, `{"field": "ci", "value": {...}}`, shaped
to the field's declared shape. `dashboard_fields` names its absolute path in that
field's `upkeep.helper`.
- The helper is a shortcut, not the only route. A crewmate with no shell tool
cannot run it, so for `ci` or `lanes` it writes the lane states it can read
from a tool reply or a message, in the shape `dashboard_fields` gives, through
the same `dashboard_write` checks. The helper's `upkeep.helper` path is then
simply unused.
- Only a shipped built-in template may name a helper. A user template or a v3
package is declarative and carries no code, the rule `manifest.py` already
states, so neither gets a script.
- Copied, not generated: the bytes are reviewed in the PR that ships them.
`skills_script_validator` scans LLM-generated candidates and is not on this
path.
- The leading dot keeps the directory out of the skills index: the skill tree
walk already skips dot directories, so no listing code changes.
- A test runs each shipped helper against a recorded `gh` reply and checks its
output passes `dashboard_agentic.check_write` for its field.
### 4.4 When the scripts are regenerated
One function, `dashboard_upkeep.sync(slug)`, copies the helper scripts the page
in force names and writes only what differs from disk. It removes a script the
page no longer names, so a page swap cannot leave the old board's helper behind,
and it puts back a hand edit. Two callers:
| caller | why |
|---|---|
| `instance._commit` | adopt, apply, rollback and edit all commit through it |
| the `[DASHBOARD]` block build | a crewmate on the default page never commits; a gateway upgrade can change a shipped helper |
These are every event that changes which helpers the page in force names: a
commit (adopt, apply, rollback, edit), the default page taking effect with no
commit, and a gateway upgrade changing a shipped helper's bytes. A lock (#18687)
changes no field, so it does not regenerate. A v3 package (#18707, §7 step 3)
names no helper, so that path adds no trigger. The upkeep text needs no caller
and has no copy to drift: `dashboard_fields` reads it from the catalog when it
is called (§4.2).
### 4.5 The pointer line
`turn_block` gains one last line:
```
Upkeep: dashboard_fields also says what each field means, when to write it, and
how -- read it before you write a field.
```
It rides wherever `[DASHBOARD]` rides: fresh session, post-compaction
re-injection (`context_assembly/turn.py` `post_compaction_parts`, member section
re-injected by the caller) and slim resume. The member section is not rebuilt
every turn, so `dashboard_apply` and `dashboard_rollback` also return the new
`[DASHBOARD]` block, pointer included, as `dashboard` in their reply.
### 4.6 Profile
`GET /api/members/{slug}/briefing` gains `upkeep`: `{"pointer", "fields",
"scripts"}` -- the pointer line, each agentic field's upkeep text as
`dashboard_fields` returns it, and the helper file names, or `null` when there is
no page. Same owner gate and slug checks as the notes. The Notes tab shows it
first, read-only, under `Dashboard upkeep`.
## 5. Rejected designs
| design | why not |
|---|---|
| Guide text only: an `[OPERATING GUIDE]` block with one "when" line per field, injected beside `[DASHBOARD]` (this document's first draft) | Says when, never how. A field like `ci` still needs the crewmate to find the `gh` calls and the payload shape each time, and the full guide is paid for in every build. |
| A generated `.dashboard-upkeep/<slug>/SKILL.md`, named by its path in the pointer line (this document's second draft) | A crewmate with no file tools cannot open the file, so its fields stay stale, the harm this design exists to remove. `dashboard_fields` is already the read every write starts from. |
| One generic manifest-driven update script that fills every field | The fold half already updates itself (§2). The agentic half is judgment (`verdict`, `for_you`) or a per-source fetch (`ci`), and one script cannot do either. |
| A script per board | Most agentic fields have no external data. A helper exists only where one does. |
| Writing upkeep into `[CURRENT ASSIGNMENT]` | Agent-owned, may be empty, and not writable by a crewmate with no file tools. |
## 6. Tests (red before the change)
1. Apply page A, then page B: `dashboard_fields` returns B's upkeep text, and
A's helper is gone from the scripts directory.
2. The post-compaction member section carries the pointer line.
3. A zero-agentic page gets the one-line answer from `dashboard_fields`.
4. Each shipped helper's output passes `check_write` for its field.
5. `upkeep` text in the crewmate's copy does not reach `dashboard_fields`.
6. The briefing read returns `upkeep`; the Notes tab renders it.
## 7. Rollout
1. This document.
2. One implementation PR: the manifest key, the built-in texts and two helpers,
the `upkeep` object in `dashboard_fields`, `dashboard_upkeep.sync`, the
pointer line, the apply / rollback reply, the briefing key and the Notes
section.
3. When #18707 lands, the v3 package Model gains the same `upkeep` key
(without `helper`), and `dashboard_fields` reads the Model in force.
Files in this skill
- assets/README.md
- assets/autopilot-stage-timeout-evidence.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.