From 9228d90cc5b62e2fd7b314f74c46e135cda0061c Mon Sep 17 00:00:00 2001 From: Jon Chery Date: Tue, 21 Jul 2026 13:00:04 +0000 Subject: [PATCH] feat(P01): repo layout, .gitignore, README (T-1.1) ---ci--- phase: 1 milestone: v1.0 status: execute persona: lead-developer task: T-1.1 requirements: covered: [REQ-01] ---/ci--- Wave 1, task T-1.1. Creates the directory skeleton (scripts/, modules/l1/, modules/l2/, .gitea/workflows/, contracts-repo/.gitea/workflows/), the .gitignore (audit.json, state.json, __pycache__, .env), and a top-level README summarizing the 4-act demo + Phase 01 verification command. --- .gitea/workflows/.gitkeep | 0 .gitignore | 9 ++++ README.md | 55 ++++++++++++++++++++++++ contracts-repo/.gitea/workflows/.gitkeep | 0 modules/l1/.gitkeep | 0 modules/l2/.gitkeep | 0 scripts/.gitkeep | 0 7 files changed, 64 insertions(+) create mode 100644 .gitea/workflows/.gitkeep create mode 100644 .gitignore create mode 100644 README.md create mode 100644 contracts-repo/.gitea/workflows/.gitkeep create mode 100644 modules/l1/.gitkeep create mode 100644 modules/l2/.gitkeep create mode 100644 scripts/.gitkeep diff --git a/.gitea/workflows/.gitkeep b/.gitea/workflows/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a2e3b86 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +__pycache__/ +*.pyc +*.pyo +.env +.env.* +state.json +audit.json +*.tmp +.DS_Store \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..fed4272 --- /dev/null +++ b/README.md @@ -0,0 +1,55 @@ +# ACDL — Agentic Cloud Delivery Platform + +A 30-minute executive demo proving that infrastructure can be delivered +**automatically, safely, and with a complete audit trail** — without the +usual weeks of manual tickets, reviews, and copy-pasted configuration. + +The demo runs entirely on **local stubs** (no AWS/GCP/Azure, no external LLM +APIs). It shows intent and safety behavior rather than provisioning real +cloud resources. + +## Four acts + +1. **Act 1 — The Friction:** the old manual 2-week deployment process. +2. **Act 2 — Developer Self-Service:** commit a valid `contract.yaml` for + `l2-commodity-price-feed`, watch Dev auto-run, QA + Prod approval gates, + then the evidence timeline. +3. **Act 3 — Citizen Developer:** open a GitHub/Gitea Issue with natural- + language intent; the Python keyword parser generates the same + `contract.yaml` and triggers the identical pipeline. +4. **Act 4 — The Safety Net:** commit a malicious `contract.yaml` + (`public-ingress: true`) for `l2-regulatory-reporting`; the pipeline + halts in Dev because the confidence signal drops below 0.50, and the + rejection is visible on the evidence stream. + +## Repositories + +All under the `continuous-intelligence` Gitea org at +`https://git.cloudinit.dev`: + +- `acdl` (this repo) — platform + stubs + reusable workflows +- `acdl-contracts` — developer surface (`contract.yaml` + issue trigger) +- `acdl-evidence` — audit timeline (served via raw file URLs; Gitea has no + native Pages — see `.ciagent/ARCHITECTURE.md` Gitea API Surface table) + +## Project metadata + +See `.ciagent/PROJECT.md` for the full spec, `.ciagent/ROADMAP.md` for the +5-phase breakdown, `.ciagent/REQUIREMENTS.md` for traceable requirements, +and `.ciagent/PERSONAS.md` for the active persona roster. + +## Phase 01 verification + +After running `scripts/gitea_setup.sh` (which creates `acdl-contracts` and +`acdl-evidence` in the org and pushes the placeholder `index.html`), run: + +```bash +ACDL_GITEA_TOKEN= scripts/verify_phase01.sh +``` + +The script confirms: +- both new repos exist via the Gitea API +- the raw `index.html` URL on `acdl-evidence` returns HTTP 200 +- the `qa` and `prod` branches exist on `acdl-contracts` + +Exit 0 = Phase 01 success criteria met. \ No newline at end of file diff --git a/contracts-repo/.gitea/workflows/.gitkeep b/contracts-repo/.gitea/workflows/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/modules/l1/.gitkeep b/modules/l1/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/modules/l2/.gitkeep b/modules/l2/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/scripts/.gitkeep b/scripts/.gitkeep new file mode 100644 index 0000000..e69de29