Rebuild public Akido portal experience#26
Merged
DevOpsMadDog merged 2 commits intoOct 4, 2025
Conversation
DevOpsMadDog
added a commit
that referenced
this pull request
May 2, 2026
…endpoints Closed in this batch (class-c structured-empty envelope upgrade): - /api/v1/intel-enrichment/requests #6: canonical envelope shipped - /api/v1/risk-treatment/treatments #9: canonical envelope shipped - /api/v1/security-budget/allocations #11: canonical envelope shipped - /api/v1/access-requests/requests #12: canonical envelope shipped - /api/v1/cloud-governance/policies #16: canonical envelope shipped - /api/v1/security-chaos/experiments #26: canonical envelope shipped Pattern (class-c): all six list endpoints upgraded from minimal {items, total, hint} to the canonical batch-6 envelope: { "items": [...], "<legacy_key>": [...], # back-compat (requests/treatments/etc.) "total": int, "org_id": str, "limit": int, # ge=1, le=500 — defaults to 50 "offset": int, # ge=0 — defaults to 0 "filters_applied": {...} # echoes every filter param (None if unset) "hint": str # only present when total == 0 } Each endpoint now (1) accepts limit + offset query params with FastAPI ge/le validation, (2) echoes every filter back into filters_applied even when None (no missing keys), (3) always returns the full envelope shape even on hit (legacy clients keep their original key, new clients use items + pagination context), (4) preserves the actionable empty-state hint with a "this is correct for fresh tenants" framing. Verified: pytest tests/test_empty_endpoints_batch6.py 9/9 PASS. Beast Mode regression on phase4/phase7/trustgraph/pipeline_api: 170/170 PASS. Triage doc updated; class-c tally now 6 closed / 6 minor open. Total empty-endpoint progress: 17/29 closed across batches. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
DevOpsMadDog
added a commit
that referenced
this pull request
May 5, 2026
…a09d185 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
DevOpsMadDog
added a commit
that referenced
this pull request
May 7, 2026
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
Testing
https://chatgpt.com/codex/tasks/task_e_68df9d9e72d483299c947bc9f1ff349f