Repository navigation
chore(governance): enable duplicate-detection advisory mode and adopt pm-cli 2026.7.25 - #15
Conversation
… pm-cli 2026.7.25
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
Warning Review limit reached
Next review available in: 7 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
…ite silently tightened Enabling duplicate-detection advisory mode via `pm config set` had an unintended side effect: the settings rewrite re-derived `validation.parent_reference` from the governance preset and discarded the stored `warn`, flipping it to `strict_error` with no warning on stderr or in --json. Caught by Greptile on pm-presets#29 and then isolated: it happens under ANY named preset (minimal, default and strict all confirmed on 2026.7.25), not just one. Filed upstream as pm-cli#710. `warn` is the correct policy for this fleet. These repos are worked by multiple agents on parallel branches where an item legitimately references a parent that exists only on another branch until the merge lands; under `strict_error` that `pm create --parent` hard-fails. Since a stored value is not authoritative under a named preset, the value is set through `pm config set parent_reference_policy warn`, which pins governance explicitly as `custom`. That is the durable form and it also stops any future CLI default change from silently altering this policy. Verified that promotion materializes this repo\x27s own preset values, so `parent_reference` is the only behavioural key that differs from before. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Follow-up commit: restored
|
Why
pm-cli 2026.7.25 added create-time near-duplicate detection, but it ships disabled by default (
governance.duplicate_detection_mode = "off"). Without this setting, agents filing items in our packages create exact-title duplicates silently. The companion hub tracker already runsadvisorymode and it is verified working.advisorymode is non-blocking by design: it appends alikely_duplicates:<id>warning and never fails a create. That is intentional —strictmode is not used.This change also bumps the
@unbrained/pm-clidevDependency to^2026.7.25, where thesimilaritySDK module lives.Changes
governance.duplicate_detection_mode = "advisory"in.agents/pm/settings.json@unbrained/pm-cliindevDependencies(^2026.7.22→^2026.7.25).peerDependenciesleft at>=2026.7.20(intentionally wider).Observed warning (probe verification)
The setting was verified in a throwaway workspace seeded with the repo's real
settings.json. The second identicalpm createreturned:Gate results
npm run typecheck: ✅ passnpm test: ✅ 168/168 passnpm run changelog:full: ✅ oknpm run changelog:check: ✅ okpm item
Resolves: https://github.com/unbraind/pm-github/blob/main/.agents/pm/chores/pm-github-suxt.toon
Summary by cubic
Enable near-duplicate detection for PM item creation in advisory mode so agents see non-blocking "likely_duplicates:" warnings. Also bump
@unbrained/pm-clito^2026.7.25; restorevalidation.parent_referencetowarnand pin governancepresettocustomto avoid a silent flip tostrict_error.Written for commit 5487389. Summary will update on new commits.