vantage-md 0.8.1 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,113 @@ are summarized one section per minor line; the commit log has the rest.
6
6
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
 
9
+ ## [0.9.1] - 2026-10-06
10
+
11
+ ### Changed
12
+
13
+ **A planning link from `vantage-check` opens its own project when one Vantage
14
+ serves several.** The `Planning page:` link that `vantage-check index --filter`
15
+ prints now ends with `&space=`, an id naming the checkout it ran in, and so
16
+ does `filter.link` under `--format json`. Put your Vantage's address in front
17
+ of the link and open it. In daemon mode, the page asks Vantage which project
18
+ holds that id and opens that project's planning page with the filter, with no
19
+ list of projects on the way. In 0.9.0 it listed every project's planning page
20
+ for you to pick from. A link made in a checkout your Vantage does not serve
21
+ says so, and in daemon mode only then shows that list. Pasting the line into
22
+ the Filter box works as before. See
23
+ [Filtered links](userguide/guides/planning.md#filtered-links).
24
+
25
+ **`index --filter` now writes `.vantage/space`.** The first run that prints a
26
+ link makes the file at the project root, holding the id, and later runs reuse
27
+ it. The checker keeps the id out of git, so that every clone gets its own.
28
+ When it makes `.vantage` itself, it also writes a `.vantage/.gitignore` that
29
+ ignores the whole directory. A `.vantage` that is already there with no
30
+ `.gitignore`, as the review inbox can leave one, gets one that ignores only the
31
+ id. A `.vantage/.gitignore` you already have is left alone, so make sure it
32
+ ignores `space`. A linked worktree gets an id of its own. A checkout copied
33
+ whole, `.vantage` included, shares the original's id, so a link from either
34
+ opens neither and the page lists both: remove `.vantage/space` in the copy. See
35
+ [What `--filter` writes](userguide/guides/vantage-check.md#what---filter-writes).
36
+
37
+ The checker and the viewer both need 0.9.1. Vantage 0.9.0 ignores `space=`
38
+ and lists each project's planning page as before, and a link from
39
+ `vantage-check` 0.9.0 has no `space=`.
40
+
41
+ ### Fixed
42
+
43
+ - Moving between pages, such as from a document to the planning page with
44
+ `g p`, no longer flashes the *Disconnected from backend* banner.
45
+ - A planning link written in a document, such as a `Planning page:` line in an
46
+ agent's handoff note, opened as a path inside that document's project. It now
47
+ opens the planning page.
48
+
49
+ ## [0.9.0] - 2026-10-06
50
+
51
+ ### Added
52
+
53
+ **A planning page filtered to one piece of work.** The planning page has a
54
+ **Filter** box at its top, there as soon as the page opens, and the page
55
+ narrows as you type. A word, such as `generator`, finds the questions whose id,
56
+ title, leaning or path holds it, ignoring case, and the documents whose path,
57
+ stage or `next` does. `path:` finds its text anywhere in a path, as GitHub's
58
+ code search does, with `*` and `**` as wildcards, and a leading `/` ties it to
59
+ the start of the path. `is:open` keeps only open questions, as in
60
+ `path:/docs/design/search.md is:open`, and a `-` before a term leaves out what
61
+ it matches. The page keeps its order, a notice says what the filter hides, and
62
+ a filter that keeps nothing says *Nothing matches* where the sections would be,
63
+ and why. See
64
+ [Filtering the page](userguide/guides/planning.md#filtering-the-page).
65
+
66
+ Press `/` to reach the box. Paste a link to a planning page into it, as a whole
67
+ address or as the line `vantage-check index --filter` prints, and the link's
68
+ filter, and its roadmap if it names one, apply at once to the project on
69
+ screen, whatever address the link was made for. The page's address follows the
70
+ box without adding to your history. **Copy answers** and
71
+ **Copy agent request** cover only what the filter keeps, and the agent request
72
+ names the filter on a `Filter:` line.
73
+
74
+ A planning document that holds a question now ends its Referenced by line with
75
+ *its questions on the planning page*, a link to the planning page filtered to
76
+ that document, unless its stage has the
77
+ [`done` role](userguide/guides/planning.md#stage-roles). Such a document that
78
+ nothing links to gets a line holding only that link where it had none: one with
79
+ no open question, or any in a repository where no roadmap routes. See
80
+ [Referenced by](userguide/guides/planning.md#referenced-by).
81
+
82
+ **`vantage-check index --filter`** takes the same text, prints only what it
83
+ keeps, and prints a `Planning page:` line for your agent to hand you.
84
+ `vantage-check style-guide` now tells agents to hand you that line when they
85
+ need your rulings. The checker cannot know the address you open Vantage at, so
86
+ the link starts at `/.vantage/planning`: press `/` on your planning page and
87
+ paste the line, or put your address in front. In daemon mode, where the link
88
+ names no project, the planning page with no project named, or one not found,
89
+ now lists a link to each project's planning page, keeping any filter. Run in a
90
+ linked worktree, `--filter` adds a line under the link saying that the page
91
+ shows the checkout your Vantage serves, which may not hold the documents as
92
+ they are in the worktree. If your `.vantage.toml` sets a `target` before 0.9,
93
+ another line says that an older Vantage shows every entry. Under a `target`
94
+ before 0.8, it says first that a Vantage that old has no planning page. With
95
+ `--format json`, the filtered sections are under a new `filter` key. Every
96
+ other key, `sections` included, is what it is without the flag, and the format
97
+ version stays 2.
98
+
99
+ `--filter` exits `2` on a filter it cannot read, such as one with an unclosed
100
+ quote, and on a `path:` or `-path:` term that matches no path. A word that
101
+ matches nothing is an empty answer and exits `0`. `vantage-check` 0.8.0 and
102
+ 0.8.1 exit `2` with `unknown option for index: --filter`: run
103
+ `uvx vantage-check@latest`. Vantage 0.8.0 and 0.8.1 ignore the filter without
104
+ saying so: they show the whole planning page, or, in daemon mode, ask you to
105
+ choose a project. A later release may keep other entries for the same filter
106
+ text, so have your agent rerun `--filter` rather than keep an old link. See
107
+ [Handing the human a filtered planning page](userguide/guides/vantage-check.md#handing-the-human-a-filtered-planning-page).
108
+
109
+ ### Fixed
110
+
111
+ - In daemon mode, `g p` and the sidebar's planning entry opened the wrong page
112
+ for a project whose name holds `#` or `?`.
113
+ - On the planning page, the roadmap picker at the top of the contents column
114
+ drew its focus ring cut off at the left edge.
115
+
9
116
  ## [0.8.1] - 2026-10-02
10
117
 
11
118
  If your `.vantage.toml` sets a `target` before 0.8, such as `target = "0.7"`,
package/dist/index.cjs CHANGED
@@ -2773,6 +2773,7 @@ BUILT = "built"
2773
2773
  SUPERSEDED = "done"
2774
2774
  \`\`\`
2775
2775
  - **Each stage word maps to one of four roles**, which is what the word means to Vantage: \`open\` is still being decided, \`ready\` is decided and not built, \`built\` is built, and \`done\` is no longer a live proposal, so its questions leave every list of what needs a ruling. \`vantage-check index\` prints those lists.
2776
+ - **To ask a human for the rulings a piece of work needs, hand them a filtered planning page.** In the checkout their Vantage serves, name the work's documents from the root with a leading \`/\`: the design, its \`-plan.md\` if one exists, and what its \`depends-on\` names. Run \`vantage-check index --filter 'path:/<design> path:/<plan> is:open'\`, and give the human the \`Planning page:\` line: they press \`/\` on their planning page and paste it, or type the filter text into its Filter box. Once you have applied their answers, the same command lists what is still open.
2776
2777
  - **Never change \`target\`.** A \`target = "X.Y"\` line at the top of \`.vantage.toml\` names the oldest Vantage release the repository's readers use, and only a human edits it. A \`vantage-check\` older than the target refuses to run and names the release it needs: run that release, and leave the target as it is.
2777
2778
 
2778
2779
  ### Mermaid diagrams