ai-advisory-board 0.12.0 → 0.13.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,20 @@
1
1
  # CHANGELOG — AI Advisory Board CLI
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2b364d4: Decision intelligence: a concluded discussion now gets a Board Verdict (`aab discuss verdict`) with a forced recommendation, confidence from the spread of the members' own probabilities, preserved dissent and a grounded red-team pre-mortem. `aab decide` tracks the decisions that follow (from-discussion, record, outcome, review) and scores them (`aab decide calibration`: Brier, reliability buckets, per-member calibration). The dashboard shows the same. Malformed calibration fields from a model are dropped one by one instead of discarding a member's whole answer or the whole verdict; a decision is resolved once; decisions without a forecast are not scored; a lone dissenter can no longer win the surprisingly-popular vote.
8
+ - 2b364d4: Principles: fill anti-pattern, trigger questions and examples everywhere (CLI flags, interactive add/edit, GUI edit form, cards with "Show more" and an "Empty:" badge). Principle Explorer gets a review step, editable suggestions, auto-advance on triggers/examples/priority, "Create with AI" and "Fill gaps" in the GUI, `aab principles enrich`, and `aab principles session …` to run the explorer one command at a time without a terminal. Fixes: the GUI explorer forgot its own question inside a step, and a list with blank lines between items kept only the first item.
9
+
10
+ ## 0.12.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 80562ca: Fix wiki **Ask** failing with `Query LLM call failed: … "Prompt is too long"` on large wikis.
15
+
16
+ The query prompt inlined the wiki's `catalog.json` (and index). On a wiki with hundreds of pages (e.g. from email/Slack ingestion) that's ~700 KB+ → 170k+ tokens, overflowing the model's context window before the question is even answered. The query agent now **walks the wiki natively with Read/Grep/Glob** — exactly the approach documented in `KNOWLEDGE_WIKI.md` §15.2: `Grep wiki/` for the question's terms, resolve slugs via the compact catalog without reading it whole, and `Read` only the 1–3 relevant pages. Nothing from the wiki is inlined into the prompt, so it stays a fixed small size no matter how large the wiki grows. Answers are unchanged on small wikis; large wikis now work instead of erroring.
17
+
3
18
  ## 0.12.0
4
19
 
5
20
  ### Minor Changes
package/README.md CHANGED
@@ -192,6 +192,21 @@ aab discuss follow-up <id> "<q>" Ask a targeted follow-up question
192
192
  aab discuss list List saved discussions
193
193
  aab discuss show <id> [--round N] Pretty-print
194
194
  aab discuss delete <id>
195
+ aab discuss verdict <id> [--force] Board Verdict: recommendation, calibrated confidence,
196
+ dissent, pre-mortem, what would change the call
197
+
198
+ aab decide from-discussion <id> Turn a verdict into a tracked decision (with its forecast)
199
+ aab decide list | show <id> | review Decision portfolio; review lists decisions past their review date
200
+ aab decide record <id> "<what I did>" Mark a decision as acted on
201
+ aab decide outcome <id> <outcome> succeeded | partial | failed | learning (once per decision)
202
+ aab decide calibration Brier score, reliability buckets, per-member calibration
203
+
204
+ aab principles list | show <id> Principles, with the fields each one is missing
205
+ aab principles add | edit <id> Every field, incl. --trigger / --example (repeatable)
206
+ aab principles explore [<id>] AI-guided wizard with a review step (needs a terminal)
207
+ aab principles enrich Fill only the empty fields, principle by principle
208
+ aab principles session start|reply|accept|skip|edit|save
209
+ The explorer one command at a time (for agents/scripts)
195
210
 
196
211
  aab ui [--port 3737] [--bind 127.0.0.1] [--no-open]
197
212
  Start the local web dashboard
@@ -216,6 +231,8 @@ Everything supports `--workspace <id>`, `--json`, `--debug`, `--log-level <lvl>`
216
231
  prompts.json user prompt overrides
217
232
  discussions/<discussion-id>.json one file per discussion
218
233
  decision-sessions/<id>.json decision-coach sessions
234
+ decisions/<decision-id>.json tracked decisions + outcomes (Decision Intelligence)
235
+ calibration/YYYY-MM-DD.jsonl per-day Brier/log calibration ledger
219
236
  sparring/<discussion-id>/<session-id>.json 1:1 deep dives
220
237
  skill-runs/<action-item-id>/<run-id>.json skill-generation runs
221
238
  token-usage/YYYY-MM-DD.jsonl per-day token + cost log