Skip to content

Docs freshness sweep (28 MCP tools, Node 22.18, package caveats) + CI least-privilege hardening - #420

Merged
unbraind merged 6 commits into
mainfrom
docs-freshness-and-ci-hardening
Jul 2, 2026
Merged

unbraind merged 6 commits into
mainfrom
docs-freshness-and-ci-hardening

Conversation

@unbraind

@unbraind unbraind commented Jul 2, 2026 •

Copy link
Copy Markdown
Owner

Applies the fixes queued by the 2026-07-02 full ecosystem audit (umbrella [pm-fpod], lanes pm-kes3/pm-6vy7/pm-hfli/pm-3l76/pm-p99b/pm-mo2v): documentation freshness + progressive disclosure, and CI/CD least-privilege hardening.

Docs freshness (Lane E, pm-p99b)

  • 26 → 28 MCP tools everywhere the stale count survived: README.md, plugins/pm-claude/README.md (×3 sites), plugins/pm-claude/.claude-plugin/plugin.json, plugins/pm-claude/commands/pm-init.md; the plugin narrow-tool table gains the missing pm_next, pm_focus, pm_profile rows (27 narrow + pm_run), and the pm-init tool list now names all 28. Plugin version bumped 1.4.0 → 1.4.1.
  • Node 20 → 22.18 (matches engines >=22.18.0): CONTRIBUTING.md, docs/ARCHITECTURE.md, docs/ONBOARDING.md.
  • Stale CI matrix in CONTRIBUTING.md: now ubuntu-latest (Node 22, 24) + macos-latest (Node 24), nightly for Windows/Node 25 — matching ci.yml.
  • Package-only commands no longer read as core: comments-audit/normalize (governance-audit) and test-runs† (linked-test-adapters) footnoted in docs/COMMANDS.md; caveats added at first mention for reindex/normalize (AGENT_GUIDE), normalize (ONBOARDING), calendar (CONFIGURATION), reindex (ARCHITECTURE); pm completion section notes it comes from guide-shell.
  • Deduplicated the 10-capability scaffold matrix: docs/EXTENSIONS.md now summarizes and links to the canonical matrix in docs/SDK.md instead of restating it (also keeps EXTENSIONS.md under its 450-line gate).
  • Canonical-loop duplication: docs/ONBOARDING.md now declares AGENT_GUIDE.md as the canonical loop source.
  • starter-extension example switched to package-first vocabulary (pm install <path> --project, pm package --reload, pm package doctor), noting pm extension --install remains a compatibility form.
  • Orphan links fixed: docs/README.md links AGENTS.md + PRD.md; docs/EXTENSIONS.md first-party package list now links all 11 package READMEs.
  • Six built-in statuses wording fix (was "five ... plus draft").

CI/CD hardening (Lane F, pm-mo2v)

  • auto-release.yml: actions: write → actions: read (gh run list/watch only read run state).
  • scripts/check-secrets-lib.mjs: new anthropic-api-key (sk-ant-…), openai-api-key (sk-…/sk-proj-…/sk-svcacct-…), and gitlab-token (glpat-…) rules + spec coverage; repo-wide scan stays clean.
  • Live repo settings (gh api, no code): release environment now restricted by deployment branch policy to main + v*.*.* tags (covers both auto-release.yml on main and tag-triggered release.yml).
  • Declined: secret_scanning_non_provider_patterns / secret_scanning_validity_checks require paid GitHub Secret Protection (PATCH is silently ignored on the free plan) — documented on pm-mo2v.

Audit follow-ups filed (not in this PR)

  • [pm-3wsi] P1: declarative extension install misreports activation failure when @unbrained/pm-cli is unresolvable
  • [pm-ghf1] P2: reserved item-field collisions invisible to SDK lint/preflight/harness
  • [pm-llrp] P3: SDK authoring DX polish bundle
  • [pm-gdi7] P2: agent-UX output polish (unknown-option suggestions, list-closed projection, schema add-field help)
  • [pm-z1pv] P2: pm context/pm next hot path ~700ms on an 857-item tracker

