Repository navigation
feat(sdk): tier public surfaces and enforce transport contracts - #707
Conversation
Deliver capability-scoped SDK entrypoints, semantic API snapshots, import and CLI transport budgets, extension runtime coordinates and actionable activation diagnostics. Unify automatic harness author attribution, advisory duplicate governance, bare boolean mutation flags, cross-platform Node 22 index behavior, and package-first verification. Record all implementation, tests, documentation, graph lineage, and append-only author dispositions through pm.
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
Important Review skippedToo many files! This PR contains 132 files, which is 32 over the limit of 100. To get a review, narrow the scope: Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry. ⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (132)
You can disable this status message by setting the 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 |
There was a problem hiding this comment.
Sorry @unbraind, your pull request is larger than the review limit of 150000 diff characters
|
@greptileai review @coderabbitai full review |
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
✅ Action performedFull review finished. Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 54 minutes. |
Merging this PR will degrade performance by 0.12%
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Regenerate the full contract fixture for automatic harness author semantics and replace the Unix-only import-cost failure executable with a portable Node failure path. Record the CI diagnosis and verification on the owning pm SDK items.
|
@greptileai review @coderabbitai full review Fresh full review requested for exact head |
|
✅ Action performedFull review finished. Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 43 minutes. |
Automated review disposition for
|
Record exact-head CI, packed-consumer, telemetry, and reviewer evidence; close and release the nine actively delivered items with complete resolution metadata; document the canonical Greptile quota lineage; and regenerate CHANGELOG.md through pm-changelog 2026.7.25.
|
@greptileai review @coderabbitai full review Final full review requested for exact closeout head |
|
✅ Action performedFull review finished. Your included review limit is currently reached under our Fair Usage Limits Policy. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 31 minutes. |
|
Final exact-head review disposition for
|
Summary
This is a broad SDK/CLI platform bundle centered on
project management = context management:PM lineage
Closes #700
Closes #701
Closes #702
Closes #703
Closes #704
Closes #705
Closes #706
Verification
pnpm audit --prod: no known vulnerabilitiesharness:codexattribution withPM_AUTHORunset, and bare--regressionpm-changelog2026.7.25 regeneration/checkThe workstation scale run retained the existing budgets but recorded a latency-only miss under load ~10 on 8 CPUs; the unchanged base revision was slower and failed the same ratchet. The clean GitHub runner remains the authoritative scale/nightly proof, and this PR does not weaken or bypass that gate.
Summary by cubic
Delivers capability-scoped SDK entrypoints and a semantic public API snapshot with import-cost and CLI transport budgets. Adds portable extension coordinates, actionable activation diagnostics, unified harness-based author attribution, advisory duplicate governance, and stabilized Node 22 cross‑platform gates; CI now enforces
pnpm sdk:surface:checkand docs/CHANGELOG are updated.New Features
@unbrained/pm-cli/sdk/authoring,@unbrained/pm-cli/sdk/contracts,@unbrained/pm-cli/sdk/core,@unbrained/pm-cli/sdk/governance,@unbrained/pm-cli/sdk/graph,@unbrained/pm-cli/sdk/merge,@unbrained/pm-cli/sdk/query(aggregate./sdkremains).scripts/sdk-surface-snapshot.mjs, fixturetests/fixtures/sdk/public-surface.json, CI steppnpm sdk:surface:check.source_workspace_root,repo_root,pm_root_rel; activation failures surfaced in unknown-command/help, doctor, and explore.--author>PM_AUTHOR> project default > detected harness >unknown(harness attribution is automatic).--regression); Node 22/cross-platform fixes; docs refreshed (entrypoints, performance gates, testing, onboarding, releasing) and CHANGELOG regenerated.Performance
scripts/bench/sdk-entrypoint-costs.mjs,scripts/bench/sdk-entrypoint-budgets.json, docs atdocs/performance/sdk-entrypoint-import-costs.md.scripts/bench/cli-transport-floor.mjs,scripts/bench/cli-transport-budgets.json, docs atdocs/performance/cli-transport-overhead.md.Written for commit a5bb4be. Summary will update on new commits.