How pre1102/btech-project works
VeriTrust AI is currently a frontend demonstration, not the proposed DID/VC-backed authorization system. Its user workflow is to inspect demo agents and credentials, register a sample agent, evaluate an agent against a resource policy, and review the resulting local audit record. Trust scoring and credential status are local calculations; workspace data is persisted in browser storage. The README also describes future identity, credential-verification, policy, and tamper-evident audit capabilities, which are shown separately as proposed and unimplemented. Feature-level links reflect README documentation; unsampled implementation details are not inferred.
Main entry points: App.jsx React application · storage.js Workspace storage · mockData.js Demo agents and resources · trust.js Trust calculations
Components 16
Prototype interface
- React application
src/App.jsx - Dashboard
src/App.jsx - Agent management
src/App.jsx - Agent registration
src/App.jsx - Credential status
src/App.jsx - Access checker
src/App.jsx - Audit log
src/App.jsx
Trust and records
- Demo agents and resources
src/data/mockData.js - Trust calculations
src/utils/trust.js
Local persistence
- Workspace storage
src/utils/storage.js - Browser localStorage
Proposed capabilities
- DID / VC services
- Fine-grained authorization
- Protected services / agents
- Tamper-evident records
Other components
- User / operator
Connections 14
- User / operator → React application: uses
README.md - React application → Dashboard: renders
README.md - React application → Agent management: renders
README.md - React application → Agent registration: offers
README.md - React application → Credential status: renders
README.md - React application → Access checker: offers
README.md - React application → Audit log: renders
README.md - React application → Demo agents and resources: loads
src/App.jsx - React application → Trust calculations: calculates with
src/App.jsx - React application → Workspace storage: loads and saves
src/App.jsx - Workspace storage → Browser localStorage: reads and writes
src/utils/storage.js - DID / VC services → Fine-grained authorization: informs
README.md - Fine-grained authorization → Protected services / agents: authorizes
README.md - Fine-grained authorization → Tamper-evident records: records actions
README.md