Welcome to the unified repository for the QRON Platform and the AuthiChain Agentic Ecosystem.
This repository is the central hub for the QRON ecosystem, integrating a high-performance frontend with a sophisticated autonomous agent orchestration layer.
- Frontend (Client): Vite + React application for branded experiences.
- AgentZ (Core): Python-based workflow orchestrator for operational tasks.
- Protocol: Open-source reference implementation of the verification protocol.
This repo is a monorepo.
- Cloudflare deploy target: root worker +
workers/*services (seewrangler.tomland.github/workflows/deploy-cloudflare.yml) - Legacy Next.js-compatible code: retained in-repo where needed, but not deployed via Vercel
See docs/NETWORK.md for the deployment map and current domains.
The QRON platform operates as a unified codebase serving four distinct branded experiences via host-based routing at the edge (Cloudflare Worker) and/or the web app layer.
- qron.space: Creative Studio & AI QR Art Generator.
- authichain.com: Enterprise Authentication Protocol & API Key Management.
- govchain.us: Ecosystem Governance, $QRON Staking, and DAO Voting.
- strainchain.io: Industrial Provenance & Digital Product Passports (DPP).
Traffic is routed based on the Host header. Shared application routes (like /dashboard, /login, and /api) remain unified across all domains, while the root path (/) serves the brand-specific landing page.
- Web app (primary dev/build scripts): Vite + React (
pnpm dev,pnpm build) - Next.js: Present in the repo for compatibility/config in some areas, but do not assume a standard Next.js App Router project layout for the primary web build.
- Database: Drizzle ORM + PostgreSQL (Supabase) and a Cloudflare D1 binding for Worker-side persistence (see
wrangler.toml). - Edge/fronting services: Cloudflare Worker (
worker/index.ts) + additional worker services - Styling: Tailwind CSS
- Package Manager: pnpm
- Setup Environment:
cp .env.example .env - Install Dependencies:
pnpm install - Run Development Server:
pnpm dev
The agentz/ directory contains the control-plane layer for autonomous operational workflows, providing declarative, dependency-aware execution.
- Workflow Registry: Centralized declaration of operational tasks in YAML.
- Operational Modes:
dry-run(validation),confirm(interactive), andauto(autonomous). - Dependency Resolution: Automated ordering of prerequisite tasks.
- Audit Logging: Comprehensive run history in
agentz/runs.jsonl.
# Inspect registered workflows
python -m agentz.cli list
# Run a specific workflow in dry-run mode
python -m agentz.cli run authichain_pilot_deploy --mode dry-run
# Run all revenue-blocking workflows in auto mode
python -m agentz.cli run --all --revenue-only --mode auto
- ORM: Drizzle is used for schema management.
- Migrations:
pnpm db:generateandpnpm db:migrate(seepackage.jsonscripts). - Edge: Managed via
wrangler.tomland repo-managedworkers/*services. - Deploy map:
docs/NETWORK.mdis the canonical inventory of Cloudflare, database, and worker responsibilities. - Agents: Python environment requires
pip install -r requirements-agentz.txt.
The repository uses a deployment-independent CI quality gate and a versioned AuthiChain attestation contract. The pilot baseline is:
install → typecheck → lint → tests → production build → deploy smoke test → real product scan
See docs/operations/PILOT-READY-BASELINE.md and docs/attestation/v0.1.md for the technical acceptance criteria.
See docs/project/LICENSE.md for full terms.