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
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ All notable changes are documented here. The format follows

## [Unreleased]

## [0.12.0] - 2026-11-06

### Changed

- **Every summary topic has a brief.** A topic is one piece of work and can span many sessions. Its
brief is written from all of them: what the work is about, where it stands, what is waiting on you
and what comes next, in plain words, with PR numbers, finding codes and plan units explained. The
one-line topic status, which often said little more than a PR number, is gone. Topics saved by an
earlier version get a brief on the next run. `get_summary` in `agentyard mcp` returns the briefs.
- **No more "Other" project.** Headless runs in scratch folders, such as cross-model review peers and
an app's `claude -p` jobs, are left out and counted, because the session that started them reports
on them. A folder outside any repository is its own project, and a removed Orca workspace keeps its
repository's name.
- **A list of projects to jump between.** Beside the summary sits a list of its projects, with each
one's topic count and how many sessions wait on you or are blocked, and it marks the project you are
reading. On a phone it is a **Jump to project** menu. Topics open to show their sessions, so a long
summary is a short page. The run's details say how many headless runs were left out.

## [0.11.1] - 2026-11-06

### Fixed
Expand Down Expand Up @@ -358,7 +376,8 @@ First public release.
- Single zero-dependency Go binary (around 20 MB RAM); Homebrew cask, release archives for macOS and
Linux, and `scripts/install.sh`.

[Unreleased]: https://github.com/MilosMosovsky/agentyard/compare/v0.11.1...HEAD
[Unreleased]: https://github.com/MilosMosovsky/agentyard/compare/v0.12.0...HEAD
[0.12.0]: https://github.com/MilosMosovsky/agentyard/compare/v0.11.1...v0.12.0
[0.11.1]: https://github.com/MilosMosovsky/agentyard/compare/v0.11.0...v0.11.1
[0.11.0]: https://github.com/MilosMosovsky/agentyard/compare/v0.10.0...v0.11.0
[0.10.0]: https://github.com/MilosMosovsky/agentyard/compare/v0.9.0...v0.10.0
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,19 +282,29 @@ Agent icons identify Claude Code and Codex. Use the agent icons for quick filter

<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/screenshots/summary-dark.png">
<img alt="The Summary page: a repository, its topics, and for each session where it got to, what it waits on, what comes next, its branch and PR, and Copy resume." src="docs/screenshots/summary-light.png" width="100%">
<img alt="The Summary page: a list of projects to jump between, and for each topic what the work is about, where it stands, what waits on you and what comes next." src="docs/screenshots/summary-light.png" width="100%">
</picture>

What each session got to, so you can start the day without rereading transcripts. A summary runs
every morning (07:00 by default, and right after your Mac wakes if it was asleep then), and
**Summarize** runs one for the last 24 hours whenever you want it. It is off until you turn it on.

Work is grouped by repository (a worktree counts as its repository), then by topic, then by session,
with the newest work first and how long ago each session was touched. For each session:
Work is grouped by repository (a worktree counts as its repository, and a folder outside any
repository is a project of its own), then by topic, then by session, with the newest work first and
how long ago each session was touched. A topic is one piece of work, such as a feature or a
migration, and can span many sessions. Each topic opens with a brief written from all of its
sessions: what the work is about, where it stands, what is waiting on you, and what comes next.
A list of projects beside the summary (a **Jump to project** menu on a phone) shows how many topics
each has and how many sessions wait on you or are blocked, and takes you straight there. Open a
topic to see its sessions. For each session:

- where it got to, what it is waiting on you for or blocked on, and what comes next;
- its branch and PR, any sub-agents with a line each, and **Copy resume**.

Headless runs that another session started in a scratch folder, such as cross-model review peers or
an app's `claude -p` jobs, are left out, because the session that started them reports on them. The
page says how many were left out.

