How cuttie1979/day3-repo works
This repository is session material for teaching test-first, spec-driven development and context engineering. Its executable demonstration compares a deliberately flawed AES implementation with a hardened implementation behind the same public API: learners run round-trip and property tests to see what tests reveal, then inspect protections supplied by types and crypto crates. The graph covers the demo’s runtime selection and crypto behavior; research and prompt materials are supporting session content, not runtime components. Evidence is limited to the README and the excerpted Rust sources.
Main entry points: lib.rs Public API and errors · naive.rs Naive AES-CBC · hardened.rs Hardened AES-GCM · research Research outputs
Components 10
Demo API
- Public API and errors
rust-aes-demo/src/lib.rs
Crypto implementations
- Naive AES-CBC
rust-aes-demo/src/naive.rs - Hardened AES-GCM
rust-aes-demo/src/hardened.rs
Session materials
- Session materials
- Research outputs
research - Slide prompts
prompts - Itinerary and criteria
itinerary.md
Other components
- Learner
- Crypto crates
- Feynman DeepResearch
Connections 10
- Learner → Public API and errors: uses
rust-aes-demo/src/lib.rs - Public API and errors → Naive AES-CBC: selects default
rust-aes-demo/src/lib.rs - Public API and errors → Hardened AES-GCM: selects feature
rust-aes-demo/src/lib.rs - Naive AES-CBC → Crypto crates: uses AES and RNG
rust-aes-demo/src/naive.rs - Hardened AES-GCM → Crypto crates: uses AEAD and secrets
rust-aes-demo/src/hardened.rs - Learner → Session materials: studies
README.md - Session materials → Research outputs: includes
README.md - Session materials → Slide prompts: includes
README.md - Session materials → Itinerary and criteria: directs work
README.md - Feynman DeepResearch → Research outputs: produces outputs
README.md