Verification

  • pnpm build, pnpm typecheck, npx eslint . (zero output), docs-skills gate, node scripts/check-secrets.mjs clean, Claude-plugin smoke, full coverage suite green (see checks).
  • pnpm changelog:pm:check green after regeneration (audit-lane closes recorded under Unreleased).

🤖 Generated with Claude Code

https://claude.ai/code/session_01FM3GimxcR6DpRdMiBX3RLs


Summary by cubic

Refreshes docs to match the current ecosystem (28 MCP tools, Node 22.18, package-provided commands) and hardens CI with least-privilege permissions and stronger secret scanning, including GitLab routable PATs. Keeps plugin/marketplace metadata in sync and trims duplicated docs.

  • Docs Freshness

    • Updated 26 → 28 MCP tools across README.md, plugin docs, and manifests; added pm_next, pm_focus, pm_profile; bumped pm-claude to 1.4.1 in plugin and both marketplace manifests.
    • Set Node requirement to 22.18 in CONTRIBUTING.md, docs/ARCHITECTURE.md, and docs/ONBOARDING.md; aligned CI matrix docs to ubuntu-latest (Node 22, 24) and macos-latest (Node 24), with nightly Windows/Node 25.
    • Clarified package-provided commands and caveats: comments-audit/normalize from governance-audit, test-runs from linked-test-adapters, pm completion from guide-shell; noted reindex/normalize/calendar require packages (e.g., search-advanced, governance-audit, calendar).
    • Reduced duplication and fixed links: EXTENSIONS.md links to the canonical SDK matrix; ONBOARDING.md points to AGENT_GUIDE.md; starter example uses package-first (pm install, pm package --reload, pm package doctor).
  • CI/CD Hardening

    • Dropped auto-release.yml permissions to actions: read; updated the workflow contract test.
    • Expanded and refined secret scanning with tests: Anthropic (sk-ant-), OpenAI (sk- incl. sk-proj-/sk-svcacct- with a negative lookahead to avoid sk-ant-), and GitLab (glpat-), now including routable PATs with dots.
    • Restricted the release environment to main and v*.*.* tags via deployment branch policy.

Written for commit 4b0926c. Summary will update on new commits.

Review in cubic

unbraind and others added 4 commits July 3, 2026 00:17
…cosystem audit

Applies the fixes queued by the six-lane ecosystem audit (pm-fpod; lanes
pm-kes3/pm-6vy7/pm-hfli/pm-3l76/pm-p99b/pm-mo2v).

Docs freshness (pm-p99b):
- 26 -> 28 MCP tools in README.md, plugins/pm-claude/README.md (x3),
  plugin.json, and pm-init.md; plugin narrow-tool table gains pm_next,
  pm_focus, pm_profile; plugin + marketplace manifests bumped 1.4.0 -> 1.4.1
- Node 20 -> 22.18 in CONTRIBUTING, ARCHITECTURE, ONBOARDING (engines truth)
- CONTRIBUTING CI matrix updated to ubuntu(22,24)+macos(24), nightly Windows/25
- Package-only commands footnoted as such: comments-audit/normalize
  (governance-audit), test-runs (linked-test-adapters), completion
  (guide-shell), plus first-mention caveats for reindex/normalize/calendar
  in AGENT_GUIDE/ONBOARDING/CONFIGURATION/ARCHITECTURE
- EXTENSIONS.md scaffold-capability matrix deduplicated into a summary +
  link to the canonical SDK.md section; first-party package list now links
  all 11 package READMEs; docs/README.md links AGENTS.md and PRD.md
- ONBOARDING declares AGENT_GUIDE as the canonical-loop source
- starter-extension example moved to package-first vocabulary
  (pm install/pm package --reload/pm package doctor)
- six built-in statuses wording fix in COMMANDS.md

CI/CD hardening (pm-mo2v):
- auto-release.yml permissions: actions: write -> read (gh run list/watch
  only read run state); ci-workflow-contract spec updated to match
- check-secrets-lib gains anthropic-api-key, openai-api-key, and
  gitlab-token rules with spec coverage; repo scan stays clean
