Public: anyone can read this; the crew can change it.

A milestone's card at the front door says how many of its issues have landed and how many remain #15700

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

Milestone lines at the front door now read "12 of 20 landed, 8 to go" and carry a thin bar, and the MCP's milestone answer says the same words. I ran the milestone tests, test/mcp-size.test.ts, bun scripts/gate.ts --fix and bun scripts/design-lint.ts, and tsc is clean.

Notes

shipped production is serving it deploy 3fede26

opened this

Milestone lines at the front door now read "12 of 20 landed, 8 to go" and carry a thin bar, and the MCP's milestone answer says the same words.

I ran the milestone tests, test/mcp-size.test.ts, bun scripts/gate.ts --fix and bun scripts/design-lint.ts, and tsc is clean. Those all passed, and I did not run the full suite.

  • Words: landedWords and landedPercent are new in src/core/milestone_front.ts. A milestone with no issues says "no issues yet". A closed one says "done 2026-11-20", using its closed date.
  • Front door and app page: the milestone lines in src/web/studio/milestone_lines.ts use those words and add a native <meter>. The meter's label carries the same text, so the numbers are not colour alone. The TUI's front screen picks up the new words too.
  • MCP: every limb in the milestones answer carries a words field. I updated the tool doc to mention it, within the size ceiling.
  • Query count: the numbers come from the existing plan read; the words are computed from its weights. A test asserts the read costs the same number of queries with 1 milestone as with 20.
  • Changed tests: two existing assertions changed from "1 of 3 done" to "1 of 3 landed, 2 to go" (test/milestone-front-door.test.ts, test/front-milestones-private.test.ts), because the wording changed on purpose.
  • Not done: the front door still lists only open milestones with work left, and only when something landed this week. So "no issues yet" and "done <date>" show in the MCP answer, not on the card. Widening that filter would change what the front door lists, so I left it. The shape of the plan read is untouched, per #6199.
  • Push: the pre-push hook wanted a "Try:" commit, so one empty commit was added.

How to try it: open /front and look at a milestone's line and bar. Or call the MCP milestones tool with {app} and read words on each limb.

[{"go":"/front","look":"a milestone line under the milestones region","expect":"'N of M landed, K to go' in the line, and a thin bar beneath it labelled with the same words"}]

🤖 Generated with Claude Code

Closes #15685

Show 9 earlier items

7 earlier comments · 1 event
commented

The "pipeline first" rule failed because this pull adds a feature doc and changes nothing in the pipeline paths. It now passes the local gate: the last commit has a Direction: line naming #15685 and "ahead of #6534". I pushed to the same branch. I have not seen the forge's check re-run.

I did not change any code or tests. The two pushes (e5a68fdfe and 0fe1c76bb) are empty commits that only carry the Direction: line. My first attempt was refused for not naming a pipeline item to go ahead of, which is why there are two. I picked #6534 as the first item the gate listed. I cannot read the pipeline items from here, so please check that it is the right one, or that nothing there is waiting on this change.

The gate's duplicate note, askIssue against test/tui-held.test.ts#open, is only advisory and did not fail the check. I left it.

[
  {"go": "/front", "look": "a milestone card", "expect": "'1 of 3 landed, 2 to go' once, with a bar one third full"}
]
commented

The gate's note says the look pages for bf10b67 were named, and it asks for no change. I made no code change and pushed nothing. The look pages are / and /front, because src/web/studio/milestone_lines.ts changed and a commit names /.

What changed: Each milestone card at the front door and on an app's page now says "N of M landed, K to go" once, with a bar beside it.

  • The words are in the card's meta line. The bar carries the label "<milestone name>: share landed". I kept the numbers visible because a bar's label is only read aloud and sighted people would otherwise see a bare bar.
  • The MCP's milestone answer carries the same words in a new words field.
  • The front door lists only open milestones with work left, so "no issues yet" and "done <date>" never appear on the card. They show only in the MCP answer. docs/features/milestone-card.md says so, and I did not open an issue for it.
  • I added a test that /front and the app's page draw the bar at 33% with the words once. askIssue in test/helpers/ask-issue.ts is now shared with test/rebase-lane.test.ts. I did not run the full suite.
  • Two commits carry only a Direction: line. It says this goes ahead of #6534, which I picked from the gate's list; I could not check that nothing in the pipeline waits on it.

What I left out: The gate also notes that askIssue resembles open in test/tui-held.test.ts. It is advisory, so I left it.

How to try it: Open /front on the preview and read a milestone card.

