M3b plan: task 11 gives Podman::egress_dir(), so the field is read

Without it the field was never read in task 11, clippy's dead_code failed the
gate, and #[allow] is forbidden; the implementer stopped on the dilemma.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-23 07:16:56 -07:00
co-authored by Claude Opus 5.5
parent 49ac8d72d2
commit 4458369d64
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -35,6 +35,9 @@ pub struct Podman { /* runner: Runner, egress_dir: PathBuf, log: Log, next: Atom
impl Podman { impl Podman {
/// `egress_dir` is `Config::egress_dir()`; task 12 uses it. /// `egress_dir` is `Config::egress_dir()`; task 12 uses it.
pub fn new(runner: Runner, egress_dir: PathBuf, log: Log) -> Podman; pub fn new(runner: Runner, egress_dir: PathBuf, log: Log) -> Podman;
/// Where `http_fetch` calls get their directories. Nothing in this task calls it; it is public,
/// so the field counts as read and clippy's `dead_code` does not fire. Do not add `#[allow]`.
pub fn egress_dir(&self) -> &Path;
} }
impl Runtime for Podman { impl Runtime for Podman {
fn run(&self, spec: &RunSpec) -> Result<RunOutput, RunError>; fn run(&self, spec: &RunSpec) -> Result<RunOutput, RunError>;
+4
View File
@@ -65,6 +65,10 @@ At the end: `make gate` prints `gate: ok` with about 638 tests.
`egress-proxy` never matched; and `serve` joined each handler thread, serving one connection at a `egress-proxy` never matched; and `serve` joined each handler thread, serving one connection at a
time. The attempt is saved in `.state/runs/M3b/08-first-attempt.diff`; the tree was reset, and the time. The attempt is saved in `.state/runs/M3b/08-first-attempt.diff`; the tree was reset, and the
task now says both things explicitly and to debug inside the repository. Resume from task 08. task now says both things explicitly and to debug inside the repository. Resume from task 08.
- 2026-09-23, task 11: the session ended in deliberation, with nothing written. The task stored
`egress_dir` for task 12 but gave nothing that read it, so clippy's `dead_code` would fail the
gate and `#[allow]` is forbidden: a task that could not be written as described (tip T16). The
reference had a public `egress_dir()` getter; the task now gives it. Resume from task 11.
## Running it ## Running it