- (live settings, no code) release environment restricted by deployment
  branch policy to main + v*.*.* tags

Follow-ups filed: pm-3wsi (P1 declarative install misreport), pm-ghf1
(P2 reserved item-field collisions invisible to SDK preflight), pm-llrp
(SDK DX polish), pm-gdi7 (agent-UX output polish), pm-z1pv (context/next
hot-path latency).

Verification: 5278 tests, 100% stmt/branch/func/line coverage; eslint
zero output; docs-skills gate green; secret scan clean; changelog check
green; Claude-plugin smoke green; Sentry 0 critical/high (14d); telemetry
gate ok (finish_error_rate 0.62%, no missing error codes).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FM3GimxcR6DpRdMiBX3RLs
…arketplace tool count

- openai-api-key rule now matches URL-safe base64 (_ and -) like its
  anthropic/gitlab siblings; sk-proj- keys with underscores were missed
- underscore test variant added so the gap cannot regress silently
- marketplace.json + .claude-plugin/marketplace.json descriptions said
  25 MCP tools; corrected to 28

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FM3GimxcR6DpRdMiBX3RLs
…gging

Negative lookahead keeps sk-/sk-proj-/sk-svcacct- coverage while Anthropic
keys fire only anthropic-api-key; regression guarded with not.toContain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FM3GimxcR6DpRdMiBX3RLs

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @unbraind, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@coderabbitai

coderabbitai Bot commented Jul 2, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR bumps the pm-claude plugin/marketplace version to 1.4.1 and updates MCP tool count references (26→28) across manifests and docs. It adds numerous PM tracker task/history/issue/reminder records documenting an ecosystem audit's lanes. It extends secret-detection rules, tightens auto-release workflow permissions, and updates several documentation files.

Changes

Plugin Version and MCP Tool Count Bump

Layer / File(s) Summary
Manifest version bumps
.agents/plugins/marketplace.json, .claude-plugin/marketplace.json, marketplace.json, plugins/pm-claude/.claude-plugin/plugin.json
Version fields updated from 1.4.0 to 1.4.1 with matching description text.
MCP tool count documentation
README.md, plugins/pm-claude/README.md, plugins/pm-claude/commands/pm-init.md
Tool counts updated from 26 to 28, adding pm_focus and pm_profile entries.

PM Audit Task and History Records

Layer / File(s) Summary
pm-fpod umbrella audit task
.agents/pm/tasks/pm-fpod.toon, .agents/pm/history/pm-fpod.jsonl
Records the umbrella audit task's creation, tracked files, test runs, coverage learning, and closure.
Individual audit lane tasks and history
.agents/pm/tasks/pm-{3l76,6vy7,hfli,kes3,mo2v,p99b}.toon, .agents/pm/history/pm-{3l76,6vy7,hfli,kes3,mo2v,p99b}.jsonl
Each lane task records creation, progress comments, findings, and closure.
Follow-up issues and dependency tasks
.agents/pm/issues/pm-{3wsi,ghf1}.toon, .agents/pm/tasks/pm-{gdi7,llrp,z1pv}.toon, .agents/pm/history/pm-{3wsi,ghf1,gdi7,llrp,z1pv}.jsonl
New issue/task records are created and linked as dependencies of pm-fpod.
Release-health reminder tracking
.agents/pm/history/pm-7zs0.jsonl, .agents/pm/reminders/pm-7zs0.toon
Records 2026-07-02 release-health verification of GitHub/npm version match and green CI.

Secrets Scanning Rules and Workflow Permissions

Layer / File(s) Summary
Secret detection rules and tests
scripts/check-secrets-lib.mjs, tests/unit/scripts/check-secrets-lib.spec.ts
Adds anthropic-api-key, openai-api-key, and gitlab-token regex rules with matching tests.
Auto-release workflow permission reduction
.github/workflows/auto-release.yml, tests/integration/ci-workflow-contract.spec.ts
Changes actions permission from write to read and updates the contract test.

Documentation and Changelog Updates

