This repository is the public replay layer for a Daena hackathon demo.
It does not expose the private runtime or live operational infrastructure. Instead, it ships a sanitized static experience that lets people inspect:
- a Solidity security scan surface
- multi-agent governance debate and voting
- policy decisions and execution flow
- bundled replay traces and a generated report
The app is designed to show how an autonomous AI employee can move from detection to decision with a visible audit trail.
Daena is presented here as an autonomous security and consensus operator for high-trust workflows.
In this public replay, the system:
- reviews a DeFi vault-style contract surface
- flags security findings
- routes the case through a governance council
- finalizes a policy decision
- replays the entire chain in a static browser experience
The current artifact pack includes:
121bundled replay traces inpublic/demo_artifacts- a reference trace with
145events - governance members such as
risk_guard,compliance_guard, andops_guard - a markdown security review rendered directly inside the UI
flowchart LR
A[Founder Panel] --> B[Workflow Orchestrator]
B --> C[Security Scan Surface]
B --> D[Agent Orchestrator]
D --> E[Governance Council]
E --> F[Policy Center]
F --> G[Workflow Executor]
G --> H[Replay Artifacts]
H --> I[Consensus Replay Studio]
- Replay Studio UI: React + Vite frontend for inspecting the run.
- Trace Library: Static JSON artifacts loaded from
public/demo_artifacts. - Security Surface: Monaco-based contract viewer for the simulated vault scan.
- Governance View: Timeline, call graph, and vote stream for council review.
- Proof Layer: Sanitized markdown report and replayable decision history.
The UI is intentionally split into three operator views:
- Workflow Control Tower: run activation, pulse stepping, progress, and report access
- Threat Surface: contract preview, path/inline switching, scan simulation, findings
- Consensus Fabric: call graph, timeline, governance debate, and event log
That structure mirrors the architecture of the underlying system: inspect -> deliberate -> authorize -> execute -> verify.
- React 18
- TypeScript
- Vite
- Tailwind CSS v4
- Monaco Editor
- React Flow
- GitHub Pages deployment via GitHub Actions
.
|-- public/demo_artifacts/ # bundled replay traces + markdown report
|-- src/components/demo/ # main replay studio experience
|-- src/index.css # visual system and motion styling
|-- .github/workflows/ # GitHub Pages deploy workflow
|-- vite.config.ts # static-friendly Vite build config
`-- README.md
npm install
npm run devBuild for production:
npm run build- The app is configured as a static Vite build with
base: './'. - The GitHub Actions workflow deploys
dist/togh-pages. 404.htmlis copied fromindex.htmlso the hash-routed app works on GitHub Pages.
This repository is optimized for demo clarity and safe public sharing:
- secrets are not included
- live backend services are not required
- trace files are pre-generated
- the report is shipped as a static artifact
That keeps the project easy to review on GitHub while still communicating the architecture and product direction.
This project is released under the MIT License.