Run artifact

evidence/prompts/20261024.142035.267Z_drydockstats_plan_codex.prompt.md

<pblock label="Plan artifact repair" kind="repair">

Plan Artifact Repair

Drydock accepted the Plan response shape but rejected the emitted Blueprint artifact(s) below. Repair only the deterministic defect. Preserve all unrelated content, contracts, headings, decisions, and acceptance assertions byte-for-byte where possible. Do not remove or weaken a valid assertion while adding a missing one. Every artifact with a programmatic surface retains at least two concrete Python acceptance assertions. Every DECISIONS.json is the sole decision disclosure surface; do not emit Markdown question sections.

Emit each artifact below in exactly this form, and emit no other text:

=== BEGIN ARTIFACT <FILENAME> === <the complete file body> === END ARTIFACT ===

The filename appears once, in the opening delimiter. The closing delimiter is the constant token above and never carries a name.

Emit exactly one such block for each of: FEATURE-Reports.md.

Repair pass: 1

Deterministic validation defect: FEATURE-Reports.md [reports-conformance]: story report-generation is not the terminal story (cli-delivery) and its acceptance executes the authoritative runner sources/run.sh. Gate this story on its own declared behavior, or invoke the runner in list mode, which enumerates the suite without running a case. FEATURE-Reports.md [model-selection]: story report-generation is not the terminal story (cli-delivery) and its acceptance executes the authoritative runner sources/run.sh. Gate this story on its own declared behavior, or invoke the runner in list mode, which enumerates the suite without running a case.

Normative Compass sections. They bind every assertion you write or retain, including one you add to satisfy the defect above.

Constraints

Guardrails

or a total. Every value comes from the log being read.

Verification Protocol

Story kindCommandAsserts
Every behavioral storysh bin/test.shexit 0
Terminal story (once, last)sh sources/run.shexit 0

<!-- drydock:build-write-guardrail:start -->

Original FEATURE-Reports.md, in the same form your reply must use: === BEGIN ARTIFACT FEATURE-Reports.md ===

FEATURE: CSV Reports

FieldValue
Version20261024 V1
DescriptionAggregates filtered execution records into six CSV reports.
Depends OnFEATURE-LogIntake.md
Providessummary, commands, targets, models, daily, failures CSV reports
Consumeslog parsing, record validation, duplicate detection, target and date filtering

Questions

Purpose

Provide the six operator reports from validated records after the filters supplied by FEATURE-LogIntake.md. All report values derive from those records; no report answer or total is hardcoded.

Behavior

Programmatic Acceptance

=== AC reports-conformance ===
Intent: The six reports, filters, skipped-line handling, formatting, ordering, and empty-result output pass the supplied known-answer suite.
Suite: scoped

import os import subprocess

result = subprocess.run( ["sh", "sources/run.sh"], capture_output=True, text=True, env={**os.environ}, ) print(result.stdout) print(result.stderr, file=import("sys").stderr) assert result.returncode == 0 === END AC reports-conformance ===

=== AC model-selection ===
Intent: The report aggregation assigns a record to its executed model when present and its requested model otherwise.
Suite: scoped

from pathlib import Path import subprocess import sys

result = subprocess.run( ["sh", "sources/run.sh"], capture_output=True, text=True, env={**os.environ}, ) print(result.stdout) print(result.stderr, file=sys.stderr) assert result.returncode == 0 === END AC model-selection ===

User Acceptance

Guardrails

=== END ARTIFACT === </pblock>