Layer / File(s) Summary
Node.js minimum version updates
CONTRIBUTING.md, docs/ARCHITECTURE.md, docs/ONBOARDING.md
Minimum Node.js version raised from 20+ to 22.18+, CI matrix description updated.
Optional package requirement notes
docs/AGENT_GUIDE.md, docs/ARCHITECTURE.md, docs/COMMANDS.md, docs/CONFIGURATION.md, docs/ONBOARDING.md
Annotates commands with the optional packages that provide their behavior.
Extensions scaffolding and package exemplar links
docs/EXTENSIONS.md
Condenses scaffold description and links package exemplars to their READMEs.
Starter extension example command updates
docs/examples/starter-extension/README.md
Updates install/reload/doctor/CI command examples to pm install/pm package vocabulary.
Onboarding cross-reference and changelog entry
docs/ONBOARDING.md, docs/README.md, CHANGELOG.md
Adds cross-reference note, community file links, and changelog entries for audit lanes.

Estimated code review effort: 2 (Simple) | ~12 minutes

Possibly related PRs

  • unbraind/pm-cli#66: Both PRs add regex-based rules to the shared scripts/check-secrets-lib.mjs secret-scanning logic.
  • unbraind/pm-cli#115: Both PRs update .agents/plugins/marketplace.json and pm-claude plugin manifest version metadata.
  • unbraind/pm-cli#364: Both PRs modify .github/workflows/auto-release.yml permissions and its contract test.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately summarizes the docs refresh and CI least-privilege hardening.
Description check ✅ Passed The description matches the documented docs freshness and CI/CD hardening changes.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request implements a comprehensive ecosystem audit and optimization pass across the CLI, SDK, packages, documentation, and CI. Key changes include upgrading the Node.js prerequisite to 22.18+, updating documentation to reflect 28 MCP tools, adding package-only command caveats, and hardening CI permissions (changing actions permission to read). Additionally, new secret scanning rules for Anthropic, OpenAI, and GitLab tokens were added to check-secrets-lib.mjs along with corresponding unit tests. Feedback on the changes highlights a backtracking and length-enforcement issue in the newly added openai-api-key regular expression, which can be resolved using the suggested explicit alternation.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread scripts/check-secrets-lib.mjs Resolved
@greptile-apps

greptile-apps Bot commented Jul 2, 2026 •

Copy link
Copy Markdown

Greptile Summary

This PR refreshes documentation and release-supporting metadata for the current pm ecosystem. The main changes are:

  • Updates Claude plugin and marketplace metadata to the 28 MCP tool surface and version 1.4.1.
  • Refreshes docs for Node 22.18, the current CI matrix, optional package-owned commands, and package-first extension workflows.
  • Narrows the auto-release workflow actions permission from write to read.
  • Adds Anthropic, OpenAI, and GitLab token patterns to the local secret scanner with unit coverage.
  • Records audit follow-up tasks and changelog entries for the docs freshness and CI hardening sweep.

Confidence Score: 5/5

Safe to merge with minimal risk.

Changes are mostly documentation, metadata, workflow permission narrowing, and additive scanner coverage. Reviewed changed code paths and matching tests; no blocking correctness or security issues were found.

No files require special attention.

T-Rex T-Rex Logs

What T-Rex did

  • Executed docs freshness baseline check before the PR, revealing a stale pre-PR state where 12 of 13 claims failed.
  • Re-ran the docs freshness check after the PR, showing improvement with 12/13 claims passing and only the package caveat failing due to a missing caveat in ARCHITECTURE.md.
  • Ran a permissions audit before the PR, which shows permissions.actions=write and rules=NONE for all controlled new token-family samples.
  • Ran a permissions audit after the PR, showing permissions.actions=read, expected rule IDs for all controlled samples, sk-ant includes-openai=false, and repo scan exit=0 with clean output.
  • Executed the PM-audit-records check before the PR, showing missing base PM files, zero matches for requested IDs, and no relevant Unreleased changelog snippets.
  • Executed the PM-audit-records check after the PR, showing all requested files present, nonzero matches/snippets for each ID, Unreleased changelog evidence, and no contract mismatches demonstrated.

View all artifacts

T-Rex Ran code and verified through T-Rex

Important Files Changed

