feat(consensus): baya consensus command + site - #34
Conversation
Add a dedicated /consensus marketing page with a plain-language flow diagram, and a Mermaid component plus shared diagram sources. Break the monolithic docs page into per-topic sections. Wire consensus into the nav, features, FAQ, and sitemap. Trim the README and refresh wiki-llm conventions/index. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Add needs_draft to ConsensusCriteria fixtures, add criterion_id to Change fixtures, drop criterion_id from Finding fixtures (not a Finding field), and pass a ColorMode string to createTheme. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The path and the nav label now say "AI Consensus", which reads better as what the command does. Docs sidebar and section heading follow; the #consensus anchor id is unchanged so existing deep links still resolve. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Link previews for the ai-consensus page now show a 1200x630 card that redraws the "How the debate runs" flow instead of the generic site card. pageMetadata takes optional image/imageAlt overrides; the card is a committed PNG regenerated by scripts/generate-consensus-og.mjs. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…e report The producing-run report cut each reviewer's answer to its opening line and dropped straight into `spend`, so the thing the run exists to deliver was gone. Now it prints every reviewer's last answer in full, wrapped; the stop-reason line is green on convergence; `spend` closes with the run's wall-clock time; and the bare document goes to stdout only when piped. The gate lists reviewers on one line as `[model, model, …]`, model names only, falling back to the provider id when unpinned. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
🎉 This PR is included in version 1.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #33
Summary
Adds
baya consensus— a second command that puts one artifact (a spec, a diff, or a plain question) in front of several provider CLIs, has them review it independently and blind, and reconciles their findings round by round until nothing blocking is left.src/consensus/): pass 0 classification + criteria, blind fan-out to reviewers, per-reviewer ledgers, moderator reconcile loop, stall/round-ceiling stop, access postures.src/cli/consensus.ts, args, help, spinner):baya consensus <file|prompt> --providers … [--rounds …] [--kind …] [--tools …], confirm gate.src/ui/consensus-report.ts,block.ts): final document, rejected findings, unresolved disagreements.wiki-llm/consensus.md,specs/002-ai-consensus/spec.md,wiki-llm/cli.mdupdates./consensuspage with a plain-language flow diagram, aMermaidcomponent and shared diagram sources, docs page split into per-topic sections, consensus wired into nav / features / FAQ / sitemap, README trimmed.Test plan
npm test— unit + integration suites for the engine, ledger, prompt, schemas, report, CLI gate, and interrupt handling.🤖 Generated with Claude Code