Feat/pending json#89
Conversation
|
Caution Review failedFailed to post review comments 📝 WalkthroughWalkthroughThis PR introduces three new CLI features for the Vouch knowledge base tool: a ChangesCLI Feature Expansion: Artifact Diff, Pending JSON, and Review Enhancements
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@plind-junior Would you review please? |
|
LGTM! Thanks |

What changed
Added
--jsonsupport tovouch pending, emitting pending proposals as a structured JSON array while keeping the existing human-readable output unchanged. Also added CLI test coverage for empty JSON output, populated JSON output, and the existing text output, plus aCHANGELOG.mdentry under## [Unreleased].Closes #88
Why
This makes pending proposal queues easier to consume from shell scripts, CI checks, and multi-agent review tooling. The docs already show
vouch pending --jsonfor grouping pending proposals by agent, but the CLI did not support that flag yet.What might break
This should not break existing
.vouch/directories. No files move, no on-disk fields change shape, no bundle format changes, no audit-log shape changes, and nokb.*method behavior changes. The existingvouch pendingtext output is preserved.VEP
No VEP needed. This is an additive CLI output flag only and does not change the object model,
kb.*method surface, on-disk layout, bundle format, audit-log shape,config.yamldefaults, or transports.Tests
make checkpasses locally (lint + mypy + pytest)CHANGELOG.mdupdated under## [Unreleased]Summary by CodeRabbit
Release Notes
New Features
--jsonoutput option tovouch pendingfor structured proposal datavouch diffcommand compares two artifact versions with field-level and text changesvouch reviewwith--limit,--typefiltering and--dry-runoptionsvouch initDocumentation