Skip to content

ci(governance): green the hypatia baseline — adopt #466 + baseline 4 verified false-positives#173

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/neurophone-repo-setup-envzix
Jul 3, 2026
Merged

ci(governance): green the hypatia baseline — adopt #466 + baseline 4 verified false-positives#173
hyperpolymath merged 1 commit into
mainfrom
claude/neurophone-repo-setup-envzix

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

The final step: turn neurophone's long-standing governance / Validate Hypatia Baseline red green — honestly.

With the estate gate now fully repaired (standards #455 consult-baseline + #464 filter-actually-runs + #466 scan-a-clean-tree), this:

  1. Re-pins governance-reusable f81bb04412a703 (adopts #466's pollution fix — the gate no longer scans the .standards-checkout/ tooling).
  2. Baselines the 4 remaining native findings, all audited as false-positives at source (none blind-baselined):
File Rule Sev Why it's a false-positive
crates/claude-client/src/egress_gate.rs secret_detected critical Unit test hardcoded_secret_is_blocked_even_in_an_otherwise_allowed_class asserts the gate blocks the literal placeholder sk-not-a-real-secret-value. Not a secret.
audits/audit-install-scripts.adoc secret_detected critical The audit doc quotes the commented # api_key = "sk-ant-..." placeholder to document it as sound. Not a secret.
android/README.adoc SD022 medium References gossamer's cross-repo src/interface/… paths (like the existing baselined BT-PRESENCE entry).
audits/assail-classifications.a2ml SD022 medium References panic-attack's src/assail/mod.rs (correct cross-repo reference).

Both criticals were read at source and confirmed to be a test fixture and a documentation quote — not real credentials.

Verified before pushing

Ran the 4 native findings through standards' apply-baseline.sh against the extended baseline locally:

kept: 0   suppressed: 4   ->  gate exit 0 (green)

Post-#466 the scan sees 14 findings (10 prior + these 4), all suppressed, zero tooling pollution → the gate goes green for real.

No silent-green

apply-baseline.sh keeps any finding not matched by a baseline entry, so a genuinely-new finding still fails the gate. This only suppresses the four exact, audited entries above. The five other standards reusables stay at 7c9db0e.

Draft pending the CI confirmation (which is the point — I'll verify the check is finally green).

🤖 Generated with Claude Code

https://claude.ai/code/session_0172RBMz3qYjb1ttzD2i7RNh


Generated by Claude Code

…-scan fix (#466)

The last step to turn validate-hypatia-baseline green — honestly. With the estate
gate now fully working (standards #455 consult-baseline + #464 filter-runs + #466
clean-scan-tree), re-pinning to standards 412a703 lets the gate see neurophone's
true native finding set (no more .standards-checkout tooling pollution).

That set had 4 findings not yet in .hypatia-baseline.json, all AUDITED as
false-positives at source and baselined here (none blind-baselined):

- crates/claude-client/src/egress_gate.rs (secret_detected, CRITICAL) — the unit
  test `hardcoded_secret_is_blocked_even_in_an_otherwise_allowed_class` asserts the
  gate BLOCKS the literal placeholder `sk-not-a-real-secret-value`. Not a secret.
- audits/audit-install-scripts.adoc (secret_detected, CRITICAL) — this audit doc
  QUOTES the commented `# api_key = "sk-ant-..."` placeholder to document it as a
  sound false-positive. Not a secret.
- android/README.adoc (SD022) — references gossamer's cross-repo src/interface/ paths.
- audits/assail-classifications.a2ml (SD022) — references panic-attack's src/assail/.

Both criticals verified at source; both SD022s are cross-repo references with no
local drift (same class as the existing docs/BT-PRESENCE-PLAN.adoc entry).
Suppression confirmed locally against standards' apply-baseline.sh: all 4 -> kept=0.

After this, the scan sees 14 findings (10 prior + these 4), all suppressed, zero
pollution -> the gate goes green. Other five standards reusables stay at 7c9db0e.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172RBMz3qYjb1ttzD2i7RNh
@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review July 3, 2026 04:11
@hyperpolymath
hyperpolymath merged commit 0cdd426 into main Jul 3, 2026
32 checks passed
@hyperpolymath
hyperpolymath deleted the claude/neurophone-repo-setup-envzix branch July 3, 2026 04:11
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.

2 participants