Repository navigation
ops-requisition-auditor v1.6.0 — Enterprise Governance Suite (Workstreams 1–13) & Zero-Alert Security Hardening
LatestHighlights — Workstreams 1–13 & Enterprise Security Hardening (v1.6.0)
ops-requisition-auditor v1.6.0 completes the 13-workstream enterprise governance, privacy, fairness, multi-format parser, ATS/HRIS integration, WCAG 2.1 AA workbench, and CodeQL/CWE security hardening roadmap—adding 10 new CLI commands (16 total), 109 deterministic unit & security regression tests, and 0 open GitHub Code Scanning / CodeQL alerts.
1. New CLI Modules & Governance Workstreams (1–13)
-
1. Empirical Pilot Validation Harness (
ops-req-pilot,scripts/pilot_evidence_harness.py):- End-to-end validation loop across
(requisition, resume)cohorts computing ROC-AUC, Brier Score, Expected Calibration Error (ECE), 95% Wilson/bootstrap CIs, Cohen's$\kappa$ , Pearson$r$ , Spearman$\rho$ , MAE/RMSE, and 5-component ablation diagnostics (MODEL_CARD.md,references/pilot-protocol.md).
- End-to-end validation loop across
-
2. Human-Approval & Anti-Automation Middleware (
ops-req-governance,scripts/governance_middleware.py):- Enforces
PENDING_HUMAN_REVIEWas the mandatory initial disposition, hard-blocks--auto-reject/--autonomous-modeflags and bot reviewer IDs, enforces RBAC and secondary approver Separation-of-Duties (secondary_approver_id != reviewer) on score overrides, and seals decisions into a SHA-256 hash chain backed by an append-only SQLite WAL ledger (BEFORE UPDATE/DELETEimmutability triggers).
- Enforces
-
3. Extraction Confidence & Multilingual Ambiguity Ledger (
ops-req-collect,scripts/job_posting_collector.py):- Per-requirement certainty taxonomy (
CONFIRMED,HIGH,MODERATE,LOW_INFERRED), ambiguity detectors (AMB-EXP-RANGE,AMB-DEG-EQUIV,AMB-CLR-CONDITIONAL,AMB-LOC-CONFLICT), negative-context exclusions, and multilingual (en/es/fr/de) extraction (examples/sample_ambiguity_multilingual_corpus.json).
- Per-requirement certainty taxonomy (
-
4. Compliance Policy Versioning & Jurisdiction Registry (
ops-req-policy,scripts/compliance_policy_registry.py):- Dated policy modules (Colorado SB 24-205, NYC Local Law 144, Illinois HB 3773, EEOC UGESP 4/5ths, ADEA graduation-year redaction, and multi-state pay transparency) with effective dates, geography scopes, and counsel review verification (
examples/sample_policy_pack_2026_11.json).
- Dated policy modules (Colorado SB 24-205, NYC Local Law 144, Illinois HB 3773, EEOC UGESP 4/5ths, ADEA graduation-year redaction, and multi-state pay transparency) with effective dates, geography scopes, and counsel review verification (
-
5. Privacy Architecture, 3-Vault Segregation & Deletion Engine (
ops-req-privacy,scripts/privacy_data_minimization.py):- Explicit revocable consent verification (
--consent-json,--require-consent), 3-vault isolation (pii_vaultvs.scoring_vaultvs.demographics_vaultkeyed bySUBJ-<16hex>tokens), configurable TTL retention, cryptographic right-to-erasure receipts (DeletionReceipt), and authenticated export encryption.
- Explicit revocable consent verification (
-
6. 6-Dimension Fairness & Adverse-Impact Suite (
ops-req-fairness,scripts/fairness_adverse_impact_auditor.py):- Evaluates selection rates, Wilson 95% CIs, exact two-sided Fisher
$p$ -values, EEOC Q&A #21 single-case flip tests, parser/rubric error rates, FPR/FNR, and reviewer overrides across Race/Ethnicity, Sex, ADEA Age Proxies ($\ge 40$ ), Disability Status, Resume Language (en/es/fr/de), and Intersectional (Race x Sex) subgroups.
- Evaluates selection rates, Wilson 95% CIs, exact two-sided Fisher
-
7. Multi-Format, OCR, Multilingual & Fuzz Parser Benchmark (
ops-req-parser-bench,scripts/parser_benchmark_suite.py):- 11-case parser benchmark corpus (
.docxheaders/footers/tables/textboxes,.pdfstdlibFlateDecode+ Popplerpdftotext+ sidecar/Tesseract OCR fallbacks, multilingual date ranges, overlapping-role interval union, non-punitive career-gap exclusion, and competing-product vs. transferable-skill classification) plus a 100-iteration seeded fuzz harness.
- 11-case parser benchmark corpus (
-
8. Organization-Native Customization & Approval Registry (
ops-req-org-config,scripts/org_customization_registry.py):- Custom organization leveling ceilings (
L1..M2/D1), gate & degree-equivalency policies, custom component weights (Sum = 100.0) & verdict cutoffs, optional Component 5 formatting decoupling (decouple_formatting_from_capability_score), 3-party Separation-of-Duties approval workflow, and hash-chained configuration audit history (Tab 7 indemo.html/docs/index.html).
- Custom organization leveling ceilings (
-
9. Transparent Uncertainty & Complete Deduction Explanations (
ops-req-audit,scripts/offline_ats_auditor.py):- Three-pillar epistemic separation (Heuristic Score & Plausible Band
[82.9, 96.8]vs. Measurement Confidence vs. Evidence Completeness), side-by-side Semantic vs. Literal comparison, explicit missing/partial evidence disclosure, and 100% point-deduction reconciliation (100.0 -> 88.33).
- Three-pillar epistemic separation (Heuristic Score & Plausible Band
-
10. ATS-Neutral Integration SDK, Vendor Adapters & Signed Webhooks (
ops-req-integrate,scripts/integration_adapters_and_webhooks.py):- Versioned ATS-neutral JSON contract (
ats-neutral-contract-1.0) and OpenAPI 3.1.0 specification (references/openapi_and_ats_neutral_schema.json), bidirectional adapters for Greenhouse, Lever, Ashby, Workday HRIS, and HR-Open 4.x, HMAC-SHA256 signed webhook processor with live replay-window & nonce deduplication checks,--serve-portHTTP server, and batch-job runner preserving 100% of human-review governance fields.
- Versioned ATS-neutral JSON contract (
-
11. Strengthened 30/60/90-Day Mobility Confirmation & Outcomes (
ops-req-mobility,scripts/internal_mobility_matcher.py):- Separates employee-confirmed 30-day score (
confirmed_30d_score) fromprojected_30d_score, adds governed reskilling catalog (wfm-reskill-cat-2.0) with learning resources and prerequisite/credential chain warnings, tracks mentor & manager approvals (blocking manager sign-off whenshare_with_manager=False), and measures 90-day role transition outcomes.
- Separates employee-confirmed 30-day score (
-
12. Workbench Shared Test Vectors & WCAG 2.1 AA Accessibility (
ops-req-workbench,scripts/workbench_parity_and_a11y.py):- Canonical shared scoring vector contract (
examples/shared_scoring_test_vectors.json), automated Python-to-HTML parity verification, WAI-ARIA 1.2role="tablist"/tab/tabpanelsemantics, roving-tabindex keyboard arrow navigation, skip-to-main-content link, explicit<label for="...">associations, ARIA form validation alerts, responsive breakpoints, andSYNTHETIC DEMO MODE (ZERO REAL PII)status banner.
- Canonical shared scoring vector contract (
-
13. Public Benchmark Suite & Community Trust Governance (
ops-req-trust-bench,scripts/public_trust_and_benchmarks.py):- Reproducible 6-domain public benchmark runner, zero-PII verified synthetic benchmark corpus (
examples/public_synthetic_benchmark_corpus.json), 10-item Known Failure Modes & Mitigation Registry (FM-01..FM-10), independent I-O Psychology / HR Compliance / WFM domain review records,GOVERNANCE_CHARTER.md,SECURITY.md, andCHANGELOG.md.
- Reproducible 6-domain public benchmark runner, zero-PII verified synthetic benchmark corpus (
2. Security, CodeQL & CWE Hardening (0 Open Alerts)
- PR #3 & #4 (
@AManning30): Added CodeQL analysis workflow, least-privilege workflowpermissions: contents: read, Cloudflarewrangler.jsoncpreview config, and Fernet-authenticated encrypted exports (OPS_AUDITOR_OUTPUT_KEY,--decrypt) inscripts/requisition_quality_auditor.py. - PR #5–#8 & Commit
83f5892:- Path Traversal & Least-Privilege File Permissions (
CWE-22,CWE-732): Canonicalos.path.realpath+os.path.commonpathconfinement and atomic owner-only (0o600file /0o700dir) output writer (write_owner_only_text,atomic_write_json). - Complete Configuration Hash Fingerprint (
CWE-354):build_version_manifest()hashes allAlignmentConfigfields (target_title,title_synonyms,min_years_required,target_seniority_keywords), allJDRequirementfields, and active rubric versions. - Blind-Mode Pipe-Header, Bare Grad-Year & Filename Redaction + Unique Candidate IDs (
CWE-359,CWE-706): Strips pipe/bullet header names (Jane Doe | jane@example.com), bare graduation years on degree lines (B.S. ... 2019), and applicant filenames ([redacted-source:<sha256>]), and rejects duplicate candidate IDs / colliding filename stems. - SSRF & Local
file://Guard (CWE-918):validate_public_http_url()and_SafePublicRedirectHandlerenforcehttp/httpsschemes and block loopback, RFC-1918 private, link-local (169.254.169.254), andlocalhosttargets. - ZIP/XML/Zlib Bomb Protection (
CWE-409):15 MBuncompressed byte cap and200xcompression-ratio guard on.docxZIP members and.pdfFlateDecodestreams. - CSV Formula Injection Neutralization (
CWE-1236):sanitize_csv_cell()neutralizes leading=,+,-,@,\t, and\racross all CSV exporters. - Linear-Time Parsing (
CWE-1333/py/polynomial-redos): Eliminated all backtracking regexes acrossjob_posting_collector.py,offline_ats_auditor.py, andrequisition_quality_auditor.py.
- Path Traversal & Least-Privilege File Permissions (
Full Changelog: v1.5.0...v1.6.0