[
  {"go": "/front", "look": "a milestone card", "expect": "'1 of 3 landed, 2 to go' once, with a bar one third full"},
  {"go": "/", "look": "the front door's milestone lines", "expect": "the same words and bar, no layout shift"}
]
commented

<!-- look-pages 0fe1c76bb20f --> Look pages for 0fe1c76, from the gate:

  • look pages (named): this pull changes src/web/studio/milestone_lines.ts; a commit names /
commented

The milestone card now shows what remains, and the five failing feature-note checks now pass. I did not look into the sixth failure, the memory sampler test.

Cause of the five. docs/features/milestone-card.md had no front matter. The feature index needs a topic: that matches a ### heading in docs/features/README.md, and a row:.

Fix. I added topic: Your apps and row: A milestone card says what remains to the note.

Checks run:

  • features-index-script, feature-orphans and feature-front-matter tests: 17 pass.
  • bun x tsc --noEmit: clean.
  • scripts/gate.ts --fix: changed no files and flagged nothing that blocks the push.

Not touched. The memory sampler test ("each tick writes what the forge holds beside its memory line") also failed in the check. It sits outside this change, so I left it alone. If it fails again on this push, it needs its own look.

How to try it. Open /front on the preview and look at a milestone card. Its second line reads like 1 of 3 landed, 2 to go, with a bar one third full.

commented

Nothing in the code needed changing for this note. It is the gate's list of pages to look at: src/web/studio/milestone_lines.ts changed, and a commit names /. The earlier fix commit, 818f0e910, only added front matter to a docs note, and it is already pushed.

I have not opened the preview, so the /front steps below are untried. I also did not look into the memory-sampler test failure from the earlier check, which is outside this change.

What changed: A milestone's card on the front door (/front) and on an app's page now says how far the milestone has come. The second line reads like 1 of 3 landed, 2 to go, with a bar of the same share, named for its milestone. The card lists the biggest open milestones with work left, so it never reads no issues yet or done <date>. Those two phrases stay on the milestones page and in the MCP's milestone answer. The numbers are the milestones page's own, read once per plan. docs/features/milestone-card.md documents it, with front matter so the feature index lists it under "Your apps".

Left out: No pipeline file is touched, and I added no dependencies.

Try it: Open /front on the preview, https://lab--15700--forge-trevato-apps.open-platform.sh.

[
  {"go": "/front", "look": "a milestone card with open work", "expect": "its second line reads 'N of M landed, K to go' and the bar is filled to N/M, with no 'no issues yet' or 'done' wording"},
  {"go": "/", "look": "the front door", "expect": "the same milestone cards, same words, no layout shift"}
]
commented

<!-- look-pages 818f0e910ec2 --> Look pages for 818f0e9, from the gate:

  • look pages (named): this pull changes src/web/studio/milestone_lines.ts; a commit names /
commented

This is the same automated gate note as before, now for 818f0e9. It lists the pages the gate will look at, and it asks for no code change, so I made no commit and pushed nothing. It names / because a commit message names it, and src/web/studio/milestone_lines.ts because this pull changes it.

What changed: A milestone's card on the front door (/front) and on an app's page now says how far the milestone has come. The second line reads like 1 of 3 landed, 2 to go, with a bar of the same share, named for its milestone. The card lists the biggest open milestones with work left, so it never reads no issues yet or done <date>. Those two phrases stay on the milestones page and in the MCP's milestone answer. The numbers are the milestones page's own, read once per plan. docs/features/milestone-card.md documents the card, and its front matter lists it under "Your apps" in the feature index.

Left out: No pipeline file is touched, and I added no dependencies. The memory-sampler test that failed in the earlier check is outside this change, and I left it alone.

Try it: Open /front on the preview, https://lab--15700--forge-trevato-apps.open-platform.sh. I have not opened the preview myself.

[
  {"go": "/front", "look": "a milestone card with open work", "expect": "its second line reads 'N of M landed, K to go' and the bar is filled to N/M, with no 'no issues yet' or 'done' wording"},
  {"go": "/", "look": "the front door", "expect": "the same milestone cards, same words, no layout shift"}
]
Approved

Earlier asks are met: the words appear once, a test asserts the meter at 33 with its label, the how-to is in docs/features/milestone-card.md with front matter, the duplicate helper is shared, and the pipeline direction line is present. The preview had no milestone data, so I could not see the card there; the tests cover it. Non-blocking: the card never shows no issues yet or done <date>, because the front door lists only open milestones with work left. Those words appear only on the MCP answer.

commented

Left #15685 open: 1 unticked item remain (A milestone with no issues says so; a finished one says "done" with the date.).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs