chore: harden local CI and secret scanning#251
Conversation
Signed-off-by: Ikalus1988 <sheldonisspark@gmail.com>
🧾 Audit Report — PR #251 (ca38dc3)📊 Quality Score: ?/100No deductions. 🔏 DCO Audit❌ ** commit(s)** missing Signed-off-by. 📏 PR Size
🧪 Test Suite❌ FAIL — tests have failures 📋 Lesson Schema⏭️ Skipped (no lessons changed). ⚖️ Verdict❌ DCO audit failed. Scope: |
Signed-off-by: Ikalus1988 <sheldonisspark@gmail.com>
🧾 Audit Report — PR #251 (cc8ce19)📊 Quality Score🔏 DCO Audit✅ All commits signed-off. 📏 PR Size
🧪 Test Suite❌ FAIL — tests have failures 📋 Lesson Schema⏭️ Skipped (no lessons changed). ⚖️ Verdict❌ Test suite failed. Scope: |
Signed-off-by: Ikalus1988 <sheldonisspark@gmail.com>
🧾 Audit Report — PR #251 (f841277)📊 Quality Score🔏 DCO Audit✅ All commits signed-off. 📏 PR Size
🧪 Test Suite❌ FAIL — tests have failures 📋 Lesson Schema⏭️ Skipped (no lessons changed). ⚖️ Verdict❌ Test suite failed. Scope: |
|
Closing this maintainer PR to keep the active queue clean. The useful, low-risk fix discovered while reviewing this PR has been split out and pushed directly to
That fixes the real Windows path issue where The remaining changes in this PR mix CI hardening, dependency audit policy, packaging, secret scanning, token-manager behavior, docs, and test updates across many files. That is too broad for one self-authored maintainer PR, especially while the audit job is red for environment/packaging reasons. Follow-up plan: re-submit any still-needed hardening as smaller maintainer commits or focused PRs (for example: dependency audit only, secret scanner only, CI workflow only). |
PR Draft: chore: harden local CI and secret scanning
Summary
scripts/check_worker_secrets.pyfrom worker-only scanning to tracked repository text scanning, add broader GitHub token patterns, avoid echoing matched secret snippets, and keep worker env-missing checks.Makefileand README, including install/test/lint/audit/validate targets and Windows command equivalents.misakanet*.Validation
python -m pre_commit run --files .github/workflows/pr-checks.yml .gitignore Makefile README.md pyproject.toml scripts/check_worker_secrets.py packages/fatal-guard/tests/redact-compliance.js misakanet/search/engine.py misakanet/tools/dashboard.py hub/master/token_manager.py tests/test_ci_self_heal.py tests/test_dashboard.py tests/test_token_manager_nokeyring.pypython -m pytest --cov=misakanet --cov-report=term --cov-fail-under=20 tests/→ 118 passed, 3 skipped, coverage 45.55%.python scripts/check_worker_secrets.py→ 0 errors, 0 warnings.node packages/fatal-guard/tests/redact-compliance.js→ 7/7 patterns passed.Notes
ca38dc3 chore: harden local CI and secret scanning