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
30 changes: 30 additions & 0 deletions docs/architecture/08-crosscutting-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,36 @@ metric.

The decision is ADR-021.

### 8.7.6 When the map is read

A map arm points the agent at a template when the work first touches its
topics. The report reads from each trial's transcript when that happened
(FR-12-14), and from round 5e on how each template's first read stands to
the first write on its topics (FR-12-19). Secondary: no verdict rests on it.

```text
read, then a write on its topics just in time
a write on its topics, then read late
a write on its topics, no read never
no write, no read unused
read, no write spare
no globs unmapped
```

**Rules**

| # | Rule | In practice | Requirement |
| - | ---- | ----------- | ----------- |
| 1 | The topics are fixed first | `tests/efficacy/template-topics.json` gives each template of the chain path globs, fixed before the round's first trial; a script, not a reader, finds the first file on a template's topics | FR-12-19 |
| 2 | No natural path, no class | A template with no globs, a general quality one say, is unmapped | FR-12-19 |
| 3 | A subagent counts, apart | Its reads and loads count at the turn that delegated to it, and are reported beside the session's | FR-12-19, FR-12-20 |
| 4 | Each task on its own | The build and the change task are timed apart, each from its own transcript | FR-12-19 |
| 5 | File tools only | Only a file tool's write is placed on a topic; a file written only by a shell command is not, and the share of trials that wrote by shell before their last placed write is printed as the measure's limit | FR-12-19 |
| 6 | Inside the workspace | A path is normalised first; one outside the workspace, past it by `..`, or in the vendored templates is on no topic | FR-12-19 |
| 7 | Skills loaded, by turn | Every arm with skills lists each skill loaded; `skills` sits beside `inline` on the hidden tests and the judge's security and data-protection rows | FR-12-20 |

The tables per arm go in the appendix, the rows per trial in the record.

## 8.8 Records