Filename Overview
.github/workflows/auto-release.yml Reduces auto-release Actions permission to read while preserving release and issue permissions.
scripts/check-secrets-lib.mjs Adds Anthropic, OpenAI, and GitLab token patterns with overlap handling.
tests/unit/scripts/check-secrets-lib.spec.ts Adds coverage for the new secret scanning token patterns and exclusions.
tests/integration/ci-workflow-contract.spec.ts Updates workflow contract expectations for auto-release actions: read.
README.md Refreshes Claude plugin setup documentation to the current 28-tool surface.
plugins/pm-claude/README.md Refreshes plugin README tool counts and narrow tool table.
plugins/pm-claude/.claude-plugin/plugin.json Updates plugin manifest description and version for the 28-tool release.
docs/COMMANDS.md Adds optional-package footnotes and package caveats for command families.
docs/EXTENSIONS.md Deduplicates the capability matrix and adds package-first guidance and package README links.
docs/examples/starter-extension/README.md Switches starter-extension instructions to the package-first install/reload workflow.

Sequence Diagram

%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant Audit as Ecosystem audit
participant Docs as Docs/plugin metadata
participant CI as Auto-release workflow
participant Scan as Secret scanner
participant Tests as Contract/unit tests

Audit->>Docs: Refresh tool counts, Node version, package caveats
Audit->>CI: Narrow actions permission to read
Audit->>Scan: Add Anthropic/OpenAI/GitLab token rules
Docs->>Tests: Docs/skills and changelog gates verify freshness
CI->>Tests: Workflow contract asserts actions: read
Scan->>Tests: Unit specs cover new token patterns and overlap handling
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant Audit as Ecosystem audit
participant Docs as Docs/plugin metadata
participant CI as Auto-release workflow
participant Scan as Secret scanner
participant Tests as Contract/unit tests

Audit->>Docs: Refresh tool counts, Node version, package caveats
Audit->>CI: Narrow actions permission to read
Audit->>Scan: Add Anthropic/OpenAI/GitLab token rules
Docs->>Tests: Docs/skills and changelog gates verify freshness
CI->>Tests: Workflow contract asserts actions: read
Scan->>Tests: Unit specs cover new token patterns and overlap handling
Loading

Reviews (3): Last reviewed commit: "Match GitLab routable PAT format (dots) ..." | Re-trigger Greptile

@codecov

codecov Bot commented Jul 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.agents/pm/history/pm-hfli.jsonl:
- Around line 5-6: The history entry note in the pm-hfli log has an inconsistent
verification date: the comment text says 2026-07-03 while the recorded timestamp
is 2026-07-02T22:04:07.494Z. Update the text in the metadata/comments entry to
match the actual run date, or if the later date is correct, move the entry so
the timestamp and note are aligned; use the metadata/comments and
metadata/updated_at fields in this JSONL record to locate it.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: 4a1c38f5-9a9c-4307-b402-f75a8c30521c

📥 Commits

Reviewing files that changed from the base of the PR and between 8dabe99 and f6c86ff.

