diff --git a/README.md b/README.md index d9e8274..24ed939 100644 --- a/README.md +++ b/README.md @@ -302,15 +302,17 @@ TaskLane's AI-assisted development workflow for Project 1 is fully documented ac | [#2 — Correlated observability](https://github.com/LE0ST/tasklane/issues/2) | Closed | [PR #7](https://github.com/LE0ST/tasklane/pull/7), merged `cc9cce7` | | [#3 — User-impact alert and drill](https://github.com/LE0ST/tasklane/issues/3) | Closed | [PR #8](https://github.com/LE0ST/tasklane/pull/8), merged `9968999` | | [#4 — Bounded on-call responder](https://github.com/LE0ST/tasklane/issues/4) | Open — partial acceptance | [PR #9](https://github.com/LE0ST/tasklane/pull/9), squash `7c73446`; approved limited diagnosis-only scope, full model-authored remediation not demonstrated | -| [#5 — Final audit and evidence](https://github.com/LE0ST/tasklane/issues/5) | Open | [PR #10](https://github.com/LE0ST/tasklane/pull/10) and [PR #11](https://github.com/LE0ST/tasklane/pull/11) merged; verified candidate `946b582`; platform submission and three peer reviews remain unverified | +| [#5 — Final audit and evidence](https://github.com/LE0ST/tasklane/issues/5) | Open | [PR #10](https://github.com/LE0ST/tasklane/pull/10) and [PR #11](https://github.com/LE0ST/tasklane/pull/11) merged; current verified submission candidate `dd9a52696a961f58d2c5064a926b2c8082a333cf`, [CI 40289231699](https://github.com/LE0ST/tasklane/actions/runs/40289231699) 4/4; platform submission and three peer reviews remain unverified | See [the detailed traceability matrix](docs/evidence-traceability.md) for CI links, reviewer handoffs, and precise claims. +The latest verified `main` run, [40289231699](https://github.com/LE0ST/tasklane/actions/runs/40289231699), passed all four jobs for `dd9a52696a961f58d2c5064a926b2c8082a333cf` on October 26, 2026. Render was read-only verified `live` at the same SHA. This does not establish a new public health probe. + --- ## Operations, Rollback & Submission -Production uses the Render Docker Web Service `tasklane-app` and Neon PostgreSQL 16 (`import` branch, `neondb`). Render currently follows `main` and deploys after CI checks pass. The October 26 verification recorded Render `live` at `946b582` (deploy `dep-dbfg9o2jnfac73ens3fg`, completed at 07:45 UTC), matching [CI 40287182535](https://github.com/LE0ST/tasklane/actions/runs/40287182535), 4/4 successful jobs. The public `/health` endpoint returned `{"status":"healthy"}`; see [verification recorded in Issue #5](https://github.com/LE0ST/tasklane/issues/5#issuecomment-6410875915). This is a dated verification snapshot, not a claim that later commits are already deployed. +Production uses the Render Docker Web Service `tasklane-app` and Neon PostgreSQL 16 (`import` branch, `neondb`). Render follows `main` and deploys after CI checks pass. On October 26, 2026, `main` at `dd9a52696a961f58d2c5064a926b2c8082a333cf` passed [CI 40289231699](https://github.com/LE0ST/tasklane/actions/runs/40289231699), 4/4 jobs; Astra's read-only Render check recorded the matching deploy `live` (started 08:04:19 UTC, completed 08:04:47 UTC). A public `/health` probe was not repeated for this newer SHA; the earlier probe at `946b582` is recorded in [Issue #5](https://github.com/LE0ST/tasklane/issues/5#issuecomment-6410875915). This is the current verified candidate, not proof that the course form was submitted. **Application rollback is not database rollback.** First select a previously healthy compatible commit/deploy in the Render dashboard, check application health and compatibility with the current Alembic schema, then verify read-only database state. Never trigger `alembic downgrade` or restore production data as an automatic response to a bad app deploy. There is no independently verified backup snapshot claimed here. diff --git a/docs/evidence-traceability.md b/docs/evidence-traceability.md index ef309f6..f761c8e 100644 --- a/docs/evidence-traceability.md +++ b/docs/evidence-traceability.md @@ -1,6 +1,6 @@ # TaskLane — Project 1 Evidence and Traceability Matrix -**As-of date:** October 26, 2026 (Lima). **Recorded verified baseline:** [`946b582`](https://github.com/LE0ST/tasklane/commit/946b582510219532d0d1e44ba8510f5ca50997e9), after documentation PRs #10 and #11. [CI 40287182535](https://github.com/LE0ST/tasklane/actions/runs/40287182535) passed 4/4; [verification recorded in Issue #5](https://github.com/LE0ST/tasklane/issues/5#issuecomment-6410875915). Later documentation commits require their own CI; this snapshot does not claim they are deployed. PR #9 has passed external SRE/security review for its restricted diagnosis-only scope and was merged with explicit maintainer authorization. Deployment and postmerge CI checks are tracked separately. +**As-of date:** October 26, 2026 (Lima). **Current verified `main` candidate:** [`dd9a526`](https://github.com/LE0ST/tasklane/commit/dd9a52696a961f58d2c5064a926b2c8082a333cf). [CI 40289231699](https://github.com/LE0ST/tasklane/actions/runs/40289231699) passed 4/4; Astra's read-only Render check confirmed the matching deployment was live. No new public `/health` probe is claimed for this SHA. The earlier `946b582` baseline and its health verification remain historical evidence. PR #9 has passed external SRE/security review for its restricted diagnosis-only scope and was merged with explicit maintainer authorization. Deployment and postmerge CI checks are tracked separately. This is an auditable index, **not** a claim of grades awarded by peer reviewers. Source evidence is public issue/PR/CI history plus read-only cloud checks. External AI audit summaries are recorded as PR discussion comments, not represented as native GitHub approval reviews. @@ -12,7 +12,7 @@ This is an auditable index, **not** a claim of grades awarded by peer reviewers. | Real local OpenTelemetry | [Issue #2](https://github.com/LE0ST/tasklane/issues/2) — closed | [PR #7](https://github.com/LE0ST/tasklane/pull/7) — squash `cc9cce7` | [observability guide](observability.md), correlated metrics/logs/traces and Grafana Explore | | Task-operation HTTP 5xx alert | [Issue #3](https://github.com/LE0ST/tasklane/issues/3) — closed | [PR #8](https://github.com/LE0ST/tasklane/pull/8) — squash `9968999` | [local 503 drill](incident-drill.md); [merged-main CI 40238643032](https://github.com/LE0ST/tasklane/actions/runs/40238643032), 4/4 jobs, 76 backend tests | | On-call diagnostic receiver | [Issue #4](https://github.com/LE0ST/tasklane/issues/4) — open (partial acceptance) | [PR #9](https://github.com/LE0ST/tasklane/pull/9), merged squash `7c73446` | [PR CI 40272231320](https://github.com/LE0ST/tasklane/actions/runs/40272231320), 4/4 jobs, 76 backend + 54 responder tests; real Grafana delivery, read-only diagnosis, **mock-only repair**. [merged-main CI 40273628271](https://github.com/LE0ST/tasklane/actions/runs/40273628271) verified 4/4 success and Render live at the matching squash SHA. | -| Final verifiability and submission | [Issue #5](https://github.com/LE0ST/tasklane/issues/5) — open | [PR #10](https://github.com/LE0ST/tasklane/pull/10) merged `300f4e1`; [PR #11](https://github.com/LE0ST/tasklane/pull/11) merged `946b582` | [CI 40287182535](https://github.com/LE0ST/tasklane/actions/runs/40287182535), 4/4; [recorded final verification](https://github.com/LE0ST/tasklane/issues/5#issuecomment-6410875915). Technical audit complete; platform submission and three peer reviews unverified | +| Final verifiability and submission | [Issue #5](https://github.com/LE0ST/tasklane/issues/5) — open | [PR #10](https://github.com/LE0ST/tasklane/pull/10) merged `300f4e1`; [PR #11](https://github.com/LE0ST/tasklane/pull/11) merged `946b582` | Current verified candidate `dd9a52696a961f58d2c5064a926b2c8082a333cf`; [CI 40289231699](https://github.com/LE0ST/tasklane/actions/runs/40289231699) 4/4 and matching Render deploy `live`. Earlier health-check record at `946b582` remains historical. Platform submission and three peer reviews unverified | ## Official rubric — evidence pointers (12 criteria, 24 available points) @@ -27,7 +27,7 @@ The [official course project rubric](https://github.com/DataTalksClub/ai-dev-too | Application | [public Render demo](https://tasklane-app.onrender.com), [backend](../backend/main.py), [frontend](../frontend/src/App.jsx) | UI-to-API-to-Neon persistence evidence from historical migration and current read-only DB verification | | Testing | [CI workflow](../.github/workflows/ci.yml), [Actions 40238643032](https://github.com/LE0ST/tasklane/actions/runs/40238643032) | 76 backend + 54 responder tests in PR #9 CI, verified again at merged-main [CI 40273628271](https://github.com/LE0ST/tasklane/actions/runs/40273628271) (4/4 passed) | | Containerization | [Dockerfile](../Dockerfile), [one-command Compose](../docker-compose.yml) | Base stack includes local PostgreSQL 16; optional observability is a separate overlay | -| Deployment | [Render public URL](https://tasklane-app.onrender.com), [operations runbook](operations-runbook.md) | Recorded Render `live` at `946b582`, CI 40287182535 passed 4/4 and public `/health` returned healthy; no production write probes | +| Deployment | [Render public URL](https://tasklane-app.onrender.com), [operations runbook](operations-runbook.md) | Render `live` at current candidate `dd9a526`; CI 40289231699 passed 4/4. Public health response is documented for earlier `946b582`; no production write probes | | CI/CD | [Actions workflow](../.github/workflows/ci.yml), Render `main` autoDeployTrigger=`checksPass` | Automatic production deployment; **no separate staging environment or manual production promotion** is claimed | | Observability | [OTel guide](observability.md), [PR #7](https://github.com/LE0ST/tasklane/pull/7) | Local-only Prometheus/Loki/Tempo/Grafana, not production telemetry | | Alerting on User Impact | [PR #8](https://github.com/LE0ST/tasklane/pull/8), [incident drill](incident-drill.md) | Real task endpoint 503, metric/log/trace and Grafana firing→resolved; no production fault injection | @@ -35,14 +35,14 @@ The [official course project rubric](https://github.com/DataTalksClub/ai-dev-too ## Verified production infrastructure — read-only -- **Render:** Web Service `tasklane-app`, Docker runtime, branch `main`, auto-deploy on passing checks (`checksPass`). Recorded deployment: `946b582510219532d0d1e44ba8510f5ca50997e9`, `live` (deploy `dep-dbfg9o2jnfac73ens3fg`, completed October 26, 2026 at 07:45 UTC). Public `/health` returned `{"status":"healthy"}` in the same [verification recorded in Issue #5](https://github.com/LE0ST/tasklane/issues/5#issuecomment-6410875915). No new production probe is claimed by this documentation patch. +- **Render:** Web Service `tasklane-app`, Docker runtime, branch `main`, auto-deploy on passing checks (`checksPass`). Astra's read-only check recorded current candidate `dd9a52696a961f58d2c5064a926b2c8082a333cf` as `live` (deploy started October 26, 2026 at 08:04:19 UTC and completed at 08:04:47 UTC). [CI 40289231699](https://github.com/LE0ST/tasklane/actions/runs/40289231699) passed 4/4. The earlier public `/health` success at `946b582` is in [Issue #5](https://github.com/LE0ST/tasklane/issues/5#issuecomment-6410875915); no newer health probe is claimed. - **Neon:** PostgreSQL 16, project `tasklane`, branch `import`, database `neondb`. Read-only SQL aggregates through October 26, 2026 returned `total=2`, `migration_check=1` for title `NEON-MIGRATION-CHECK-20261023`, and Alembic revision `1ea1353bfe87`. - **Former Render PostgreSQL:** Historical migration comparison was recorded earlier; the source database had an October 24 expiry and its present accessibility and current row count were **not** reverified. **Do not claim that it remains an available backup.** - Neither query changed Render application settings, Neon rows, production schema, or secrets. The actual production `DATABASE_URL` is never printed or committed. ## Truthful evidence and governance boundaries -- The verified submission candidate is `946b582510219532d0d1e44ba8510f5ca50997e9`, after merged PRs #10 and #11. Course submission remains **unverified**. If choosing a later documentation revision, record its exact merged SHA after its own checks; do not confuse a feature-branch HEAD with its squash-merge commit. +- The current verified submission candidate is `dd9a52696a961f58d2c5064a926b2c8082a333cf`. Course submission remains **unverified**. If choosing a later documentation revision, use its exact merged SHA after its own checks; do not confuse a feature-branch HEAD with its squash-merge commit. - The Codex adapter exists in the merged local diagnostic code, but **live write-capable Codex remains disabled/unverified**. Non-root, `cwd` and environment filtering do not make an independent OS-level sandbox. - A full on-call AI code-fix demonstration requires separately reviewed enforced isolation, maintainer authorization and actual model-authored diff + restored running HTTP service. No such result is claimed. - GitHub shows PRs under the authenticated maintainer account. Agent roles describe work allocation, not separate GitHub identities or accounts. diff --git a/docs/operations-runbook.md b/docs/operations-runbook.md index 075d4d1..2ab5d89 100644 --- a/docs/operations-runbook.md +++ b/docs/operations-runbook.md @@ -1,6 +1,6 @@ # TaskLane — Deployment, Continuity and Rollback Runbook -**Scope:** educational public demo + production-safe read-only verification. **Recorded verified source baseline:** commit `946b582` after PRs #10 and #11; Render Docker Web Service `tasklane-app` on `main`; Neon PostgreSQL 16 branch `import`, database `neondb`. +**Scope:** educational public demo + production-safe read-only verification. **Current verified candidate:** commit `dd9a52696a961f58d2c5064a926b2c8082a333cf`; Render Docker Web Service `tasklane-app` on `main`; Neon PostgreSQL 16 branch `import`, database `neondb`. ## 1. Reproduce locally without touching production @@ -26,10 +26,10 @@ docker compose -f docker-compose.yml -f docker-compose.observability.yml down ## 2. CI/CD and public health verification -- GitHub Actions CI runs on pull requests to `main` and commits pushed to `main`. Four jobs cover frontend bundle, backend/PostgreSQL migrations/tests, Docker/Playwright and local OpenTelemetry/Grafana real 503 alert lifecycle. The [merged-main Actions run 40273628271](https://github.com/LE0ST/tasklane/actions/runs/40273628271) passed 4/4 jobs for `7c73446`; Render subsequently reported that same deploy as `live`. +- GitHub Actions CI runs on pull requests to `main` and commits pushed to `main`. Four jobs cover frontend bundle, backend/PostgreSQL migrations/tests, Docker/Playwright and local OpenTelemetry/Grafana real 503 alert lifecycle. Latest verified `main`: [Actions run 40289231699](https://github.com/LE0ST/tasklane/actions/runs/40289231699) passed 4/4 for `dd9a52696a961f58d2c5064a926b2c8082a333cf`; Astra's read-only Render check confirmed its matching deploy `live`. Earlier run 40273628271 remains evidence for the `7c73446` on-call change. - Render service `tasklane-app` is wired to GitHub `main` and configured with `autoDeployTrigger=checksPass`. **No distinct staging promotion gate is configured or claimed.** The Docker entrypoint serves app HTTP; health path is `/health`. - Public demo: [https://tasklane-app.onrender.com](https://tasklane-app.onrender.com); API documentation: [https://tasklane-app.onrender.com/docs](https://tasklane-app.onrender.com/docs). Free-plan cold starts may delay health responses. **Do not insert synthetic incident headers or write probes into production**. -- The October 26 [verification recorded in Issue #5](https://github.com/LE0ST/tasklane/issues/5#issuecomment-6410875915) records `946b582` as `live` (deploy `dep-dbfg9o2jnfac73ens3fg`), [CI 40287182535](https://github.com/LE0ST/tasklane/actions/runs/40287182535) 4/4 successful, and an independent public `/health` response of `{"status":"healthy"}`. No app rollback or production write probe was executed. Later commits require new verification; deploy status alone does not substitute for a public HTTP probe. +- The earlier October 26 [verification recorded in Issue #5](https://github.com/LE0ST/tasklane/issues/5#issuecomment-6410875915) records `946b582` as `live` and its public `/health` response as `{"status":"healthy"}`. The current candidate `dd9a52696a961f58d2c5064a926b2c8082a333cf` passed [CI 40289231699](https://github.com/LE0ST/tasklane/actions/runs/40289231699) and was read-only verified `live` on Render; no fresh public health probe was made for that later SHA. No rollback or production write probe was executed. ## 3. Neon connection and persistence verification (read-only) diff --git a/docs/submission-checklist.md b/docs/submission-checklist.md index 49c22d6..9850f3a 100644 --- a/docs/submission-checklist.md +++ b/docs/submission-checklist.md @@ -7,8 +7,8 @@ - Repository: [https://github.com/LE0ST/tasklane](https://github.com/LE0ST/tasklane) - Public demo: [https://tasklane-app.onrender.com](https://tasklane-app.onrender.com) - API documentation: [https://tasklane-app.onrender.com/docs](https://tasklane-app.onrender.com/docs) -- **Recorded verified baseline:** `946b582510219532d0d1e44ba8510f5ca50997e9` (squash PR #11), after documentation PR #10 (`300f4e1`). [CI 40287182535](https://github.com/LE0ST/tasklane/actions/runs/40287182535) passed 4/4 and the matching Render deployment was live. -- **Verified submission candidate:** `946b582510219532d0d1e44ba8510f5ca50997e9`. Saving it on the course platform remains unverified. If selecting a later revision, use its exact merged SHA after its own CI/deploy checks. +- **Earlier verified baseline:** `946b582510219532d0d1e44ba8510f5ca50997e9` (squash PR #11), after documentation PR #10 (`300f4e1`); [CI 40287182535](https://github.com/LE0ST/tasklane/actions/runs/40287182535) passed 4/4, and its matching Render deployment was live. +- **Current verified submission candidate:** `dd9a52696a961f58d2c5064a926b2c8082a333cf` (`main` on October 26, 2026). [CI 40289231699](https://github.com/LE0ST/tasklane/actions/runs/40289231699) passed 4/4 and Astra verified Render `live` at the same SHA. The new SHA did not receive a separate public `/health` probe. Saving the candidate on the course platform remains unverified. If selecting a later revision, use its exact merged SHA after its own CI/deploy checks. - Merged on-call diagnosis-only responder: [PR #9](https://github.com/LE0ST/tasklane/pull/9), premerge HEAD `244e58c`, squash `7c73446` in `main`; **no real AI-generated repair**. - Documentation/evidence changes belong to Issue #5 and require their own review and explicit maintainer merge approval. @@ -27,7 +27,7 @@ - [x] Verify merged-main [CI 40273628271](https://github.com/LE0ST/tasklane/actions/runs/40273628271) passed 4/4 and Render deploy `dep-dbfe8kuk1f9s7386g05g` is `live` at `7c73446`; Neon read-only totals unchanged (2 tasks, 1 migration check; Alembic `1ea1353bfe87`). - [x] Merge Issue #5 documentation PRs #10 and #11 with maintainer authorization; baseline `946b582` passed [CI 40287182535](https://github.com/LE0ST/tasklane/actions/runs/40287182535), 4/4. - [x] Verify public `/health` returned healthy at baseline `946b582`, without production task writes; see [verification recorded in Issue #5](https://github.com/LE0ST/tasklane/issues/5#issuecomment-6410875915). This is a health check, not a new full UI workflow test. -- [ ] Record final `main` commit SHA and linked Actions deployment evidence in submission. +- [x] Record verified candidate SHA `dd9a52696a961f58d2c5064a926b2c8082a333cf` and linked CI/Render evidence above; actual course submission is still pending. - [x] Verify Project 1 deadline against the **authenticated maintainer account**: **October 26, 2026 at 18:00 in the account's configured timezone**. The logged-out public preview instead displayed 23:00 in a different viewer timezone. Follow the authenticated time, not the public preview. [Course page](https://courses.datatalks.club/ai-dev-tools-2026/project/project1). - [ ] Complete course-platform submission while logged in, and save proof of submission. - [ ] **Complete three required peer reviews** of other participants on the course platform and retain evidence of each. This is a **pass/fail requirement** according to the official course rubric, not optional extra credit. @@ -39,7 +39,7 @@ Open [Project 1 — course platform](https://courses.datatalks.club/ai-dev-tools | Form field | What to enter | |---|---| | GitHub link to the project | `https://github.com/LE0ST/tasklane` | -| Commit ID | **Exact verified merged commit SHA**; candidate `946b582510219532d0d1e44ba8510f5ca50997e9`, or a later merged revision after its own verification; never a premerge feature-branch HEAD | +| Commit ID | **Exact verified merged commit SHA**; candidate `dd9a52696a961f58d2c5064a926b2c8082a333cf`, or a later merged revision after its own verification; never a premerge feature-branch HEAD | | Learning in public links (optional) | Up to 14 relevant public progress posts; only if already published | | Time spent on project (hours) | The maintainer's actual hours; **do not invent** a number | | FAQ contribution PR or issue URL (optional) | Only an actual qualifying contribution |