Skip to content

test(framework): a diagnostic that proves the chain fires, and a period that has met a hundred sessions #694

Description

@blafourcade

As someone who turned measurement on
I want to know it is actually recording, and to trust a figure over a real stretch of time
So that an installation that reports itself healthy while producing nothing is impossible rather than merely unlikely

Why now

Everything shipped is verified and none of it has met load. 2614 CLI tests, 177 hook tests and two live probes — against three sessions at most, and a task tree of a handful of files.

"It scales" is currently a hope.

And #617 owns the diagnostic. It is deliberately sequenced after coverage: written before #681 and #680, it would spend its time reporting the two failures already known.

What this holds

A diagnostic#617's substance, restated against what now exists. Not "is the switch on" but the four questions in order, each with a distinguishable answer:

Question Broken looks like
Is the hook registered? the switch is on, sessions run, and no run file appears
Is a session journalled? a run file exists but carries only session_start
Can the tool's own files be read? no session found for every tool while the journal names sessions
Do the two join? records stored, every one of them unattributed

A period that has met a hundred sessions. Build a sink holding a year of day files and a hundred journalled sessions, then measure and write down: the period read, the sweep, and the turn-end walk over a real task tree. Nothing here has been run against more than three.

A budget for the turn-end walk. The observed pass walks aidd_docs/tasks once per turn, capped at 2000 entries and never measured on a real repository. A cap nobody has timed is a guess with a number on it.

A live multi-step flow. One skill gives two rows. A real SDLC chain gives several, and that is where interval closing, reconciliation across five steps, and interleaved skills stop being unit tests and become observations. Costs one real session on a small task.

Acceptance

  • Each of the four failures above is deliberately induced and named as itself, never answered with a zero.
  • A period holding a hundred sessions answers, and how long it takes is written down rather than assumed acceptable.
  • The turn-end walk is timed on a repository with a real task tree, and its cap is set from that number.
  • A live multi-step flow reports each step separately, and the breakdown reconciles to the total.
  • The diagnostic never reports healthy while producing nothing — the mode the epic exists to make impossible.

Out of scope

Fixing what the diagnostic finds. Naming a failure is this ticket; #681, #680 and #676 own the failures already known.

Relations

Field Value
parent #631
depends_on #681, #680
related #617, #686

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Status
    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions