Deliver final advanced governance, ownership, and reporting feature set#1
Draft
Suhaskumard wants to merge 1 commit into
Draft
Deliver final advanced governance, ownership, and reporting feature set#1Suhaskumard wants to merge 1 commit into
Suhaskumard wants to merge 1 commit into
Conversation
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.
Motivation
Description
GET/PUT /api/merge-gate/policy,GET /api/merge-gate/evaluate/{commit_id},POST /api/predict/what-if,POST /api/webhooks/github/commit,GET /api/ownership/blast-radius/{commit_id},GET /api/reports/semester, and retained analytics endpoints such asGET /api/dashboard/summaryandGET /api/analytics/failure-trends(backend/app/main.py,backend/app/*).risk_engine.py, added Pydantic schemas inschemas.py, and seeded demo data and dependency graph indata.pyto support explainability and API responses.NavbarandKpiCard, plus an API helpergetJsonand layout/styles to wire the UI to the new endpoints (frontend/app/*,frontend/components/*,frontend/lib/api.ts).ai-engine/risk_model.py), PostgreSQL-ready schema (database/schema.sql), docs (docs/api-catalog.md,docs/architecture.md,docs/roadmap.md), an updatedREADME.md, and a GitHub Actions CI workflow (.github/workflows/ci.yml).Testing
python -m compileall backend/appwhich completed successfully and validated Python source syntax inbackend/app./merge-controlpage which failed withERR_EMPTY_RESPONSEbecause the frontend server was not running in this environment, so UI rendering and end-to-end checks could not be validated..github/workflows/ci.yml) was added to run backend syntax checks and a frontendnpmbuild, but the workflow was not executed in this environment.Codex Task