test(zones): CLI-level coverage for the incoming zone#31
Conversation
Closes the pyramid gap on PR #30: knowledge-store had the core coverage but nothing exercised the curator's actual path — ShellKBWriter shells `kb add ... --zone incoming` then a human `kb verify`s it. Adds CLI/integration tests via the real cli.js: --zone incoming persists incoming; no --zone still defaults active (J2N6eo8S); verify on incoming -> active + provenance verified (ei2k4oZF); an invalid zone exits 1 with NO orphan JSONL line. Full suite 659/659; tsc + eslint + prettier clean. Migration validated out-of-band on a copy of the real ~/.mykb (kb rebuild lossless 2907->2907, schema CHECK gains incoming, end-to-end add/ verify/invalid-guard all correct).
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Follow-up to #30 closing the pyramid gap raised in review: the core (knowledge-store) was covered but nothing exercised the curator's actual path —
ShellKBWritershellskb add ... --zone incomingthen a humankb verifys it.Adds 4 CLI/integration tests through the real
cli.js:add --zone incomingpersists in zoneincoming--zonestill defaultsactive(decision J2N6eo8S)verifyon an incoming entry →active+ provenance verified (decision ei2k4oZF)Full suite 659/659; tsc + eslint + prettier clean. Migration separately validated on a copy of the real
~/.mykb(kb rebuildlossless 2907→2907; schema CHECK gainsincoming; end-to-end add/verify/invalid-guard correct).