Repository navigation
feat(maturity): GRC self-assessment POC, plan archive, lab JWT - #207
Merged
Merged
Conversation
- Move finished PLAN_* files to completed/; refresh cross-links, PLANS_TODO, SPRINTS, PLANS_HUB. - Add plans-archive-on-completion cursor rule; point Semgrep workflow and WABBIX baseline at new paths. - AGENTS: document completed/ in plans hub sync and archive workflow. Made-with: Cursor
… HMAC integrity
- Gated GET/POST /{locale}/assessment; optional maturity_assessment_pack_path; Pro+ / OPEN tier rules.
- SQLite maturity_assessment_answers with row_hmac; config api.maturity_integrity_secret_from_env / DATA_BOAR_MATURITY_INTEGRITY_SECRET.
- GET /status includes maturity_assessment_integrity summary.
Made-with: Cursor
- scripts/issue_dev_license_jwt.py issues HS256 tokens for local Pro/Enterprise simulation. - docs/private.example/licensing/README points to script; test_scripts guards compile. Made-with: Cursor
- Cover gated HTML/POST, YAML pack, HMAC verification, licensing tier features, route matrix, DB wipe. Made-with: Cursor
- Document /assessment, HMAC env, GET /status maturity_assessment_integrity; LICENSING_SPEC dbtier gate note. - SECURITY: optional assessment route in surface; PLAN_MATURITY progress + PLAN_PRODUCT_TIERS cross-link. Made-with: Cursor
| c = g.context | ||
| if c.state in ("VALID", "GRACE"): | ||
| dbtier_claim = str(getattr(c, "dbtier", "") or "").strip().lower() | ||
| except Exception: |
| pack = load_maturity_pack(p) | ||
| except (OSError, ValueError, yaml.YAMLError): | ||
| return None | ||
| _maturity_pack_cache = (key, mtime, pack) |
| from cryptography.hazmat.primitives.serialization import load_pem_private_key | ||
|
|
||
|
|
||
| def _load_private_key_pem() -> str: |
2 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Commits (split)
Checklist
Made with Cursor