Topics carry over from one summary to the next and say how long they have been open ("open since
Mon, Nov 2 · 4 days"). A topic with no activity stays visible for 7 days and leaves the list after
14. Every run is saved, including failed ones, and you can reopen any of the last 30 from the dated
Expand Down
45 changes: 29 additions & 16 deletions demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ func demoSummary(at time.Time, sessions []*Session, messages map[string][]Messag
snap := &summarySnapshot{At: at, Window: summaryWindow{Start: at.Add(-24 * time.Hour), End: at}, Provider: "demo"}
projects := map[string]*summarySnapshotProject{}
for _, session := range sessions {
project := "Other"
project := filepath.Base(session.Cwd) // a folder outside any repository, as summaryProject names it
for _, repo := range wt.Repos {
if repo.Path == session.Cwd {
project = repo.Slug
Expand Down Expand Up @@ -585,12 +585,13 @@ func demoSummary(at time.Time, sessions []*Session, messages map[string][]Messag
}
}
if topic == nil {
status := demoSummaryTopics[fixture.Topic]
if status == "" {
status = note.Progress
brief := demoSummaryTopics[fixture.Topic]
var waitsOn *string
if brief.WaitsOn != "" {
waitsOn = &brief.WaitsOn
}
topic = &summarySnapshotTopic{
summaryTopic: summaryTopic{ID: session.ID, Name: fixture.Topic, Status: status, FirstSeen: at.Add(-3 * 24 * time.Hour), LastActive: session.Modified},
summaryTopic: summaryTopic{ID: session.ID, Name: fixture.Topic, About: brief.About, Status: brief.Status, WaitsOn: waitsOn, Next: brief.Next, FirstSeen: at.Add(-3 * 24 * time.Hour), LastActive: session.Modified},
CarriedOver: session.Started.Before(at.Add(-24 * time.Hour)), OpenDays: 3,
IdleDays: max(0, int(at.Sub(session.Modified).Hours()/24)),
}
Expand Down Expand Up @@ -623,17 +624,29 @@ var demoSummaryNotes = map[string]demoSummaryNote{
"Write the streaming guide": {"Docs", summaryInProgress, "First draft covers chunked responses and backpressure.", "Add the cancellation example.", ""},
}

var demoSummaryTopics = map[string]string{
"Auth reliability": "Token race fixed and queued; the webhook retry test is still flaky.",
"Payments ledger v2": "Dual writes running; one down migration left before review.",
"Search latency": "Index migration ready; waiting on you to schedule it.",
"Dependency hygiene": "One dependency bump to make.",
"Checkout redesign": "Shipping step split out and saved carts in review; both need a rebase.",
"Dark mode": "Tokens done locally; contrast check before pushing.",
"Terraform 1.9": "Staging is clean; production plan to review.",
"Key rotation": "Blocked on staging grants.",
"HTTP/2": "Server push works; one API decision left.",
"Docs": "Streaming guide drafted.",
type demoSummaryTopic struct{ About, Status, WaitsOn, Next string }

var demoSummaryTopics = map[string]demoSummaryTopic{
"Auth reliability": {"Stopping sign-ins from failing at random: two requests refreshing the same expired token could log a user out.",
"The refresh race is fixed and PR #482 is in the merge queue after 50 clean race-test runs. The webhook retry test is still flaky and has no fix yet.", "", "Watch the merge queue, then find why the webhook retry test fails about one run in ten."},
"Payments ledger v2": {"Moving payments onto the v2 ledger so refunds and payouts come from one double-entry record instead of two tables.",
"Every payment now writes to both ledgers behind the ledger.dual_write flag, and a backfill job copies history until it reaches the newest row. Review is blocked by the migrations lint, which needs a down migration for 0042.", "", "Write the down migration for 0042, then open the PR for review."},
"Search latency": {"Bringing slow /search requests (p99) back under the latency budget for large tenants.",
"The cause is a missing index on (tenant_id, created_at). Migration 0043 builds it without locking the table, but nothing has been applied yet.", "Choose when the index migration may run in production.", "Run make migrate in the window you pick."},
"Dependency hygiene": {"The nightly audit of third-party packages for published security advisories.",
"Last night's audit found one real advisory: golang.org/x/net must move to v0.33.0. pgx was flagged but is not affected.", "", "Bump golang.org/x/net to v0.33.0."},
"Checkout redesign": {"Splitting checkout into clear steps and keeping a shopper's cart when they sign in.",
"Shipping is now its own step, and saved carts merge once, on sign-in. Both branches are behind main, which moved the payment fields, and one review thread on merge timing is unanswered.", "", "Rebase both branches on main, then answer the merge-timing thread."},
"Dark mode": {"Adding a dark theme through shared colour tokens rather than per-page overrides.",
"The tokens are written and committed locally on claude/dark-mode-tokens; nothing is pushed.", "", "Check focus-ring contrast on the sidebar links, then push."},
"Terraform 1.9": {"Upgrading infrastructure code to Terraform 1.9 and removing deprecated arguments.",
"Staging plans cleanly after three deprecated arguments were replaced. Production has not been planned.", "", "Run and review the production plan before applying."},
"Key rotation": {"A runbook for rotating the KMS encryption keys without downtime.",
"The runbook is drafted through step 4 of 7. Testing it needs staging access grants that were removed.", "Recreate the staging grants so the rotation can be tested.", "Finish steps 5 to 7 once the grants exist."},
"HTTP/2": {"Adding HTTP/2 server push so pages can send their linked assets before the browser asks.",
"Push works and passes the h2spec push suite.", "Decide whether server push is on by default or behind an option.", "Expose the option you choose and document it."},
"Docs": {"A guide to streaming responses for API users.",
"The first draft covers chunked responses and backpressure.", "", "Add the cancellation example."},
}

// Demo runs publish in memory; they never enter the provider pipeline or read state.
Expand Down
Binary file modified docs/screenshots/phone-summary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/summary-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/summary-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func TestMain(m *testing.M) {
// Test repositories' origins are local folders, never GitHub.
prFetch = func(repo, _ string, patient bool) error { return fetch(repo, "", patient) }
*flagClaudeDir, *flagCodexDir, *flagRoot = tmp+"/.claude", tmp+"/.codex", tmp+"/code"
summaryScratchRoots = nil // test folders live in the temp folder
code := m.Run()
os.RemoveAll(tmp)
os.Exit(code)
Expand Down Expand Up @@ -70,7 +71,7 @@ func TestDemoPages(t *testing.T) {
pages := map[string][]string{
"/": {"claude/fix-auth-race", "codex/migrate-payments-ledger", "Fix token refresh race in auth middleware", "worktree remove"},
"/prs": {"Migrate payments to the v2 ledger", "test (postgres-16)", "acme-labs/tinyhttp", "ada/dotfiles", "tkowalski"},
"/summary": {"Fix token refresh race in auth middleware", "In progress", "Waiting on you", "Blocked", "Done", "Unsorted sessions", "Other"},
"/summary": {"Fix token refresh race in auth middleware", "In progress", "Waiting on you", "Blocked", "Done", "Unsorted sessions"},
"/sessions": {"Fix token refresh race in auth middleware", "claude --resume", "codex resume", "Scheduled: nightly-dependency-audit"},
"/api.json": {`"verdict":"merged"`, `"verdict":"prunable"`, `"verdict":"unmerged"`, `"verdict":"open"`, `"verdict":"keep"`},
"/api/prs.json": {`"state":"In merge queue"`, `"state":"Draft"`, `"state":"Conflicts"`},
Expand Down
2 changes: 1 addition & 1 deletion mcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ func (m *mcpServer) toolList() []mcpTool {
},
{
Name: "get_summary", Title: "Get a session summary",
Description: "The latest successful saved summary, or a run at a listed timestamp, grouped by project, topic and session with progress, next steps, waits, resume commands and sub-agents. Hidden topics are counted and omitted. Reads local history without model calls.",
Description: "The latest successful saved summary, or a run at a listed timestamp, grouped by project and topic. Each topic says what the work is about, where it stands, what waits on the user and what comes next; each session has its progress, next step, wait, resume command and sub-agents. Hidden topics are counted and omitted, and leftOut counts headless runs in scratch folders, which their launching sessions report on. Reads local history without model calls.",
InputSchema: schema(map[string]any{
"at": map[string]any{"type": "string", "description": "RFC3339 timestamp from list_summaries (optional)"},
"project": map[string]any{"type": "string", "description": "exact project name (optional)"},
Expand Down
Loading
Loading