Skip to content
Roadmap0/111
not startedstudy day 2 of 6 · covers original day 49

Design production API boundaries

P3 Agent systemS0M4C3C8
not started0/5 blocks
0/5
Jump & context

Week 7: Parameter-Bound Approvals, Inter-Agent Bus, Production Containers & Inference Serving

The five hours

  1. 01

    Concepts & system design

    60 min

    R01 — FastAPI production deployment & dependencies

    R03 — OWASP API8: Security Misconfiguration

    Read the assigned sections; map the mechanism, threat model and trade-offs.

  2. 02

    Project implementation

    120 min

    Design production API boundaries, authentication middleware, DB transaction boundaries, and connection pooling. Package the API and dependencies with Docker Compose.

    Build, integrate, debug and improve the increment in the active project.

  3. 03

    Security lab

    60 min

    Enumerate and threat-model every externally reachable port and HTTP route in the Docker Compose stack.

    Test the abuse case, failure path, authorization bypass or resource limit.

  4. 04

    Verification & evidence

    30 min

    Reproducible Docker Compose setup and endpoint exposure threat matrix.

    Add or run regression tests; record the 9-point evidence record.

  5. 05

    Deliberate practice & Socratic review

    30 min

    Answer the 8 Socratic questions without notes: What? Why? How? What if? Why not? How can I prove it? Where can it break? What have I learned?

    Re-explain the hardest concept aloud, inspect one edge case, update the gap log.

  6. total5 h

Read today · inside the concepts block

R01 R03

Read only the named sections needed for today's task. Reading sits inside the 60-minute concepts block; it is not extra time.

Free resources for this day

5 curated

Evidence record · 9-point standard

0/9

A lab is complete only when it produces evidence. Installing PyRIT, Garak, Presidio or TransformerLens is not completion. Saved on this device only.

Day notes

empty

The two source formulations

verbatim · nothing summarised

Project & Stage Target

P3 & Shared Infra (C3, C8) | S0, M4

Core Implementation

Design production API boundaries, authentication middleware, DB transaction boundaries, and connection pooling. Package the API and dependencies with Docker Compose.

Security Lab

Enumerate and threat-model every externally reachable port and HTTP route in the Docker Compose stack.

Verification & Evidence

Reproducible Docker Compose setup and endpoint exposure threat matrix.

Read Today (60m Concepts Block)

R01 (FastAPI production deployment & dependencies), R03 (OWASP API8: Security Misconfiguration).

---