ai-advisory-board 0.8.0 → 0.10.0

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
@@ -1,5 +1,32 @@
1
1
  # CHANGELOG — AI Advisory Board CLI
2
2
 
3
+ ## 0.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f619c1a: Decision Coach: web-grounded facts + rendered-markdown chat.
8
+
9
+ - **The coach can now search the web.** `coachReply` spawns with `allowedTools: ['WebSearch', 'WebFetch']` (+ `strictMcpConfig: true`) instead of `[]`, and the hard `maxTurns: 1` cap is removed — a 1-turn cap aborted the moment the coach took a search turn before answering (same lesson as the member/sparring calls). The per-call budget and wall-clock timeout remain the guardrails. The system prompt gained a **"GROUND FACTS IN REALITY"** section instructing the coach to verify time-sensitive/checkable facts (a company's public-vs-private status, prices, valuations, recent events, regulations) via the web and cite sources, rather than asserting them from a stale training cutoff. Fixes the coach calling a now-public company "private".
10
+ - **The web chat renders markdown.** Assistant coach bubbles now run through `renderWikiBody` into `innerHTML` (the same lightweight renderer member responses use) instead of `textContent`, so headings/bold/lists/blockquotes render instead of showing raw `##`/`**` source. User turns stay plain text. The renderer also learned **horizontal rules** (`---` → `<hr>`) and **markdown links** (`[text](url)` → clickable `<a target="_blank">`, restricted to `http(s)`/`mailto`/`#` schemes), which improves member responses too since they share the renderer.
11
+
12
+ ## 0.9.0
13
+
14
+ ### Minor Changes
15
+
16
+ - 045b0c4: Add rename + delete for discussions in the web dashboard (and CLI parity).
17
+
18
+ - Each discussion card in the UI now has rename (✎) and delete (🗑) actions. Rename sets a display `title` (the original `question` the board was asked is never mutated); delete confirms then removes the discussion.
19
+ - New REST endpoints: `PATCH /api/discussions/:id` (set/clear `title`) and `DELETE /api/discussions/:id`.
20
+ - New `title?` field on the `Discussion` type; the terminal renderer, `aab discuss list`, and the new `aab discuss rename <id> <title>` (`--clear` to revert) all honour it so a discussion renamed in the UI shows its name in the CLI too.
21
+
22
+ - 045b0c4: Fix board members failing with `max_turns` on a populated Knowledge Wiki, and make wiki retrieval cheaper and CLI-driven.
23
+
24
+ - **Removed the tool-turn cap on member + sparring calls.** They no longer pass `--max-turns` to `claude`; the Claude Code harness, `--max-budget-usd`, and the wall-clock timeout are the real guardrails. The old hardcoded `5` only produced spurious "Reached maximum number of turns" failures on agents doing Read/Grep/Glob retrieval. Emitted agent files no longer carry a `maxTurns` frontmatter line (re-run `aab members sync-agents` to refresh existing files).
25
+ - **CLI-side retrieval (the CLI finds context, the member advises on it).** Before spawning a member, the CLI now deterministically scores wiki pages by keyword overlap (slug/title/tags/summary), reads the top few, and injects short excerpts into the message. Members keep Read/Grep/Glob as a fallback. Tunable via `knowledgeWiki.injectRetrievedContext` / `retrievalMaxPages` / `retrievalExcerptChars`.
26
+ - **Rewrote the wiki instructions** in member prompts, emitted agent bodies, and the query prompt: never `Read index.md` in full (it can exceed 256 KB) — Grep first, prefer the compact catalog, `Read` 1–3 pages, answer within a finite tool budget.
27
+ - **Compact catalog** at `wiki/.aab/catalog.json` (`slug, type, title, summary, tags, path`), auto-written wherever the slug-map is rebuilt (ingest/lint/query/rename/migrate). CLI retrieval reads it as its fast index.
28
+ - **`aab doctor`** now fails the "Wiki index size" check when `index.md` exceeds `knowledgeWiki.indexSizeWarnBytes` (default 200 KB) with a concrete hint; `aab knowledge lint` emits the same `index-too-large` finding.
29
+
3
30
  ## 0.8.0
4
31
 
5
32
  ### Minor Changes