Skip to content

chore: remove .deepsec/ scanner workspace and its CI/Dependabot exemptions - #3076

Open
chaliy wants to merge 1 commit into
mainfrom
chore/remove-deepsec
Open

chaliy wants to merge 1 commit into
mainfrom
chore/remove-deepsec

Conversation

@chaliy

@chaliy chaliy commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

What changed

  • Removed the .deepsec/ directory and all its files (package.json, pnpm-lock.yaml, pnpm-workspace.yaml, deepsec.config.ts, AGENTS.md, README.md, data/bashkit/*).
  • Removed the .deepsec/ special-case exemptions from scripts/tests/test_dependabot_coverage.py so every tracked pnpm-lock.yaml is now covered by both Dependabot and .npmrc 3-day cooldown parity.
  • Removed .deepsec/ instructions and exemptions from knowledge/operations/maintenance.md and recorded the removal in knowledge/log.md.

Why

.deepsec/ was a maintainer-only AI security scanner workspace with its own npm lockfile excluded from Dependabot and cooldowns, yet still discovered by scripts/audit-lockfiles.sh on every branch—meaning transitive advisories in the scanner could turn the required Audit CI job red on unrelated external contributor PRs. Removing it eliminates that maintenance/CI surface.

Before / After

  • Before: 6 tracked pnpm-lock.yaml files with /.deepsec explicitly excluded from Dependabot and .npmrc cooldown checks while still scanned in required Audit CI.
  • After: 5 tracked pnpm-lock.yaml files, all covered uniformly by Dependabot, .npmrc cooldown parity, and scripts/audit-lockfiles.sh.
  • Verified locally: 300 Python script tests pass (test_dependabot_coverage.py, test_audit_lockfiles.py, etc.), check_okf.py knowledge (50 concepts, 7 indexes, 1 log) passes, check_doc_links.py (265 links across 52 files) passes, check_workflow_parity.py, check_changelog.py, capability_parity.py --check, and check_monty_fork.py all pass.

Risk

  • Low
  • Removes an unused internal scanner directory and its test/doc exemptions; no runtime crates, published packages, or CI workflows are affected.

Checklist

  • Tests added or updated
  • Backward compatibility considered

Prove it works
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@bashkit-pr-reviewer

Copy link
Copy Markdown

Review summary (PR #3076)

Verdict: Clean removal — no findings. No review submitted (nothing to block on).

What changed (12 files): deleted .deepsec/ workspace (.gitignore, AGENTS.md, README.md, data/bashkit/INFO.md+SETUP.md, deepsec.config.ts, package.json, pnpm-lock.yaml — 2623 lines, pnpm-workspace.yaml) plus 6 insertions / 29 deletions across knowledge/log.md, knowledge/operations/maintenance.md, scripts/tests/test_dependabot_coverage.py to drop the special-case exemptions.

What I checked beyond the diff:

  • AGENTS.md project rules (knowledge updated in same change — satisfied via log.md + maintenance.md); no sandbox boundary change so no threat-model update needed.
  • Workspace-wide deepsec search on the head snapshot: only historical mentions remain (CHANGELOG.md x2, knowledge/log.md new removal entry + prior cross-spawn advisory entry) — no live code, workflow, audit-lockfiles.sh, .npmrc, or skill references left dangling.
  • test_dependabot_coverage.py head state: SKIP has no deepsec carve-out, test_every_pnpm_project_is_covered floor (>=5) matches the new 5-lockfile tree, .npmrc/Dependabot parity helpers derive from dependabot.yml so the deleted directory simply drops out. maintenance.md "Deliberately not covered" list no longer mentions .deepsec. No dependabot.yml change is needed since .deepsec was excluded (not listed) there.
  • scripts/audit-lockfiles.sh discovery (find . -name pnpm-lock.yaml) needs no change; fewer lockfiles still satisfies its require_found floor.

What I could not fully review: the raw diff body for .deepsec/pnpm-lock.yaml was truncated by size (2623 deleted lines) — verified as file deletion via the file list, not line-by-line. .github/dependabot.yml was not directly readable under workspace policy; coverage was inferred from the test logic and the unchanged-file list. No build/test run per instructions; PR author reports 300 Python script tests + knowledge/link/workflow/parity checks green.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit 439269c Commit Preview URL

Branch Preview URL
Dec 04 2026, 08:03 PM

This branch has not been deployed

No deployments
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