Repository navigation
feat(constructive-pnpm-policy): claim @latex-kit and refresh the inventory - #151
Conversation
…ntory Adds the @latex-kit scope and the packages published since August (latex-kit, decryption, @wavegrid/*, @fbp/*, more @agentic-kit/*). Names npm's search index no longer returns but that pyramation still maintains (@libpg-query/*, @pyramation/pgsql-parser, …) are kept.
|
Review complete. 🟡 1 medium 💬 Inline comments (1)
This change refreshes the generated publish-policy inventory and policy file, extending first-party scope coverage.
Both files are declarative data/config only; no executable logic changed. Reviewed commit: 44ff688 |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
Regenerates the pnpm publish-policy inventory, adding the @latex-kit scope and ~50 new package entries to the allowlist.
Key findings
- 🟡 Test-publish package added to release-age exempt inventory — inventory.json:540
| "@pyramation/some-lerna-module", | ||
| "@pyramation/storybook-addon-chakra-theme", | ||
| "@pyramation/stream-to-s3", | ||
| "@pyramation/test-publish-2fa", |
There was a problem hiding this comment.
🟡 security · medium
Test-publish package added to release-age exempt inventory
@pyramation/test-publish-2fa was added to the first-party inventory at packages/constructive-pnpm-policy/inventory.json:540, which the policy generator emits as an exact minimumReleaseAgeExclude entry (packages/pnpm-policy/src/policy.ts:108-130). A package whose name marks it as a publish-flow test now skips the 2-day quarantine on every release, so an accidental or compromised publish under it is immediately installable. Test-only publish targets should stay out of the exemption list; the neighboring @pyramation/testingnpmmodule and @pyramation/some-lerna-module entries show the same pattern already existed, and this change extends it.
📋 Prompt for AI Agents
In packages/constructive-pnpm-policy/inventory.json line 540, remove the entry "@pyramation/test-publish-2fa". Additionally, in the generator run by pnpm run refresh (packages/pnpm-policy/src/inventory.ts, buildInventory), add a filter that excludes package names matching test-publish/known test patterns from the generated first-party inventory so regeneration does not re-add it. Rationale: first-party entries are emitted as minimumReleaseAgeExclude, and a test-publish package must not bypass the 2-day quarantine.
There was a problem hiding this comment.
LGTM. Data-only change (inventory + one scope); CI green.
- Spot-checked new names on npm (
latex-kit,decryption,@decryption/accounts,@wavegrid/cli,@fbp/core,graphile-storage-registry,json-renderer,flow-to-blocks,@interchain-kit/eightsaf-extension): all listpyramationas a maintainer. - Diff is additions only, so the 9 names npm search stopped returning are kept as described.
@latex-kithas no published packages yet; claiming the scope ahead of time is fine since we own it.- Luxor's note on
@pyramation/test-publish-2fa: real but minor. It's ours and follows the existing@pyramation/testingnpmmodulepattern; excluding test-publish names in the generator would be a small follow-up, not a blocker.
Adds
@latex-kitto the owned scopes and refreshesinventory.jsonfrom npm (pnpm run refresh), so Constructive workspaces stop holding our own new releases for two days.Added
@latex-kit(we own it;latex-kititself is listed by name).latex-kit,decryption,@decryption/*,@wavegrid/*,@fbp/*, more@agentic-kit/*,blocks-*,graphile-*and others. 942 names in total, up from 891. The throwaway@pyramation/test-publish-2fais left out on purpose.Kept
The refresh dropped 9 names that
pyramationstill maintains (@libpg-query/browser,@libpg-query/v13,@pgql/parse,@pyramation/libpg-query,@pyramation/libpg-query-wasm,@pyramation/pgsql-parser,@pyramation/pgsql-parser-plpgsql,libpg-query-m1-native,libpg-query-win). npm's search index just stopped returning them. I put them back, so this PR only adds names.Once this is released,
latex-kitcan drop the@latex-kitscope it declares in its ownpnpm-policy.yaml.Summary by CodeRabbit