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
28 changes: 25 additions & 3 deletions docs/agentic-dev-kit/workflows/session-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,21 @@ Read `config/dev-model.yaml` first. In this workflow:

### 0 · Gather (run in parallel)

Fire these together — they're independent:
Fire these together — they're independent.

**A source that fails is reported as unavailable, never as its empty value.** A
non-zero exit, a missing binary, or an absent credential returns nothing — and
nothing is indistinguishable from a genuine zero: no open PRs, no failing jobs, no
drift. Rendering the empty value turns a command that never ran into an all-clear,
which is worse than a visible gap because nothing on the briefing says to look
again.

This governs every source whose failure can pass for a benign zero. The PR list,
your cron/CI health command and your config-drift check each have a slot in
*Render the briefing* for saying so; the tracker bullet carries the rule inline
instead, and reports its gap in the briefing text rather than in a fixed field.
The two narrative-file reads are not in this set: a failed read there does not look
like good news, it looks like a missing handoff.

- `git status --short` and `git branch --show-current`
- `gh pr list --state open --json number,title,isDraft,reviewDecision,statusCheckRollup,author --limit 100`
Expand All @@ -49,6 +63,11 @@ Fire these together — they're independent:
person opened; those are guarded out of `pr-watch` by your cron runner's job-name
signal, so their bot findings get no automated follow-through and the next
cockpit must adopt them — see *Render the briefing*.)

Note the two failure shapes are different and only one is covered above: a
**failed** `gh pr list` returns nothing and is caught by the unavailable rule; a
**truncated** one returns valid JSON with fewer rows than exist, which no exit
code reveals and only the full-page check catches.
- your cron/CI health command (adapt to your infra)
- your config-drift check, if you have one (parse its output for a 🔴-worthy line in *Render the briefing*)
- Read `<handoff>` (focus: the **"Latest session"** block and its `Next:` / `Follow-ups:` lines, plus the top-of-file "Last updated" trail for the active sprint)
Expand Down Expand Up @@ -222,7 +241,7 @@ something already classified 🟡 is later raised to 🔴, it gets the check the
🧭 Session Start — <Day YYYY-MM-DD>

Where things stand
• <branch> (<clean | N uncommitted/untracked>) · <N> open PRs · CI/cron: <all green | N failed/skipped>
• <branch> (<clean | N uncommitted/untracked>) · <N open PRs | PRs unavailable: reason> · CI/cron: <all green | N failed/skipped | unavailable: reason>
• Active sprint: <one line, from handoff top trail>
• Last session: <one-line theme from the latest handoff block>

Expand All @@ -242,7 +261,10 @@ What to do next
this week; see 🟢 Whenever for backlog.`
- Order items within a bucket by leverage (blocking > high-value > cheap-win).
- The config-drift line only appears when your drift check reports something
outstanding; name the affected items. A less-urgent "orphan" class of drift (config
outstanding; name the affected items. **If the check could not run, say so where
that line would go** — "config drift: unavailable (`<reason>`)". Silence here
otherwise means "nothing outstanding", and a check that never ran would claim it.
A less-urgent "orphan" class of drift (config
present with nothing applying it, or vice versa) is a separate, lower-urgency
concern — mention it only under 🟢 Whenever if present, never conflated with the 🔴
line above.
Expand Down
2 changes: 1 addition & 1 deletion kit-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"docs/agentic-dev-kit/workflows/session-start.md": {
"role": "workflow",
"sha256": "00cae6afe47b6817f92d012c6dcac4447a3e7114d403e7fae03891c35a01d3d6"
"sha256": "491df1e12fa7f01cd1bd7dd27860413f5c42cf1c135dc5afa9941d5ef4ecdb2c"
},
"docs/agentic-dev-kit/workflows/wrap-up.md": {
"role": "workflow",
Expand Down
Loading