Skip to content

ci: full 6DQ L0+L1+G1 setup#1

Merged
nocoo merged 8 commits intomainfrom
fix/6dq-tier-b
Apr 15, 2026
Merged

ci: full 6DQ L0+L1+G1 setup#1
nocoo merged 8 commits intomainfrom
fix/6dq-tier-b

Conversation

@nocoo
Copy link
Copy Markdown
Owner

@nocoo nocoo commented Apr 15, 2026

Adds husky hooks, CI workflow, test coverage thresholds, strict lint, and G2 security configs.

6DQ compliance: L0+L1+G1+G2 → enables Tier B.

nocoo and others added 8 commits April 16, 2026 06:11
Read version from package.json instead of hardcoding ipsafe/1.0.2,
preventing test failures when the version is bumped.
- Install husky and configure pre-commit hook to run tests + lint
- Add CI workflow using nocoo/base-ci reusable workflow
- CI triggers on push/PR to main and manual dispatch
- Add tests for getConfigPaths, getGlobalConfigPath, initGlobalConfig,
  showConfigInfo, checkContent, checkNetworkWithRetries, parseCommand
- Add tests for content checking, timeout, and error paths in testConnectivity
- Add tests for command timeout, exit cleanup, interactive commands
- Add check-safe.js test suite for checkNetworkSafe and executeIfSafe
- Add CLI (bin/ipsafe.js) test suite covering all flags and error paths
- Configure jest coverage thresholds at 90% for statements/branches/functions/lines
- Update lint scripts to use --max-warnings=0
- Fix unused imports and variables in test files
- Fix single-quote style violation in test
- Add .gitleaks.toml with allowlist for node_modules, coverage, lockfile
- Add osv-scanner.toml for dependency vulnerability scanning
- Generate bun.lock from package-lock.json so `bun install --frozen-lockfile`
  works in the reusable bun-quality workflow
- Pass osv-config to the reusable workflow so osv-scanner.toml is used
Add ignore entries for GHSA-xffm-g5w8-qvg7, GHSA-2g4f-4pwh-qvx6,
GHSA-f886-m6hf-6m8v, GHSA-25h7-pfq9-p65f, GHSA-rf6f-7fwh-wjgh,
and GHSA-mh29-5h37-fv8m covering vulnerabilities in transitive deps
(@eslint/plugin-kit, ajv, brace-expansion, flatted, js-yaml).
@nocoo nocoo merged commit 5e9f451 into main Apr 15, 2026
2 checks passed
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