93 agentic MCP tools + 49 specialist agents for every major AI CLI. Self-learning, no API keys.
io.github.jigyasudham/veto (MCP Server)
This Model Context Protocol (MCP) server runs locally on your machine and provides agentic tooling for multiple AI CLIs. It plugs into Claude Code, Codex CLI, Gemini CLI, Antigravity CLI, Cursor, Windsurf, and Zed. The package is described as having 93 agentic tools and 49 specialist agents, including self-learning and “zero extra cost on subscriptions.”
🛠️ Key Features
93 agentic MCP tools
49 specialist agents
Self-learning
Runs locally (local MCP server)
Integrations across multiple AI CLIs/editors
🚀 Use Cases
Use with Claude Code, Codex CLI, and Gemini CLI
Use with Antigravity CLI, Cursor, Windsurf, and Zed
Support workflows that align with agentic AI, code review, and security scanning
⚡ Developer Benefits
Access via the Model Context Protocol
Developer-tooling coverage across supported AI CLIs
Topics include developer-tools and security-scanner
⚠️ Limitations
Described integrations are limited to the listed CLIs/editors
Claims include “no API keys” only as part of the provided description, without further operational details
agentsagentic toolsself-learningno api keysspecialist agentsmulti-agent
93 agentic tools. 49 specialists. Every major AI CLI. Self-learning. Zero extra cost on subscriptions.
An MCP server that runs locally on your machine, plugs into Claude Code, Codex CLI, Gemini CLI, Antigravity CLI, Cursor, Windsurf, Zed, and JetBrains using your existing subscriptions — giving every AI a council of specialist agents, local LLM support, SDD agents, playwright automation, persistent cross-platform memory, a self-learning router that re-tunes its tier thresholds automatically every 20 recorded task outcomes (reviews record outcomes for you; configurable via auto_apply_learning), CI/CD gates, workspace discovery, and bidirectional IDE communication.
Billing note: "Zero cost" applies to subscription plans (Claude Max, Gemini Advanced, etc.). If you are on API/pay-per-token billing, LLM reasoning done for Veto agents (via the agentic loop or MCP Sampling) counts toward your token usage like any other turn. veto init detects API key environment variables and warns you automatically.
Getting Started
bash
# 1. Install the CLI — puts the bare `veto` command on your PATH
npm i -g @jigyasudham/veto
# 2. Register Veto with every AI client you use (Claude Code, Gemini, Codex, Cursor, …)
veto init
Prefer not to install anything? Every command also works via npx:
bash
npx -y @jigyasudham/veto@latest init
The two are independent by design. veto init writes MCP configs that launch the server with npx -y --package @jigyasudham/veto@latest veto-server — npx re-resolves @latest against the registry on every client restart, so the MCP server auto-updates itself and a global copy can never pin it to an old version. The global install only provides the CLI (veto doctor, veto sessions, the statusline, …); keep it current with npm i -g @jigyasudham/veto@latest when veto doctor says it's behind.
How the Agents Work
No API keys, zero extra cost. Every worker agent is a deterministic expert module at its core, with two optional layers of LLM reasoning on top — all of it delegated to the AI you're already paying for.
Default — Deterministic expert modules
Out of the box, each of the 42 worker agents runs as a hand-written expert module (plan() / analyze() in src/agents/) — not an LLM. They always run, work offline, and cost zero tokens. Their depth varies by design: analysis agents (security scanner, secrets, dependency audit, clone detector, privacy, auth, performance, compatibility, …) apply real algorithms — regex/AST detection, OWASP/CWE rules, hash-based clone matching — while planning agents (coder, debugger, tester, …) are structured expert playbooks: curated steps, checklists, and pitfalls for the task category, built to be reasoned over by the AI you already pay for rather than to reason themselves.
Path A — Agentic loop (most clients: Claude Code, Cursor, Windsurf)
Veto returns the specialist's role, rubric, and an output contract as an llm_upgrade prompt. The host AI reasons as the specialist and passes structured JSON back to complete the operation. This is the primary path — it costs nothing beyond your existing subscription and works on every client.
Path B — MCP Sampling (clients that support server.createMessage)
Where Sampling is available, the same upgrade happens server-side without the extra round-trip. Note: the July 2026 MCP spec revision deprecates Sampling protocol-wide (12-month sunset), so the agentic loop (Path A) is Veto's long-term default; Sampling remains a transparent optimization where it exists.
The 7-agent Council is LLM-first — its value is the multi-agent debate — but it too falls back to a deterministic verdict when no LLM path is available. When multiple agents run, they execute in parallel.
Specialist Roles
49 specialists: 42 deterministic worker agents across 6 domains + a 7-agent Council. The Council debates trade-offs before you build; the worker agents do the hands-on analysis and planning. Each is a deterministic expert module that can upgrade to LLM reasoning — see How the Agents Work. List them anytime with veto agents.
Council (7)Lead Dev · PM · Architect · UX · Devil's Advocate · Legal · Security
93 tool schemas cost a client ~20K context tokens before the user types a word. Compact mode advertises a surface that is 5–6× smaller: seven core tools (veto_status, veto_session_save, veto_session_restore, veto_route_task, veto_council_debate, veto_memory_search, veto_record_outcome) plus two meta-tools — veto_find_tools searches the full catalog by keyword and returns matching schemas on demand; veto_call invokes any catalog tool by name. Every tool remains directly callable in both modes; compact only changes what is advertised up front.
Enable it with VETO_COMPACT=1 in your MCP server config env, or "compact_tools": true in ~/.veto/config.json:
LLMs propose plausible-but-nonexistent package names, and adversaries register those names on public registries (slopsquatting) — a supply-chain attack class with no pre-install check in most AI workflows. veto_dep_verify checks every proposed package against the live registry before you install:
code
veto_dep_verify { packages: ["axios", "axois", "left-padd"], ecosystem: "npm" }
→ axios verified (14 years old, 40M downloads/month)
→ axois HIGH_RISK (1 edit from "axios" — possible typosquat)
→ left-padd NOT_FOUND (likely hallucinated — do NOT retry the install later:
nonexistent AI-suggested names are prime slopsquat targets)
Signals per package: registry existence, age, monthly downloads, version history, deprecation, and typo-distance from popular packages. Supports npm, PyPI, and crates.io. Network failures return unverifiable — never silently safe.
Decision-Drift Enforcement
AI assistants forget architectural decisions and re-litigate them sessions later — the most common complaint about long-running AI projects. Veto's memory doesn't just store decisions; it enforces them. Record a decision once as a machine-checkable constraint:
code
veto_decisions {
action: "add",
rule: "We use Postgres — no Mongo",
why: "Decided 2026-05: relational data, team expertise",
forbidden_patterns: ["mongoose", "mongodb"],
severity: "block"
}
From then on, veto_diff_review and veto_ci_gate automatically fail any diff whose added lines match a forbidden pattern — when an AI quietly adds mongoose to the imports three sessions later, the review fails with the rule and the rationale attached. Patterns are case-insensitive regexes (with substring fallback), optionally scoped to a file glob (src/**/*.ts), per-project or global, severity block or warn. Manage with action: list / check / disable / enable.
You don't have to remember to do this. When a council verdict (the LLM-backed one) or an ADR settles something, its result carries a one-time constraint_invitation: your AI asks you once whether it should become a rule, and passes your answer back as add or decline with the invitation_id. It never asks twice about the same verdict. action: list shows how many invitations were offered, accepted and declined; that count stays on your machine.
A rule can't stall your reviews. add refuses a pattern that could hang the check: one over 200 characters, or a repeated group that itself repeats, like (a+)+. Every check is also time-boxed, so a slow rule turns into a warning instead of blocking veto_ci_gate.
Compounding-Error Circuit Breaker
Agents fail silently in loops — retrying the same broken call, re-hitting the same error, thrashing between two tools — and burn a whole session before anyone notices. veto_drift_check scans the recent tool-call trace for that pattern mid-flight and trips a breaker before the spiral compounds:
code
veto_drift_check
→ DRIFT DETECTED
• 4 consecutive failed calls (veto_diff_review)
• same error repeated 3× ("no diff provided")
• tool veto_route_task called 6× in a row
→ remediation (debugger agent): stop retrying; the diff is empty —
point at a project_dir with uncommitted changes or pass `diff` explicitly.
It looks for three drift signals — consecutive failures, duplicate error messages, and single-tool repetition — and when any trips, it runs the debugger agent over the trace for a concrete recovery step instead of letting the loop continue. Call it as a periodic checkpoint in long agentic runs.
Which tool do I use?
Several tools overlap by design (different granularity or entry point). Quick guide:
Reviewing code
You have…
Use
Note
A snippet or single file in hand
veto_code_review
not veto_diff_review, which reads a git diff
Uncommitted/changed files (git diff)
veto_diff_review
code + security + secrets scans in parallel
To gate a commit (hard-block on secrets)
veto_pre_commit
tuned for commit-time
To gate CI (exit code + pass/warn/fail)
veto_ci_gate
for GitHub Actions / GitLab CI
A deeper pre-merge/pre-ship pass (+ quality)
veto_full_review
richer than veto_diff_review
A GitHub PR by number/URL
veto_pr_review
fetches the diff, returns postable comments
Remembering things
Want to…
Use
Save/recall a solution, decision, or reference
veto_memory_store / veto_memory_search
Track a recurring code convention
veto_pattern_store / veto_patterns_list
Navigate the codebase without scanning the filesystem
veto_project_map_get (refresh via veto_project_map_update)
Running multi-step work
Want to…
Use
Run several agents at once on one task
veto_execute_parallel
Run a sequential pipeline with pass/fail gates
veto_workflow
Turn a PRD / plain English into a task DAG
veto_task_parse (feeds veto_workflow)
Plan a new feature end-to-end (council → plan → tasks)
veto_new_feature
Sessions
Want to…
Use
Resume work with full saved context
veto_session_restore (or veto_continue for the latest)
See the event / tool-call timeline of a session
veto_session_replay
Move work to another AI tool
veto_handoff → veto_continue
MCP Resources
URI
What it returns
veto://sessions
All saved sessions across platforms
veto://project-map?dir=<path>
Stored project structure map
veto://memory?q=<query>
Knowledge base search results
veto://patterns
Learned coding patterns
MCP Prompts
Prompt
What it does
code-review
Full code review — paste code, get scored findings
security-audit
OWASP Top 10 scan with CWE references
deploy-checklist
Council reviews your deployment plan before you ship
explain-file
Expert explanation of any file, auto-routed by type
CLI Commands
These work standalone in any terminal — no AI client needed. The bare veto command comes from the global install (npm i -g @jigyasudham/veto, see Getting Started); without it, prefix any command with npx -y @jigyasudham/veto@latest.
bash
veto init # Configure all AI tools + scan project
veto doctor # Check MCP registrations + system health
veto doctor --fix # Also move aside old Veto guides left in Codex/Gemini files
veto status # Version, DB path, session/memory/outcome counts
veto version # Alias for veto status
veto sessions # List last 20 saved sessions ([auto] badge on auto-saves)
veto sessions --clean # Remove auto-saves older than 7 days
veto memory [query] # Search knowledge base (blank = all entries)
veto patterns [prefix] # List learned agent/routing patterns
veto tools [filter] # List all 93 MCP tools (--json for machine output)
veto agents [filter] # List all 49 specialists — workers + council (--json)
veto routing [status|log|reset] # Inspect the opt-in routing feedback loop
veto transcripts <sub> # Opt-in transcript capture (off by default) —# enable|status|sources|list|show|purge|disable
veto lessons <sub> # Opt-in note sharing between your AIs (off by default) —# on|status|list|why|forget|flows|off|exclude|include|alias|recheck
veto statusline <sub> # Veto line under the Claude Code prompt, or beside# Codex/Gemini — install|status|print|watch|uninstall
veto hook install # Install pre-commit secrets scan hook
veto hook remove # Remove the veto pre-commit hook
veto check # Scan staged changes for secrets (used by hook)
veto help# Commands + MCP tools reference
veto help --troubleshoot # Full troubleshooting guide
veto doctor
code
veto doctor
Veto Doctor — system health check
─────────────────────────────────────────────────────
✓ Node.js v22.13.0
✓ ~/.veto exists
✓ Database ~/.veto/veto.db
17 sessions · 12 memories · 3 patterns
MCP Registrations
─────────────────────────────────────────────────────
✓ Claude Code — registered
✓ Gemini CLI — registered
✓ Antigravity CLI — registered
· Codex CLI — not installed
· Zed — not installed
✓ All checks passed — Veto is healthy!
Versions of veto init before this release wrote Veto's guide over ~/.gemini/GEMINI.md (Gemini's own memory file) and into ~/.codex/AGENTS.override.md, which Codex reads instead of your ~/.codex/AGENTS.md. Current versions never write either file. veto doctor reports any copy left behind, and veto doctor --fix (or veto init) renames a copy to *.veto-backup — only when the file is exactly a guide Veto shipped. A file with anything else in it, such as memories Gemini saved below the guide, is reported and never touched. What an old init overwrote cannot be recovered.
veto statusline
In Claude Code, veto statusline install adds a Veto line under the prompt: the latest council verdict, router confidence, live context and rate-limit use, and memory size. While note sharing is on, it also shows how many notes Veto holds (notes 178); with sharing off, that count is left out rather than shown as zero.
Codex and Gemini cannot run a custom status line — each only shows its own built-in items (Codex: openai/codex#20244). So there, the same line runs in a small split pane beside the AI and follows its session in the current folder:
bash
veto statusline watch # follows whichever AI is working in this folder
veto statusline watch --client=codex # or pin one: claude | codex | gemini
veto statusline install --client=codex # prints the split-pane setup for your terminal; writes nothing
For Codex it reads context and rate-limit use from Codex's own session file; Gemini records no usage figures, so its line shows the live session without gauges. veto statusline print --client=codex prints one line, for a tmux status bar or a script.
Council Debate
Two-phase flow — works on Claude Code, Gemini CLI, Antigravity CLI, and Codex CLI with no API keys:
code
# Phase 1 — call with task, get instant deterministic result + LLM upgrade prompt
veto_council_debate {
task: "migrate auth from sessions to JWTs",
project_dir: "/your/project",
strictness: "standard"
}
→ {
llm_backed: false,
final_verdict: "YELLOW",
votes: { lead_dev: {...}, architect: {...}, security: {...}, ... },
llm_upgrade: {
available: true,
instruction: "Read debate_prompt, reason as all 7 agents, call again with agent_responses",
debate_prompt: "You are running a Veto Council debate. Analyze the task as each specialist..."
}
}
# Phase 2 — reason as all 7 agents, pass responses back → get LLM-backed verdict
veto_council_debate {
task: "migrate auth from sessions to JWTs",
agent_responses: {
lead_dev: { verdict: "warn", reason: "Stateless JWTs complicate logout — need blocklist", concerns: ["Refresh token rotation must be atomic"], recommendation: "Use short-lived access tokens (15m) + httpOnly refresh tokens" },
pm: { verdict: "approve", reason: "JWT migration unblocks mobile clients", concerns: [], recommendation: "Ship behind a feature flag, roll back if logout issues" },
architect: { verdict: "approve", reason: "Good fit for stateless microservice boundary", concerns: ["Clock skew can break expiry across services"], recommendation: "Add NTP sync check; use relative expiry not absolute timestamps" },
ux: { verdict: "approve", reason: "No user-visible change if migration is seamless", concerns: [], recommendation: "Silent migration — no logout required for existing sessions" },
devil: { verdict: "warn", reason: "What if the refresh token store goes down at 2AM?", concerns: ["Redis outage = all users logged out"], recommendation: "Fallback to session auth if Redis is down; use short rotation window" },
legal: { verdict: "approve", reason: "JWTs are industry standard, no new compliance risk", concerns: [], recommendation: "Document token storage in privacy policy" },
security: { verdict: "warn", reason: "Refresh token rotation must be atomic — TOCTOU risk", concerns: ["localStorage storage of access token is XSS-vulnerable"], recommendation: "Store access token in memory only; refresh token in httpOnly Secure SameSite=Strict cookie" }
}
}
→ {
llm_backed: true,
final_verdict: "YELLOW",
warnings: ["Refresh token rotation must be atomic...", "What if the refresh token store goes down..."],
recommended: "Proceed with JWT. Use httpOnly cookies for refresh tokens, memory-only for access tokens..."
}
Token usage is manually reported — pass token_count to veto_status or veto_session_save and Veto stores it per platform per day. veto_rate_status shows what you've reported; nothing is counted automatically.
Every agent tool auto-records a quality signal when it completes. After any working session, veto_learning_stats shows live data and veto_learning_apply adjusts tier thresholds automatically after ~20 calls.
The loop also feeds itself implicitly: veto_learning_stats mines the tool-call trace for signals nobody recorded manually — an agent-backed tool that returned an error, or the same analysis tool re-run within minutes in one session (which usually means the first answer didn't satisfy) — and records them as low-quality outcomes automatically.
bash
veto_route_task { task: "debug auth issue", file_ext: ".ts" }
→ { ..., recommended_agent: "debugger" } # ← predicted from history
Claude at 90% → veto_handoff { summary, context }
Open Gemini → veto_continue { resuming_as: "gemini" }
Full context restored. Continue exactly where you stopped.
Platform switching is manual — Veto surfaces which platform has budget remaining via veto_rate_status, you decide when to switch.
Platform
Support
Claude Code
✅ Native MCP
Gemini CLI
✅ MCP support
Antigravity CLI
✅ MCP support
Codex CLI
✅ MCP support
Cursor
✅ MCP support
Windsurf
✅ MCP support
Zed
✅ MCP support (context_servers)
Session Transcript Capture (opt-in)
veto_session_save writes a ~1k-token summary. That is enough to resume, but not enough to answer "three weeks ago, what exactly did we conclude, and when?" Transcript capture keeps the detail a summary throws away and makes it searchable — with no API keys, no per-query cost, and nothing leaving your machine. It is a metadata table-of-contents plus a portable BM25 index built on core SQLite only — no FTS5, so it works on every supported Node — fused with local semantic search, and your AI as the reranker.
⚠️ Read this before you enable it
Veto copies your AI client's own conversation memory. On save, Veto archives a byte-for-byte copy of the host CLI's transcript file — every message you sent, every reply, and all tool activity — into its own local store.
The copy is independent. The original file is never modified, but Veto's copy outlives it. Clearing your AI client's history, or the client rotating its own logs, will not remove the archive. Only veto transcripts purge or the retention window does.
It inherits whatever was in the session. Secrets, customer data, third parties' information — if you pasted it, it is in the archive. Detected secrets are masked everywhere an AI can read them, but the raw archive on disk is private data. Treat it like your shell history.
Local only. Nothing is uploaded or shared. The archive directory deliberately avoids cloud-synced folders, and a sync path is flagged if one is detected.
Off until you say so. Capture is disabled by default. veto transcripts enable prints this disclosure in full and records versioned consent; if the disclosure materially changes, you are re-prompted.
bash
veto transcripts enable# Opt in — prints what/where/retention, records consent
veto transcripts status # State, archive dir, retention, disk usage
veto transcripts sources # Per-CLI: where sessions live + what Veto can see
veto transcripts list # Archived sessions
veto transcripts show <id> # One session's table-of-contents + facts (any AI's session id)
veto transcripts purge <id> # Delete an archive (also --project=<dir> | --all; --source=codex to narrow)
veto transcripts disable# Stop capturing (existing archives are kept)
Works in Claude Code, Codex CLI and Gemini CLI
All three are captured and recalled through the same pipeline, each with its own
format adapter, and Veto works out which one it is running in by itself — the
MCP handshake names the host, so nothing depends on the AI reporting it correctly.
Veto finds each host's session files on disk at save time (Claude Code's statusline,
when installed, also reports its session live). A project folder matches however a
host spells it — Gemini records d:\veto for the folder a save calls D:\Veto.
veto transcripts sources shows exactly what it can see for each, and when a save
archives nothing, its response says why.
Each adapter was written against real transcripts rather than docs, which is how
two format traps got handled: Codex records every message on two parallel
streams, and Gemini's chat log appends a fresh copy of a message each time it
grows. Both would otherwise put several copies of the same message into the
index.
Recall runs through veto_session_replay as a two-call loop — search, then expand:
code
{ query: "npm E404 publish" } → table-of-contents + top hits with snippets
{ expand: { event_id: 412 } } → the exact lines, masked, with a turn + timestamp citation
Past sessions, used without asking
Recall only helps if an AI thinks to reach for it, and mostly it did not. So the
tools where history changes the answer bring it along themselves, from every
archived chat — whichever AI it happened in:
veto_continue / veto_session_restore list the chats behind the saved
session (for example a Codex chat and two Claude Code chats) and what was asked
last in each.
veto_memory_search returns matching excerpts from past chats beside stored
memory.
Every prompt Veto hands a model — agent tools and the council — carries up to
three relevant excerpts.
An excerpt is attached only when it is conversation (not a tool payload) and shares
at least two words with the question; nothing is attached while capture is off.
Excerpts are labelled as historical data, not instructions, and the deterministic
analyzers never receive them, so an old excerpt cannot become a finding.
Semantic recall — finding what you can't quite remember
Keyword search fails on the question you actually have. You remember what was
decided, not the words it was written in — so "why did the upload fail" never
finds the note that says "the credentials had expired".
Veto searches meaning as well as words. Each captured event is split into
overlapping windows and embedded locally; a query is embedded the same way, and
the two rankings — keywords and meaning — are fused so neither can bury the
other. An exact identifier like E404 still ranks first, and a question sharing
no vocabulary with its answer still finds it.
This runs entirely on your machine. No API key, no per-query cost, no text
leaving the disk, and it works offline. What buys that is a 7 MB embedding
table installed as a normal dependency:
It is downloaded once per machine by npm's shared cache, not per project.
It ships with Veto whether or not you enable transcript capture. That is the
honest cost of the design: pinning an immutable package means the bytes can
never change under a released version, and it removes the runtime download,
checksum and mirror machinery that a fetch-on-demand model would need.
It is loaded lazily, at the first semantic query — never at startup. If it
is missing or damaged, search silently falls back to keywords only and Veto
keeps working.
The table is potion-base-8M
by Minish Lab (MIT), distilled from
baai/bge-base-en-v1.5 and repacked to int8. It is a static lookup table, not a
neural network: there is no model running at query time, which is why a search
costs milliseconds. The inference code is Veto's own.
Notes Shared Between Your AIs (opt-in, trial)
Claude, Codex and Gemini each keep notes in their own memory: Claude's per-project memory folders, ~/.codex/AGENTS.md, ~/.gemini/GEMINI.md. Each AI learns something, and the others never hear of it; the same lesson gets learned twice in two projects. Veto reads those notes and can share them where they help: across your projects, and between your AIs.
⚠️ What turning it on means
Across your projects: a note about you or this computer, written while you worked on one project, can be shared into your others.
Between AIs: a note Claude wrote can reach Codex and Gemini, and the other way round. A note given to an AI goes to that AI's company as part of your conversation, like anything else you send it.
Read-only. Veto never changes or deletes an AI's memory files. It keeps a copy of each note in its own local database, with email addresses, your home folder and anything that looks like a password or key removed first. Veto itself uploads nothing.
Off until you say so, and only you can say so.veto lessons on shows this disclosure and asks you to type yes in a terminal of your own. When an AI runs the command, it is refused, so no AI can switch sharing on for you. No upgrade ever turns it on, and if what sharing does materially changes, you are asked again.
A trial for now. Veto gives none of the notes to any AI yet. To find out whether they would help, it reads the first message of each Codex session in your projects, from Codex's own session files, even when Veto took no part in the session. It works out which notes it would have given, and keeps only that choice. It never keeps your message and sends nothing anywhere. This runs for 8 weeks or 20 Codex sessions, whichever comes first; see The trial. Before it starts giving notes to your AIs, Veto will ask you again.
Most notes never leave their project. A note stays home if it is about that project, or if it contains a command, a web address, a credential or an instruction to fetch, send or run something; notes about secrets or personal details never leave their project at all. Only a note about you (Claude's user and feedback notes, a CLI's global instructions) or about this computer (its shell, console or network) may travel. A shared note arrives marked as information from another AI session, never as an instruction.
bash
veto lessons on # Read the disclosure; type yes to accept (your own terminal only)
veto lessons # Status: notes found, how many may travel, anything switched off, and the trial so far
veto lessons list # Every note Veto has read, by project (--shared, --held, --scope=, --source=, --json)
veto lessons why <id> # One note: who wrote it, when, why it stays or travels, where it may go
veto lessons flows # Where each AI's notes may go, per project
veto lessons forget <id> # Stop one note for good, with its copies in your other checkouts
veto lessons exclude [dir] # Keep a project out entirely: nothing leaves it, nothing enters it
veto lessons include [dir] # Undo exclude: the project's notes are read again
veto lessons alias# Memory on a drive that isn't plugged in: suggests the command that links it
veto lessons recheck <ai> # Read an AI's memory again after Veto stopped because its format changed
veto lessons off # Turn sharing off and delete everything Veto copied, trial records included
Picked up when you save
With sharing on, every veto_session_save also re-reads each AI's memory and records what changed, so a note an AI wrote today is picked up without you running anything. A file that has not changed costs one check of its size and date, which adds about 20 ms to a save. The pass is capped at 150 ms a save, anything it does not reach waits for the next save, and it can never cause a save to fail. Turning sharing on reads everything once, up front, and veto lessons commands always check every file. To stop only the save-time pass, set lessons.harvest_on_save to false in ~/.veto/config.json.
The trial
Before Veto gives any AI a note, it has to show that the notes it would give are real and useful. The trial is how: it records what Veto would have given, and gives nothing.
When it runs: from the moment you accept, for 8 weeks or 20 Codex sessions, whichever comes first.
What counts: Codex sessions in a project that has notes to choose from. A session's first request is matched against the notes Veto held when that session began, so a note that arrived or changed later does not count. A subagent is not counted twice. Claude Code sessions are not part of this trial: Claude already loads its own project's notes, which leaves almost nothing to add.
What you do: use Codex for real work in a project that has notes, and start each session with a proper description of the task, since that is what notes are matched against.
What you see:veto lessons shows the trial as it goes. It also warns if several sessions in a row yield no request at all, which most likely means Codex changed its format rather than that no note fitted.
code
Trial: day 12 of 56 · 7 of 20 Codex sessions counted
4 with notes chosen · 3 with none that fitted · 2 in projects with no notes to give
Your record stays yours: it stays on your machine, and Veto collects nothing from it. This release has no command that judges it, so nothing looks at it but you. If transcript capture is on, finished trial sessions are archived too, including Codex sessions you never saved with Veto, so the evidence behind each choice is kept.
What decides delivery: the trial on the Veto author's own machine, under rules written and sealed before it recorded anything. When it ends, an independent AI judge scores each chosen note against what its session went on to do, once. If the notes are not clearly real and useful, delivery does not ship. If they are, delivery can be designed, and Veto will ask every user for consent again before any note reaches an AI.
Upgrading from 3.5.0
3.6.0 asks for your consent again, because 3.5.0's text said Veto worked out nothing about which notes it would give, and the trial does exactly that. Until you run veto lessons on in your own terminal and accept, sharing is paused: nothing is read, harvest-on-save stops, and the trial does not start. The notes Veto already holds are kept.
Release Notes
3.6.0
The shared-notes trial now measures whether the notes would help. Before Veto gives any AI a note, it has to show that the notes it would give are real and useful. For 8 weeks or 20 Codex sessions, whichever comes first, Veto reads the first message of each Codex session in your projects from Codex's own session files, works out which notes it would have given that session, and records only that choice. It never keeps your message, and it still gives no note to any AI. Sessions are found from Codex's own files rather than from Veto's connection, because the Codex VS Code extension runs many conversations in one process and would otherwise be missed. Only the notes Veto held when a session began count, and subagents are not counted twice. veto lessons shows how the trial is going, and warns if sessions stop yielding a request, which would mean Codex changed its format. If transcript capture is on, finished trial sessions are archived so each choice can be checked later. Your record stays on your machine, and nothing judges it; whether delivery ships is decided by the trial on the author's own machine, under rules sealed before it began.
Sharing pauses until you accept again. Consent moves to version 3, because the version-2 text said Veto worked out nothing about which notes it would give, and the trial makes that untrue. Anyone who turned sharing on in 3.5.0 sees it paused, with nothing read, until they run veto lessons on in their own terminal and accept the new text. Nothing already harvested is deleted. Before any note is actually given to an AI, Veto will ask again.
Catching up after an upgrade is much faster. When every memory file needs reading again, which happens whenever Veto changes how it reads them, harvest-on-save used to take 16 to 25 saves to catch up, each using its full time budget. Almost all of that went on running git again for every project folder on every save. Veto now remembers which project each folder belongs to, and catching up takes 3 to 5 saves. veto lessons commands still work each folder out afresh.
Removed: the unused shadow log. 3.4.0 and 3.5.0 created a table for the trial that nothing ever wrote to. Its design would have stored each session's prompt, which the trial must never do. It is dropped on upgrade while empty, and replaced by the trial's own table, which stores only the choice.
3.5.0
New, opt-in and a trial: Veto reads the notes your AIs keep. Claude Code, Codex and Gemini each write lessons into their own memory, and none of them hears what the others learned. With sharing on, Veto reads those notes, keeps a masked copy in its own local database, and works out which ones could safely travel: across your projects, and between your AIs. For now it gives none of them to any AI. That is the next step, and Veto will ask you again before taking it. Sharing is off until you run veto lessons on in a terminal of your own and type yes. When an AI runs the command, it is refused, and no upgrade turns sharing on. See Notes Shared Between Your AIs.
New: veto lessons. See what Veto read and why: list shows every note by project, why <id> shows where a note came from and where it may go, and flows shows where each AI's notes may go. Control it with forget <id> to stop one note for good, exclude to keep a project out entirely, alias to link memory on a drive that isn't plugged in, and off to turn sharing off and delete everything Veto copied.
Notes you write today are picked up when you save. With sharing on, veto_session_save also re-reads each AI's memory and records what changed, so there is nothing to remember to run. A file that has not changed costs one stat, which adds about 20 ms to a save across 90 memory files. The pass is capped at 150 ms per save; anything it doesn't reach waits for the next save, and it can never cause a save to fail. Turning sharing on reads everything once, up front. To stop just the save-time pass, set lessons.harvest_on_save to false in ~/.veto/config.json.
The status line shows how many notes Veto is holding (notes 175), only while sharing is on. It never shows a zero that could suggest notes are kept when they are not.
Bug fix: an agent response of the wrong shape was reported as a result. Every field in the agent response schema had a default, so a response Veto could not read passed validation as a complete answer assembled from defaults. For an analysis that meant score 70 and "approved with warnings". An unreadable security scan therefore reported as broadly passing, with no findings, and veto_execute_parallel returned confident, empty reviews. A response now has to contain what it claims to be (a plan needs an approach or steps; an analysis needs findings, a score, a verdict or a summary), and anything else is an error that names the keys that did arrive. An out-of-range field is still repaired as before, such as a score of 150 clamped to 100.
Bug fix: a council's seven analyses could be silently discarded.veto_council_debate accepted phase-2 responses only as a JSON object, and models often send a JSON string. A string fell through to phase 1, which returned a deterministic verdict that looked like the real one, with nothing to say the written analyses had been thrown away. A string is now read like an object, and responses that genuinely cannot be read return an error saying what arrived and what was expected.
3.4.0
Past sessions now reach the tools that need them, from every AI. Transcript recall only helped when an AI thought to ask for it, and mostly it did not. Now veto_continue and veto_session_restore list the archived chats behind a saved session — say, the Codex chat and two Claude Code chats that worked on it — with what was asked last in each. veto_memory_search returns matching excerpts beside stored memory, and every prompt Veto hands a model, for the agent tools and the council, carries up to three relevant excerpts. An excerpt is attached only when it is conversation, never a raw tool payload, and shares at least two words with the question; nothing is attached while capture is off. Excerpts are labelled as historical data rather than instructions, and the deterministic analyzers never receive them, so an old excerpt cannot turn into a finding.
New: a Veto status line beside Codex and Gemini. Neither CLI can run a custom status line — each shows only its own built-in items — so veto statusline watch draws Veto's line in a small split pane beside the AI and follows its session in the current folder. For Codex it shows context and rate-limit use, read from Codex's own session file; Gemini records no usage figures, so its line shows the live session without gauges. veto statusline install --client=codex (or gemini) prints the one-line setup for Windows Terminal, tmux or VS Code and changes nothing.
Bug fix: veto init overwrote other AI CLIs' own memory files. Since 1.4.5, init replaced ~/.gemini/GEMINI.md — Gemini's memory file — with Veto's guide, and wrote ~/.codex/AGENTS.override.md, which Codex reads instead of your ~/.codex/AGENTS.md, hiding your global Codex instructions. Init now writes neither. veto doctor reports a copy an older version left behind, and the new veto doctor --fix (or veto init) renames it to *.veto-backup — only when the file is byte-for-byte a guide Veto shipped. A file with anything else in it, such as memories Gemini saved below the guide, is reported and never touched. While a leftover exists, your AI offers the cleanup once per session. What an older init overwrote cannot be recovered.
Bug fix: transcript capture could archive nothing, or the wrong chat, without saying so. Gemini records a project folder in lowercase (d:\veto) where a save names it D:\Veto, and matching was case-sensitive, so Gemini chats on Windows were never found; folder matching now ignores case and slash direction on Windows. veto transcripts show and purge looked only at Claude Code chats — purging a Codex or Gemini chat printed "✓ Purged 0 archive(s)" and deleted nothing; both now take any AI's session id, and a purge that matches nothing says so. Claude Code chats were captured only when Veto's status line was installed; they are now found in Claude Code's own projects folder. A save that did not name its project captured nothing; it now uses the project already known for the session. Every save that archives nothing now says why.
Bug fix: a session was labelled with the AI the model claimed to be. A session saved from Codex by a model that reported itself as Claude resumed as "restored from claude". The AI that actually connected is now recorded, a mismatch is noted in the save response, and a resumed session names whoever saved it last. In veto_continue and veto_session_restore output, created_by is now saved_by.
Bug fix: a status line wired by hand counted as not installed. Veto recognised only the exact command veto statusline print, so any other form — node …/dist/cli.js statusline print, veto.cmd, npx, or --capture — counted as missing: every session carried the "status line not enabled" tip, veto statusline status said no, and install asked for --force. Any command that runs Veto's statusline print now counts. Uninstall still removes only the exact line Veto wrote, so it never deletes a command someone else set up.
Also included, switched off: groundwork for sharing what each AI learns. Harvest-and-Share will read the notes Claude Code, Codex and Gemini keep in their own memory and offer them to the others. This release contains only the groundwork: it reads nothing and shares nothing, has no command yet, and needs a separate opt-in that no upgrade turns on.
3.3.0
Veto now asks whether a decision should be enforced.veto_decisions has long been able to turn a recorded decision into a rule that fails any diff reintroducing what was ruled out, but a rule only exists if someone thinks to write one, and nothing ever prompted it. Now, when a council verdict (the LLM-backed one) or an ADR settles something, its result carries a one-time invitation: your AI asks you, in one line, whether the decision should become a rule. Yes becomes veto_decisions add with the invitation's id, in your own words; no becomes the new decline action. It never asks twice about the same verdict, never after a deadlock, and your AI is told to skip verdicts that settle nothing lasting. veto_decisions list shows how many invitations were offered, accepted and declined. That count is kept on your machine and never uploaded.
A decision rule can no longer stall a review. Rules run inside veto_diff_review and veto_ci_gate, so a badly shaped pattern could hang either one. add now refuses the shapes that cause that: a pattern over 200 characters, or a repeated group that itself repeats, like (a+)+. Each check also has limits. It reads only the first 2,000 characters of each added line, so a match further along a very long line (a minified bundle, say) is not flagged. It stops after two seconds and reports that it did, so a slow rule turns into a warning instead of blocking a merge. A rule saved by an earlier version that fails these checks is now matched as plain text.
Bug fix: a resumed session showed when it started, not when it was last saved.veto_continue and veto_session_restore reported the time of a session's first save, so a session updated 18 days after it began resumed looking 18 days out of date. Underneath, the last-saved time was stored in two formats, and that caused two more faults. veto_continue called without a session id could restore the wrong session when one session was updated and another saved for the first time on the same day; the VS Code extension picks its latest session the same way. And veto_metrics counted zero sessions today for any session saved today and not yet updated. Existing records are converted once, automatically, the first time 3.3.0 opens its database; the times themselves don't change. veto sessions now shows the last-saved time too.
3.2.1
Bug fix: veto-server did not start when installed through npm or npx on macOS or Linux. The process exited immediately, without error and with a success status, so clients reported only "connection closed during initialize". The cause was the check that decides whether the server was run directly or merely imported: it compared the running module's path against the path it was invoked with, and npm installs a command as a symlink on those platforms, so one side was resolved through the link and the other was not. They never matched, the server never started, and this had been true of every release since 2.1.0. Windows was unaffected throughout, because npm creates a different kind of shim there that passes the real path — which is why the fault survived ten releases of local testing. Also unaffected: any configuration that runs node .../dist/server.js directly, including the Desktop Extension bundle. The packaged command is now a dedicated entry point that starts unconditionally rather than inferring whether it should, and the test suite now launches the built artifact the way a package manager does, which is the check that was missing. Reported, diagnosed and reproduced by @khaliqgant in #39.
3.2.0
Transcript capture now works in Codex CLI and Gemini CLI, not just Claude Code. A session in any of the three is archived, indexed, recalled and expanded through the same pipeline, with the same consent, masking and retention rules. Both adapters were written against every real transcript on a development machine rather than against documentation — 12 Codex rollouts spanning six CLI versions and 2,365 Gemini chat files — and parse all of it without an unrecognized record. That is also how two format traps surfaced, neither visible from a single example file: Codex writes every message on two interleaved streams where neither is a complete record on its own, and Gemini's log is append-only over revisions rather than messages, re-appending the same message id as its text grows. Left unhandled, either would have counted every message twice in search. Nothing is discarded — the duplicate copies are still stored and still byte-addressable — they simply do not enter the index.
Veto finds Codex and Gemini sessions on its own. Only Claude Code offers a hook that hands Veto the transcript path, so for the other two Veto locates the session files on disk instead. veto transcripts sources reports what it can actually see for each CLI, which is the difference between capture being switched on and capture being able to work where you are.
Veto now identifies which CLI it is running in from the MCP handshake, rather than trusting what the model reports. Capture used to choose a transcript from a platform argument that defaults to claude, so a model running in Codex that left it at the default archived nothing at all — with no error anywhere. The host CLI is now read from the initialize handshake, which is a fact about the process rather than a claim by the model. An unrecognized client skips capture rather than guessing, because archiving the wrong CLI's session is worse than archiving none, and veto doctor / veto_health now show the detected host so "nothing was captured" is diagnosable.
Deep recall's second call is now worth making. Recall is a two-call loop — query for ranked snippets, then expand a hit into its source lines — and measurement showed the loop had never once completed in real use. The cause was calibration between the two halves, not ranking: snippets averaged 97 characters, too narrow to judge relevance from; expansion returned the raw stored line uncapped, up to 139 KB of JSON envelope from one call — roughly a third of a 128k context window; and the table-of-contents attached only when every result came from a single archived session, so it was absent for exactly the multi-session projects it exists for. Snippets are now roughly 4x wider, expansion returns readable conversation text under an explicit cap and says when it truncated, and the table of contents covers every session that produced a result. Ranking is unchanged. raw: true still returns byte-exact original bytes, and both widened paths are still masked, with regression tests pinning that a pasted secret cannot leak through either.
New: veto transcripts metric reports whether transcript recall is actually reached for, from tool-call traces Veto already records — no new instrumentation, and the shape of a recall call is read, never the text of a query. It reads one local database and nothing leaves your machine, so it is a health check on your own usage rather than evidence about anyone else's.
3.1.2
The embedding table Veto installs is now a signed artifact. Veto pins @jigyasudham/veto-model to an exact version, and that pin now points at 1.0.1, which was published from CI with provenance — a signed attestation linking the package to the repository, workflow and commit that built it. 1.0.0 was published by hand and can never be attested, so the pin was the only way to close the gap. The payload itself is byte-for-byte identical between the two versions: same embeddings, same scales, same tokenizer, same vectors. Nothing about search behaviour, results or ranking changes.
3.1.1
Bug fix: veto memory export --markdown always failed. The markdown export assembled its query with the project filter placed after ORDER BY, which is not valid SQL, so the export reported failure instead of writing a file. Because the CLI always filters by the current project, the command could never succeed; the MCP tool veto_memory_export failed the same way whenever a project was specified. Exports without a project filter were unaffected, which is why this went unnoticed. Both queries are corrected and covered by regression tests.
3.1.0
Semantic recall — search finds what you meant, not just what you typed. Transcript search now fuses the existing keyword index with local semantic search, so a question that shares no vocabulary with its answer still finds it: "why did the upload fail" surfaces the note saying "the credentials had expired". Each captured event is split into overlapping windows and scored by its best match, because embedding a whole event dilutes the one sentence that answers the question. Exact identifiers are unaffected — E404 still ranks first. The two rankings are fused by reciprocal rank rather than blended scores, so neither ranker can bury the other.
It runs on your machine, offline, at no per-query cost. What pays for that is a 7 MB embedding table — potion-base-8M by Minish Lab (MIT), distilled from baai/bge-base-en-v1.5, repacked to int8, shipped as the pinned package @jigyasudham/veto-model. npm's cache downloads it once per machine. It installs with Veto whether or not you enable capture: pinning an immutable version means the bytes can never change under a release, with no download, checksum or mirror machinery at runtime. It is a static lookup table, not a neural network — nothing executes at query time, and the inference code is Veto's own.
The model is never load-bearing. It resolves at the first semantic query and never at startup, so a missing or damaged copy degrades search to keyword-only with everything else untouched. Veto's own package is unchanged in size; the table is a dependency, not contents.
Search got roughly 5x faster at scale, keyword search included. Project-wide recall over a 50-session archive went from 178 ms to 38 ms, and keyword-only from 65 ms to 13 ms, by loading the index once instead of re-reading it per query. That also removes a latency ceiling that affected 3.0.0. Beyond roughly 100 archived sessions in one project, recall degrades gradually and remains usable.
Correction to 3.0.0's release note: it described transcript search as "SQLite FTS5/BM25". FTS5 was removed before 3.0.0 shipped precisely because it is absent on some Node builds; the index has always been portable BM25 on core SQLite.
3.0.0
Never lose a session again — opt-in transcript capture with vectorless recall. A saved session has always carried a ~1k-token summary, which is enough to resume but cannot answer "what exactly did we conclude three weeks ago, and when?" Veto can now archive a copy of your host CLI's own conversation transcript and build a memory pyramid over it — the raw gzipped original, deterministic facts, the conversation spine, and the existing summary — then search it with a metadata table-of-contents plus a portable BM25 index that uses core SQLite only, so it runs on every supported Node. No embeddings, no model downloads, no API keys, no new runtime dependencies. Recall is a two-call loop through veto_session_replay: query for a table-of-contents and ranked snippets, then expand a hit into the exact source lines with a turn-and-timestamp citation. Validated against a real 784-line session, where recall pinpointed a conclusion the summary could not reconstruct. Claude Code is the only adapter in this release.
Capture is off until you turn it on, and it tells you exactly what it takes.veto transcripts enable prints a plain-language disclosure — that Veto copies the AI client's own session memory, that the copy outlives the client's own history, that the archive inherits the sensitivity of anything you pasted, and where on disk it lands — then records versioned consent, re-prompting if that disclosure ever materially changes. Archives stay on your machine, are kept out of cloud-synced directories, are pruned on a configurable retention window, and are removed by veto transcripts purge as a true cascade with no orphan rows.
Secrets cannot transit into an AI context. Detected credentials are masked to REDACTED[sha256:…] on the way into every derived layer and again on every byte range served back out of the raw archive — so a secret sitting in an untouched original still cannot reach a model through recall. Recalled content is returned as data-not-instructions, and tool results are treated as untrusted input.
veto.db is untouched. All capture state lives in a sidecar transcripts.db, leaving the VS Code HUD's read-contract unaffected.
2.9.0
Four more agents do real analysis. The privacy, performance, auth, and compatibility agents were structured playbooks; they are now dual-mode analyzers with hand-written deterministic checks — PII/PHI handling, runtime anti-patterns, auth defects (e.g. JWT alg: none), and outdated-API usage — growing the analyze-capable roster from 8 to 12. Each is scoped to avoid duplicating the security scanner's and secrets agent's findings, and all keep their LLM upgrade path.
Agent-backed tools can now complete the LLM upgrade round-trip. All 19 agent-backed advisor, generator, and git tools used to emit an llm_upgrade prompt with no way to hand the reasoning back. Each now accepts an agent_response parameter: call the tool, reason as the specialist, then call again with the structured JSON to get the upgraded result. The deterministic answer is always returned either way — the upgrade attaches alongside it, never replaces it.
Council verdicts are scoped to the project. The latest-verdict shown in the VS Code HUD and the CLI status line used to be the globally-newest council debate, so it could display a result from a different workspace. Council outcomes now carry a project_dir (a one-time idempotent migration adds the column and backfills existing rows from their linked session), the status line scopes the verdict to the active workspace, and a debate run without an explicit project_dir falls back to the active project instead of being stored unscoped. When a project has no debate yet, the verdict segment simply drops rather than borrowing another folder's.
Veto tools are called, not re-implemented. Weaker models (e.g. Gemini Flash) sometimes read a bare veto_* command as a task to do by hand — reverse-engineering the tool from source, writing throwaway scripts, and poking the database directly, which produced fabricated, wrongly-scoped results. An always-present usage directive plus explicit triggers on veto_continue / veto_handoff / veto_session_save now tell every client to invoke the live MCP tools directly.
2.8.0
Deterministic council verdicts are honest again. When the council runs without an LLM-backed path, each specialist used to emit canned, task-irrelevant "topic" warnings — broad keyword matches (a task mentioning "test" or "plan") produced boilerplate concerns that piled up and forced YELLOW verdicts with no real signal. Those topic insights are now non-voting advice: the agent votes approve and surfaces the guidance as a 💡 [advisory] note that never moves the verdict. The Devil's Advocate still always challenges, but its topic probes no longer escalate. Concrete rule matches (hardcoded secrets, localStorage tokens, GPL licenses, missing rate limits, …) escalate exactly as before.
VS Code HUD now finds sessions and memory on every workspace. Sessions and memory are matched to a workspace by project_dir, but it was stored with whatever drive-letter case the caller passed (usually uppercase D:\), while the extension queries with VS Code's fsPath (lowercase drive, case-sensitive) — so the HUD showed "No active session" / "0 memory entries" even after a successful save. project_dir is now canonicalized (lowercase Windows drive letter) at every read and write, with a one-time idempotent migration that fixes existing rows on next start.
2.7.4
Server survives runtimes without node:sqlite. The sqlite built-in (Node ≥ 22.5) is now loaded lazily on first database use instead of at import time. On runtimes that lack it — older Nodes, registry capability scanners — the server now starts, answers initialize, and lists all 93 tools; only the persistence tools (memory, sessions, learning) return a clear "upgrade Node" error instead of the whole process dying before the MCP handshake. No behavior change on supported Nodes: same database, same schema, same queries.
The crash-proof statusline print gets the same treatment: its read-only DB open now requires sqlite inside the existing never-throws guard.
2.7.3
Global CLI install restored as the documented path. 2.7.1 removed all npm i -g recommendations because a global copy could shadow npx and pin the MCP server to an old version — but 2.7.1's own @latest pin made that shadowing impossible, leaving the README documenting 15 bare veto commands with no way to get veto on PATH. npm i -g @jigyasudham/veto is now the documented way to install the CLI (new Getting Started section); the MCP server keeps auto-updating via the pinned-npx config regardless.
veto doctor no longer condemns a global install. It now reports a global CLI install as healthy, warns only when it's behind the registry (with the npm i -g @latest fix), and shows an informational hint when no global install exists. Troubleshooting text and the startup update nudge were updated to match — "update the global" instead of "delete the global".
veto statusline install checks PATH. The statusline hot path invokes bare veto (npx is too slow to run on every prompt render), so install now warns when veto isn't on PATH instead of silently rendering nothing.
npm package slimmed 22.6 MB → 2.2 MB unpacked.package.json now has a files allowlist (dist/ + server.json), so local working files — including a 20 MB mcp-publisher.exe that had been shipping since 2.5.0 — are no longer packed. Faster npx cold starts for everyone.
2.7.2
veto init self-repairs a broken Claude Code registration. If the user-scope veto MCP entry launches node <script> and that script no longer exists — the classic case being an old entry pinned to a global install's dist/server.js after npm rm -g removed it — init now re-registers it with the canonical pinned-npx command instead of skipping it as "already registered". It only touches a demonstrably-dead node-path entry, never a working or custom config.
Windows: Claude registration uses npx.cmd.veto init now registers Claude Code with npx.cmd on Windows (Claude Code cannot resolve a bare npx there), matching the form that connects reliably.
2.7.1
Fix: npx could silently run a stale version. The generated MCP config used an unpinned --package @jigyasudham/veto, so npx would reuse a cached or globally-installed copy instead of fetching the latest — reinstalling and restarting never upgraded. Every generated config and documented register command now pins @latest, which npx must re-resolve against the registry each launch, so a client restart auto-updates. All npm i -g @jigyasudham/veto recommendations were removed (a global install is what shadows npx in the first place).
Startup update nudge. When a newer Veto is published, the running server surfaces a one-line "update available — restart to pick it up" tip to the agent via the MCP instructions field. Non-blocking and offline-safe: it reads a cached latest version and refreshes it in the background at most once per day; it self-resolves once you're current.
veto --version / -v. Previously returned "Unknown command". veto doctor now also reports whether a newer version is available and flags a shadowing global install with the npm rm -g fix.
Honesty fix. Registry/directory description changed "zero API cost" → "no API keys" (Sampling calls do cost on pay-per-token API billing).
2.7.0
Statusline shows LIVE session gauges, not a frozen tally. The old token segment read Veto's own rate_usage table, which only Veto's tools increment — so it sat frozen during normal use. veto statusline print now reads the JSON Claude Code pipes to a statusLine command on stdin and renders three live gauges: ctx N% (context-window used), 5h N% (5-hour rate limit), and 7d N% (weekly rate limit). Each colors yellow ≥70 / red ≥90 and drops when its value is unavailable (early session / post-/compact). It renders e.g. ⬡ veto GREEN · router 94% · ctx 37% · 5h 74% · 7d 8% · mem 15, degrades to a neutral ⬡ veto, and stays crash-proof and non-blocking (TTY-guarded, 200 ms timeout). Veto's own per-platform daily accounting remains available via veto_rate_status / veto_snapshot.
First-run statusline nudge. Until the statusline is installed, Veto surfaces a one-line offer to the agent via the MCP instructions field, so the feature is discoverable instead of hidden behind a command. Consent-preserving (never edits settings.json without the user agreeing) and self-resolving (the nudge disappears once installed).
veto statusline print --capture <file>. Diagnostic aid that appends the raw Claude Code payload alongside the rendered line, so the live gauges can be verified against the values the client actually sent. Off by default; best-effort and never blocks the render.
2.6.0
veto statusline — a compact Veto line under any AI CLI prompt.veto statusline install wires a statusLine command into Claude Code's settings.json (backed up; uninstall restores it byte-for-byte). The print hot path is read-only, fast, and crash-proof — it renders e.g. ⬡ veto GREEN · router 94% · claude 42% · mem 15 and degrades to a neutral ⬡ veto if the DB is missing or locked. Lives in the CLI so every Veto user gets it in any terminal, not just the VS Code HUD.
veto_snapshot — one-call editor/HUD aggregate. Returns { session, council, routerTop, rate, memoryCount, health } in a single read-only call, so editor integrations (veto-vscode) can stop reading internal tables directly. Tool count is now 93.
Stable read-contract versioning.veto.db now stamps PRAGMA user_version (VETO_DB_SCHEMA_VERSION) on every open, so external readers can detect schema drift and degrade gracefully instead of silently blanking.
2.5.0
veto_drift_check — compounding-error circuit breaker. Scans the recent tool-call trace for consecutive failures, repeated error messages, and single-tool thrashing, then runs the debugger agent for a concrete recovery step. See Compounding-Error Circuit Breaker.
Council calibration fixes. Tightened the deterministic council's pattern triggers so they no longer false-fire on generic words (e.g. "server", "transport") or semver strings like v2.5.0, and removed stale hardcoded tool counts from agent reasoning.
2.4.0
veto_decisions — decision-drift enforcement. Record an architectural decision once as a machine-checkable constraint; veto_diff_review and veto_ci_gate then auto-fail any diff whose added lines reintroduce a forbidden pattern. See Decision-Drift Enforcement.
2.3.0
veto_dep_verify — dependency-hallucination guard. Verifies every proposed package against the live npm/PyPI/crates.io registry before install, flagging hallucinated names and typosquats (slopsquatting defense). See Dependency-Hallucination Guard.
Implicit outcome mining — veto_learning_stats now mines outcomes automatically from the tool-call trace (errored calls, rapid re-runs), no manual veto_record_outcome needed.
Experimental streamable HTTP transport (veto-server --http). See HTTP Transport.
HTTP Transport (experimental)
veto-server --http [port] serves MCP over streamable HTTP at http://127.0.0.1:<port>/mcp (default port 3939) instead of stdio — for gateways, remote clients, or anything that can't spawn a subprocess. It runs stateless (no session IDs — the direction of the July 2026 MCP spec) and binds loopback only; set VETO_HTTP_HOST to expose it deliberately.
Project Structure
Veto is a single MCP server (src/server.ts) that registers 93 tools, MCP Resources, and Prompts, then dispatches every tool call through a per-domain handler registry — there is no monolithic switch. Each domain owns a HandlerMap module under src/server/handlers/:
plugins · local LLM · clone detector · compose · notify IDE
council.ts
3
council_debate · benchmark · new_feature
learning.ts
3
record_outcome · learning_stats · learning_apply
watch.ts
3
watch · poll · stop
Shared, independently testable internals live in src/server/:
registry.ts — the ToolContext ({ request, args, server }) and HandlerMap types
runtime.ts — shared mutable state (active project dir, auto-save, server health, VERSION)
scan-core.ts — git-diff reader, triple-scan, and the agentic worker loop (unit-tested)
Every handler module is importable in isolation, so behaviour is covered by tests/server/dispatch.test.ts (the callTool behavioral net) and tests/tools/definitions.test.ts (the 89-tool registry-coverage check).
Tech Stack
Language: TypeScript (strict mode)
Runtime: Node.js 22.13+ or 23.4+ (built-in node:sqlite — no native compilation). It exists from 22.5 but only behind --experimental-sqlite, so 22.13 is the real floor.
Dependencies:@modelcontextprotocol/sdk only — one package, zero native addons
Memory: Local SQLite — zero config, works offline, portable via JSON export