vantage-md 0.9.0 → 0.9.2
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 +50 -0
- package/dist/index.cjs +16 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,56 @@ 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.2] - 2026-10-08
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `vantage-check` no longer asks you to link a file that git ignores. If a
|
|
14
|
+
committed document names a private, gitignored file — a local config file
|
|
15
|
+
that exists on your machine and nowhere else — the checker used to flag that
|
|
16
|
+
name on your machine and let it pass in a clean checkout. It now leaves the
|
|
17
|
+
mention alone. A link you wrote to that file is still checked.
|
|
18
|
+
|
|
19
|
+
## [0.9.1] - 2026-10-06
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
**A planning link from `vantage-check` opens its own project when one Vantage
|
|
24
|
+
serves several.** The `Planning page:` link that `vantage-check index --filter`
|
|
25
|
+
prints now ends with `&space=`, an id naming the checkout it ran in, and so
|
|
26
|
+
does `filter.link` under `--format json`. Put your Vantage's address in front
|
|
27
|
+
of the link and open it. In daemon mode, the page asks Vantage which project
|
|
28
|
+
holds that id and opens that project's planning page with the filter, with no
|
|
29
|
+
list of projects on the way. In 0.9.0 it listed every project's planning page
|
|
30
|
+
for you to pick from. A link made in a checkout your Vantage does not serve
|
|
31
|
+
says so, and in daemon mode only then shows that list. Pasting the line into
|
|
32
|
+
the Filter box works as before. See
|
|
33
|
+
[Filtered links](userguide/guides/planning.md#filtered-links).
|
|
34
|
+
|
|
35
|
+
**`index --filter` now writes `.vantage/space`.** The first run that prints a
|
|
36
|
+
link makes the file at the project root, holding the id, and later runs reuse
|
|
37
|
+
it. The checker keeps the id out of git, so that every clone gets its own.
|
|
38
|
+
When it makes `.vantage` itself, it also writes a `.vantage/.gitignore` that
|
|
39
|
+
ignores the whole directory. A `.vantage` that is already there with no
|
|
40
|
+
`.gitignore`, as the review inbox can leave one, gets one that ignores only the
|
|
41
|
+
id. A `.vantage/.gitignore` you already have is left alone, so make sure it
|
|
42
|
+
ignores `space`. A linked worktree gets an id of its own. A checkout copied
|
|
43
|
+
whole, `.vantage` included, shares the original's id, so a link from either
|
|
44
|
+
opens neither and the page lists both: remove `.vantage/space` in the copy. See
|
|
45
|
+
[What `--filter` writes](userguide/guides/vantage-check.md#what---filter-writes).
|
|
46
|
+
|
|
47
|
+
The checker and the viewer both need 0.9.1. Vantage 0.9.0 ignores `space=`
|
|
48
|
+
and lists each project's planning page as before, and a link from
|
|
49
|
+
`vantage-check` 0.9.0 has no `space=`.
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- Moving between pages, such as from a document to the planning page with
|
|
54
|
+
`g p`, no longer flashes the *Disconnected from backend* banner.
|
|
55
|
+
- A planning link written in a document, such as a `Planning page:` line in an
|
|
56
|
+
agent's handoff note, opened as a path inside that document's project. It now
|
|
57
|
+
opens the planning page.
|
|
58
|
+
|
|
9
59
|
## [0.9.0] - 2026-10-06
|
|
10
60
|
|
|
11
61
|
### Added
|
package/dist/index.cjs
CHANGED
|
@@ -2689,6 +2689,20 @@ function resolveLinks(html, options = {}) {
|
|
|
2689
2689
|
* Every rule stated here should be one a checker can enforce or a renderer
|
|
2690
2690
|
* actually cares about — if a line is neither, it does not belong.
|
|
2691
2691
|
*/
|
|
2692
|
+
/**
|
|
2693
|
+
* Shared by the style guide and every review clipboard payload. These are
|
|
2694
|
+
* authoring instructions, not a claim that the checker measures agent latency.
|
|
2695
|
+
*/
|
|
2696
|
+
const ANSWER_PROCESSING_GUIDE = `### Record rulings before downstream work
|
|
2697
|
+
|
|
2698
|
+
Vantage derives planning state from saved Markdown. Pending review comments can show an answer waiting on the agent, but an agent reply does not settle the question in the document; replying first can make it need the human again.
|
|
2699
|
+
|
|
2700
|
+
- **Record a clear ruling first**, in the checkout Vantage serves, before launching or continuing downstream work based on it. Do not wait for a larger rewrite, implementation, independent review, a full test suite, or a commit. A saved edit in another worktree does not update this interface.
|
|
2701
|
+
- **Finish a small, coherent document update.** Fold the ruling into the body it governs, then compact the settled question into a Decision Ledger row retaining its exact ID, decision, date, and a link to the governing section. Remove the question's directive only with that compaction; repair inbound Markdown links to its former anchor in the same update. Keep question-specific \`depends-on\` fragments when the ledger retains their IDs. Preserve the decision, not the discarded options and leaning.
|
|
2702
|
+
- **Keep unfinished work visible.** A decision is not evidence that it has been implemented. Update \`status\`, \`stage\`, \`next\`, and dependencies only as warranted; do not claim \`accepted\` while any question remains unanswered, including blocked ones, or use a \`done\` stage to hide work. A clarification request is not a ruling: reply without closing the question. For a partial answer, record the settled part and retain a narrower open question with its directive.
|
|
2703
|
+
- **Save each coherent update promptly**, rather than waiting for every document in the batch. The coordinator records rulings before handing those documents to a writer. Do not overwrite another writer's changes; if the served checkout is unavailable or the edit conflicts, report that obstacle explicitly instead of claiming the interface has updated.
|
|
2704
|
+
- **Then check the affected documents and deliver the comment responses.** Deliver responses for recorded rulings promptly, without waiting for downstream work or the rest of the batch. A response says what was recorded and what remains unbuilt. Do not claim the question is settled while its document is still open. Missing checker tooling does not justify postponing the saved update. Vantage cannot verify from prose alone that a ruling was incorporated correctly or enforce this ordering on an external agent.
|
|
2705
|
+
`;
|
|
2692
2706
|
const STYLE_GUIDE = `## Markdown style guide (for Vantage viewer)
|
|
2693
2707
|
|
|
2694
2708
|
When writing or updating markdown documents that will be viewed in Vantage, follow these conventions:
|
|
@@ -2896,6 +2910,7 @@ A question a document leaves for a human to rule on is an *Open Question*, writt
|
|
|
2896
2910
|
- **Write a question as a list item.** Outside a list, a question runs from the block its directive lands on through the blocks after it, up to the next heading (for a question written as a heading, the next one of its level or higher), the next rule or the next question, so whatever prose follows it before then is read as part of it. There the directive goes above the question's title, since every viewer reads the question's marker from the block it lands on: a directive below the bold title lands on the block after it, which carries no marker, so every viewer reads the question as open. \`vantage-check\` reports that as \`vantage/question-name\`.
|
|
2897
2911
|
- **\`oq\` is the name \`question\` replaces.** Vantage keeps reading \`<!-- vantage: oq id=OQ-9 leaning="…" -->\` as it always has, and \`vantage-check\` warns on it (\`vantage/oq-deprecated\`) with the \`question\` to write instead, keys unchanged. Vantage before 0.8 drops \`question\` whole, so a reader still on 0.7 gets no one-click answer and no anchor on a question written with it, and misreads nothing. So keep an \`oq\` on an open question unless you know every reader of the repository is on 0.8 or later. A repository whose readers are still on 0.7 says so with a \`target\` before 0.8, such as \`target = "0.7"\`: there an open question takes \`oq\`, new ones included, and \`vantage-check\` asks for \`oq\` rather than \`question\` on one. **Never put \`oq\` on a \u{1F512} or \u2705 question**: every Vantage before 0.8 offers the one-click button on every \`oq\`, whatever its marker says, and on a question with no leaning it files the literal text "Take the stated leaning." \`vantage-check\` reports that as an error (\`vantage/question-name\`).
|
|
2898
2912
|
|
|
2913
|
+
${ANSWER_PROCESSING_GUIDE}
|
|
2899
2914
|
### Tables, task lists, and math
|
|
2900
2915
|
- **Tables**: Use standard markdown tables for structured comparisons and schemas.
|
|
2901
2916
|
- **Task lists**: Use \`- [ ]\` and \`- [x]\` for actionable checklists and status tracking.
|
|
@@ -2904,6 +2919,7 @@ A question a document leaves for a human to rule on is an *Open Question*, writt
|
|
|
2904
2919
|
`;
|
|
2905
2920
|
//#endregion
|
|
2906
2921
|
exports.ALERT_TITLES = ALERT_TITLES;
|
|
2922
|
+
exports.ANSWER_PROCESSING_GUIDE = ANSWER_PROCESSING_GUIDE;
|
|
2907
2923
|
exports.COLOR_THEME_ATTRIBUTE = COLOR_THEME_ATTRIBUTE;
|
|
2908
2924
|
exports.COLOR_THEME_SOURCE_ATTRIBUTE = COLOR_THEME_SOURCE_ATTRIBUTE;
|
|
2909
2925
|
exports.DIRECTIVE_NAMES = DIRECTIVE_NAMES;
|