Every stage writes what it did beside what it made, so any figure can be
Expand Down
2 changes: 2 additions & 0 deletions docs/coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ when:
| FR-12-16 | Self-test | `report.py` "an ISO-read arm's verdict is worse on an axis worse, better on one better with none worse, and no clear gain otherwise"<br>`report.py` "the plain words name the axes behind an ISO-read verdict"<br>`report.py` "the summary's axis table of an ISO-read run is the ISO radar's, marked as the chart is" |
| FR-12-17 | Self-test | `report.py` "the ISO screen drops an arm worse on an axis, ranks the rest by axes better and then by cost, and keeps four"<br>`report.py` "an axis no target measures neither holds nor moves the ISO screen"<br>`report.py` "an axis that lists targets but has no reading yet holds the ISO screen"<br>`report.py` "the ISO screen names the arms round 6 runs and the axis that put one out" |
| FR-12-18 | Self-test | `report.py` "a pilot round read by the ISO radar is only a draft, never in or under docs/reports/, and keeps its aggregate beside the registered one"<br>`report.py` "a pilot round read by the ISO radar says it is post hoc and that its axes decide"<br>`report.py` "a run read by the ISO radar refuses a cross-check, whose withheld rows its markers would still count" |
| FR-12-19 | Self-test | `report.py` "the topic map names every template of the round's chain, by the id its skill carries and the path its copy is vendored at, each with its globs"<br>`report.py` "a topic glob's ** stands for any directories, none included, and * and ? for no slash"<br>`report.py` "a template read before the first write on its topics is just in time, and one read only after it is late"<br>`report.py` "a template whose topic was written and never read is never, one never read with its topic unwritten is unused, one read with its topic unwritten is spare, and one with no globs is unmapped"<br>`report.py` "a file tool's write is placed on its topic, one written only by a shell command is not, and the shell calls that wrote before the last write placed on a topic are counted"<br>`report.py` "a file outside the workspace, past it by .., absolute or relative, or in the vendored templates, case aside, is on no topic"<br>`report.py` "a change task the re-scan left out is not timed, and its clean build still is"<br>`report.py` "a subagent's read or load counts at the turn that delegated, kept apart from the session's"<br>`report.py` "a change task's reads are timed apart from its build's, from its own transcript"<br>`report.py` "a section file read counts as its template's read, and so does a skill's file read in place of loading it"<br>`report.py` "two section files of one template read before the first write count as one template, read and before it"<br>`report.py` "the appendix gives per arm and task the templates read, those before the first write, those a subagent read and each class's share, and per skill arm the skills loaded"<br>`report.py` "the record lists each trial's templates by class with their read and write turns, and each skill loaded with its turn"<br>`report.py` "the aggregate keeps each trial's read timing" |
| FR-12-20 | Self-test | `report.py` "every skill loaded is listed with its turn and whether a subagent loaded it, for each arm with skills, and an arm whose map is not the chain times no template"<br>`report.py` "skills is set beside inline on the hidden tests and the judge's security and data-protection rows, with no verdict mark, and not where inline did not run" |
| FR-12-21 | Self-test | `report.py` "the report loads a trial's quality reading beside its security reading"<br>`report.py` "a lost quality probe reads failed, a missing one not measured"<br>`report.py` "every reading the quality reader files reads as its target: lost fails, missing or a gone tree is not measured"<br>`report.py` "the latency target is not measured until its cutoff is registered, then met within it" |
| FR-12-22 | Self-test | `report.py` "a module passes whole only where no check failed, errored or was skipped"<br>`report.py` "a module absent from a report is not measured only where the suite's revision did not hold it"<br>`report.py` "a suite the build held past its time fails every module, and one never run is not measured" |
| FR-12-23 | Self-test | `report.py` "a pilot round read by the ISO radar keeps the targets it had before round 6, unless round 6's are asked for"<br>`report.py` "round 6's targets are refused where no pilot draft reads them" |
Expand Down
2 changes: 2 additions & 0 deletions docs/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@
| FR-12-16 | From round 6 the benchmark shall give each approach its verdict from the ISO radar's axes: Yes where an axis is better and none worse, Worse where any is worse, No where none moved; and the summary's axis table shall be the ISO radar's. | Report |
| FR-12-17 | The benchmark shall screen round 6's candidates on the ISO radar's axes: out on an axis worse, the rest ranked by axes better and then by mean cost, the top four kept; an axis no target measures shall neither hold nor move it, and an axis that lists targets but has no reading yet shall hold it. | Report |
| FR-12-18 | The benchmark shall read a pilot round by the ISO radar only as a draft that says it is post hoc, never under `docs/reports/`, and keep its aggregate beside the registered one; a run read by the ISO radar shall take no cross-check. | Report |
| FR-12-19 | The benchmark shall time, per trial and per task of an arm whose map is the templates' chain, each template's first read, by the session or apart by a subagent, against the first write by a file tool to a file inside the workspace on its topics, as the topic map fixed before the round names them by path, and class it just in time, late, never, unused, spare or unmapped, with the share of trials that wrote by shell before their last write placed on a topic. | Report |
| FR-12-20 | The benchmark shall list, per trial and per task of an arm with skills, each skill loaded and its turn, a subagent's apart, and set `skills` beside `inline` on the hidden tests and the judge's security and data-protection rows, with no verdict. | Report |
| FR-12-21 | From round 6 the benchmark shall load each trial's quality reading beside its security reading and read each quality probe as an ISO target: a lost probe fails, a missing one is not measured, and the latency target is not measured until its cutoff is registered. | Report |
| FR-12-22 | From round 6 the benchmark shall read functional correctness as one target per hidden-suite build module, met only where every check in it ran and passed; a module the trial's report lacks is not measured where the suite's revision did not hold it, and not met where it did; a suite that ran out of time fails every module. | Report |
| FR-12-23 | The benchmark shall read a pilot round by the ISO radar with the targets it had before round 6, and by round 6's only where asked, refusing that request where no pilot draft would read it. | Report |
Expand Down
Loading
Loading