📒 Files selected for processing (47)
  • .agents/plugins/marketplace.json
  • .agents/pm/history/pm-3l76.jsonl
  • .agents/pm/history/pm-3wsi.jsonl
  • .agents/pm/history/pm-6vy7.jsonl
  • .agents/pm/history/pm-7zs0.jsonl
  • .agents/pm/history/pm-fpod.jsonl
  • .agents/pm/history/pm-gdi7.jsonl
  • .agents/pm/history/pm-ghf1.jsonl
  • .agents/pm/history/pm-hfli.jsonl
  • .agents/pm/history/pm-kes3.jsonl
  • .agents/pm/history/pm-llrp.jsonl
  • .agents/pm/history/pm-mo2v.jsonl
  • .agents/pm/history/pm-p99b.jsonl
  • .agents/pm/history/pm-z1pv.jsonl
  • .agents/pm/issues/pm-3wsi.toon
  • .agents/pm/issues/pm-ghf1.toon
  • .agents/pm/reminders/pm-7zs0.toon
  • .agents/pm/tasks/pm-3l76.toon
  • .agents/pm/tasks/pm-6vy7.toon
  • .agents/pm/tasks/pm-fpod.toon
  • .agents/pm/tasks/pm-gdi7.toon
  • .agents/pm/tasks/pm-hfli.toon
  • .agents/pm/tasks/pm-kes3.toon
  • .agents/pm/tasks/pm-llrp.toon
  • .agents/pm/tasks/pm-mo2v.toon
  • .agents/pm/tasks/pm-p99b.toon
  • .agents/pm/tasks/pm-z1pv.toon
  • .claude-plugin/marketplace.json
  • .github/workflows/auto-release.yml
  • CHANGELOG.md
  • CONTRIBUTING.md
  • README.md
  • docs/AGENT_GUIDE.md
  • docs/ARCHITECTURE.md
  • docs/COMMANDS.md
  • docs/CONFIGURATION.md
  • docs/EXTENSIONS.md
  • docs/ONBOARDING.md
  • docs/README.md
  • docs/examples/starter-extension/README.md
  • marketplace.json
  • plugins/pm-claude/.claude-plugin/plugin.json
  • plugins/pm-claude/README.md
  • plugins/pm-claude/commands/pm-init.md
  • scripts/check-secrets-lib.mjs
  • tests/integration/ci-workflow-contract.spec.ts
  • tests/unit/scripts/check-secrets-lib.spec.ts

Comment thread .agents/pm/history/pm-hfli.jsonl Resolved
The (?:proj-|svcacct-)? alternation was unenforceable: prefix characters
are a subset of the payload class, so backtracking absorbs the prefix into
the payload and the post-prefix length floor never applies (Gemini's
suggested alternation has the identical backtracking behavior). The
equivalent simpler pattern matches the exact same strings; prefix formats
stay documented in the spec fixtures.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FM3GimxcR6DpRdMiBX3RLs
@unbraind

unbraind commented Jul 2, 2026

Copy link
Copy Markdown
Owner Author

@greptileai

@unbraind

unbraind commented Jul 2, 2026

Copy link
Copy Markdown
Owner Author

/gemini review

@unbraind

unbraind commented Jul 2, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
✅ Action performed

Full review finished.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the repository's documentation and hardens CI/CD configurations following a full ecosystem audit. Key changes include updating Node.js prerequisites to 22.18+, correcting MCP tool counts to 28, adding caveats for package-only commands, deduplicating documentation, and transitioning starter-extension vocabulary to package-first commands. Additionally, it restricts auto-release permissions to actions: read and introduces new secret-scanning rules for Anthropic, OpenAI, and GitLab tokens. Feedback on the changes suggests enhancing the new GitLab token regular expression to support newer formats that include dots, ensuring more robust leak detection.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread scripts/check-secrets-lib.mjs Resolved
Per Gemini round-2 review: glpat-<base64>.<len>.<crc> tokens were cut
short at the first dot. Character class now includes the dot; covered
with a routable-format fixture.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FM3GimxcR6DpRdMiBX3RLs
@unbraind

unbraind commented Jul 2, 2026

Copy link
Copy Markdown
Owner Author

@greptileai

@unbraind

unbraind commented Jul 2, 2026

Copy link
Copy Markdown
Owner Author

/gemini review

@unbraind

unbraind commented Jul 2, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
✅ Action performed

Full review finished.

@gemini-code-assist

Copy link
Copy Markdown

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@unbraind

unbraind commented Jul 2, 2026

Copy link
Copy Markdown
Owner Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request performs a comprehensive ecosystem audit and optimization pass across the project. Key changes include updating the Node.js requirement to 22.18+, hardening CI/CD workflows by reducing permissions, and adding new secret detection rules for Anthropic, OpenAI, and GitLab tokens. Documentation has been updated to reflect these changes, including tool counts, capability matrices, and improved onboarding guidance. No review comments were provided for this pull request.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@unbraind
unbraind merged commit 3c9cdd4 into main Jul 2, 2026
20 checks passed
@unbraind
unbraind deleted the docs-freshness-and-ci-hardening branch July 2, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant