Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
10 changes: 5 additions & 5 deletions docs/evidence-traceability.md
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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)

Expand All @@ -27,22 +27,22 @@ 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 |
| On-Call Agent | [Merged PR #9](https://github.com/LE0ST/tasklane/pull/9), [on-call CI](https://github.com/LE0ST/tasklane/actions/runs/40272231320) | **PARTIAL ONLY:** real Grafana alert wakes local read-only responder; deterministic MockAgentAdapter applies a fixture rollback in a separate TestClient/SQLite drill. No LLM-authored code fix, no proven full rubric outcome |

## 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.
Expand Down
6 changes: 3 additions & 3 deletions docs/operations-runbook.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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)

Expand Down
Loading
Loading