Skip to content

Releases

ops-requisition-auditor v1.6.0 — Enterprise Governance Suite (Workstreams 1–13) & Zero-Alert Security Hardening

Choose a tag to compare

@AManning30 AManning30 released this 26 Nov 23:12

Highlights — 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).
  • 2. Human-Approval & Anti-Automation Middleware (ops-req-governance, scripts/governance_middleware.py):
    • Enforces PENDING_HUMAN_REVIEW as the mandatory initial disposition, hard-blocks --auto-reject / --autonomous-mode flags 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/DELETE immutability triggers).
  • 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).
  • 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).
  • 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_vault vs. scoring_vault vs. demographics_vault keyed by SUBJ-<16hex> tokens), configurable TTL retention, cryptographic right-to-erasure receipts (DeletionReceipt), and authenticated export encryption.
  • 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.
  • 7. Multi-Format, OCR, Multilingual & Fuzz Parser Benchmark (ops-req-parser-bench, scripts/parser_benchmark_suite.py):
    • 11-case parser benchmark corpus (.docx headers/footers/tables/textboxes, .pdf stdlib FlateDecode + Poppler pdftotext + 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.
  • 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 in demo.html / docs/index.html).
  • 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).
  • 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-port HTTP server, and batch-job runner preserving 100% of human-review governance fields.
  • 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) from projected_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 when share_with_manager=False), and measures 90-day role transition outcomes.
  • 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.2 role="tablist"/tab/tabpanel semantics, roving-tabindex keyboard arrow navigation, skip-to-main-content link, explicit <label for="..."> associations, ARIA form validation alerts, responsive breakpoints, and SYNTHETIC DEMO MODE (ZERO REAL PII) status banner.
  • 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, and CHANGELOG.md.

2. Security, CodeQL & CWE Hardening (0 Open Alerts)

  • PR #3 & #4 (@AManning30): Added CodeQL analysis workflow, least-privilege workflow permissions: contents: read, Cloudflare wrangler.jsonc preview config, and Fernet-authenticated encrypted exports (OPS_AUDITOR_OUTPUT_KEY, --decrypt) in scripts/requisition_quality_auditor.py.
  • PR #5–#8 & Commit 83f5892:
    • Path Traversal & Least-Privilege File Permissions (CWE-22, CWE-732): Canonical os.path.realpath + os.path.commonpath confinement and atomic owner-only (0o600 file / 0o700 dir) output writer (write_owner_only_text, atomic_write_json).
    • Complete Configuration Hash Fingerprint (CWE-354): build_version_manifest() hashes all AlignmentConfig fields (target_title, title_synonyms, min_years_required, target_seniority_keywords), all JDRequirement fields, 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 _SafePublicRedirectHandler enforce http/https schemes and block loopback, RFC-1918 private, link-local (169.254.169.254), and localhost targets.
    • ZIP/XML/Zlib Bomb Protection (CWE-409): 15 MB uncompressed byte cap and 200x compression-ratio guard on .docx ZIP members and .pdf FlateDecode streams.
    • CSV Formula Injection Neutralization (CWE-1236): sanitize_csv_cell() neutralizes leading =, +, -, @, \t, and \r across all CSV exporters.
    • Linear-Time Parsing (CWE-1333 / py/polynomial-redos): Eliminated all backtracking regexes across job_posting_collector.py, offline_ats_auditor.py, and requisition_quality_auditor.py.

Full Changelog: v1.5.0...v1.6.0

ops-requisition-auditor v1.5.0 — Employer Edition (Modules 1–3) & Dual License

Choose a tag to compare

@AManning30 AManning30 released this 15 Nov 23:36

ops-requisition-auditor v1.5.0

Live 4-Tab Interactive Workbench: https://amanning30.github.io/ops-requisition-auditor/

Highlights

  • Renamed across the board to ops-requisition-auditor with dual licensing (AGPL-3.0-only OR LicenseRef-Commercial).
  • Employer Edition — Module 1 (ops-req-jd-audit / scripts/requisition_quality_auditor.py):
    • Deterministic 100-point Requisition Quality Score (RQS, rubric rqs-0.2) calibrated across 113 live public job postings from 15 employers.
    • Detects uncalibrated degree gates (G1), inflated experience years (G3), competing-product requirements (L3), employment-gap screens (G6), and missing pay ranges (P1), and generates an auto-edited draft (--improved-out).
  • Employer Edition — Module 2 (ops-req-screen / scripts/explainable_screening_assistant.py):
    • Human-in-the-loop batch candidate screening (PENDING_HUMAN_REVIEW by default; never auto-rejects).
    • Blind-mode PII, ZIP code (Illinois HB 3773), and graduation-year (ADEA) redaction with 100% score parity (0.0 pt drift).
    • Plain-language Candidate Factor & Gap Disclosure Notices (Colorado SB 24-205 / NYC LL144) and EEOC Four-Fifths (80%) Selection-Rate Tables.
  • Employer & Outplacement Edition — Module 3 (ops-req-mobility / scripts/internal_mobility_matcher.py):
    • Multi-role internal mobility & outplacement matcher (Ready Now, Near-Ready, Stretch) with 30/60/90-day WFM/BI reskilling roadmaps and employee-private exploration by default (share_with_manager: false).
  • CSV Exports & 47-Test CI Suite: Added --csv-out across all three Employer Edition modules and expanded the offline unittest suite to 47 passing tests.

Full Changelog: v1.4.0...v1.5.0