Skip to content

Complete the local live-dashboard workflow and proof download - #23

Merged
buttercode101 merged 20 commits into
mainfrom
fix/habitat-proof-download
Nov 27, 2026
Merged

buttercode101 merged 20 commits into
mainfrom
fix/habitat-proof-download

Conversation

@buttercode101

Copy link
Copy Markdown
Owner

Product workflow completed

  • Add an optional local dashboard path: start the Habitat API on loopback, run the web UI locally, inspect real claims and verify them without an account or hosted control plane.
  • Allow HTTP only for explicit loopback addresses in production mode; remote production backends still require HTTPS.
  • Clearly label demo-generated claims as SAMPLE in the dashboard and claim inspector, with an explicit warning that they are not live agent activity.
  • Make the proof endpoint return a real JSON attachment with a sanitized filename (the previous link opened JSON inline instead of downloading it).
  • Add unit coverage for loopback security and download headers.

Repeatable browser QA

  • Add a seeded local Habitat API fixture to the Playwright suite.
  • Exercise the real dashboard → claim → verify → proof download path against the Python API, not mocked data.
  • Test the demo fallback separately, including digest match, tamper mismatch and reset.
  • Test the local quickstart copy controls, mobile navigation, reduced motion and 32 route/viewport combinations.

Validation

  • npm ci — passed; 0 audit vulnerabilities.
  • npm run build — passed (Next.js production build and TypeScript).
  • npm test — 3 passed.
  • npm run test:e2e — 5 passed, including real local API verification and JSON download.
  • Habitat Python suite — 107 passed, 5 skipped (unchanged library code).
  • Production-mode Next server connected to loopback Habitat API successfully; remote HTTP URL is rejected.

@vercel

vercel Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
habitat Ready Ready Preview Nov 27, 2026 10:01am UTC

@buttercode101
buttercode101 merged commit efb02a4 into main Nov 27, 2026
9 checks passed

This branch was successfully deployed

1 active deployment
Preview — 029e0654 Deployed Nov 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant