Add the session view to the trace page. Read the specimens first, then build the lane strip, the tree, the document, and the inspector from one authored run. The family's plugins must be visible on the records they touch, and the page must read the same run with the family off.
hook / Classic
hook-dsh-test-suggester
Suggests the tests a task should run
Facts
- Package
- @playform/hook-dsh-test-suggester
- Version
- 0.2.1
- Kind
- hook
- Release
- Classic
- Licence
- CC0-1.0
- Directory
- Classic/packages/hook-dsh-test-suggester
What it does
Suggests the tests a task should run.
Conversation
The turn as a document: the calls every plugin page shares, what this package changes in them, and the order its work happens in.
Conversational
Lane
The same run as time: one row per resource, a bar per span, and the clock every record shares. A wait is drawn as an outline, because nothing is busy.
Session
The tree, the document, and the inspector read one record list. The switch at the top of the document changes the face they read, and the run changes with it.
The turn
The same 3 calls on every plugin page, so a reader who moves between plugins stays in the same frame.
| Seq | Call | Outcome |
|---|---|---|
20 | bash ls -la | ok |
21 | write src/index.ts | ok |
22 | read src/index.ts | ok |
Flow
The order this package's work happens in, with the branch that decides it inline, transcribed from the source; the rule it obeys is the last band of Architecture.
- 01
- seam tools/post-execute
why
A judged call settles, after the ccr's prepended listener, and next() is awaited first.
- 02Classify the call probe into the pack's test intents
why
The probe is the tool name plus the arguments JSON, so detection is deterministic.
- 03branch The confidence clears the intent's threshold
why
The score is a sigmoid of the summed weights, so the gate is one number.
- 04branch The workspace pack matches, and a candidate survives the exclusion list
why
A repository without a pack stays silent rather than borrowing this one.
- 05fail abstained ambiguous, no-companions, or foreign-workspace
why
Each abstention is its own line, and no note is built.
- 06Reconcile the package's smoke claims with the tree it has
why
The README counts, the folders, the runner's roster, and the graph's test nodes, read-only.
- 07branch A drift, a cooldown, a dedupe, or the per-turn cap
why
The noise controls gate the reconciliation note exactly like an intent note, and agent/pre-step resets the counter when a user message enters.
- 08pass Prepend one additionalContexts notice, and leave the content alone
why
A ccr-compressed result is untouched, because the hook never replaces content.
- 09store ~/.dsh/playform/hook-dsh-test-suggester.log
why
Every activation, refusal, and suggestion is one line.
Harness
The laws the package states, the line it writes when it loads, the seam the harness dispatches with none of the family, and the surface and knobs a run can set.
Default
What the harness does at this package's seam with none of the family installed, so the surface below has something to be a difference from.
The harness dispatches tools/post-execute as a waterfall and already has listeners there: claude-code-mods, hooks-claude-code, hooks-codex, repeat-tool-reminder, spill-policy, tool-fs-search.
A waterfall listener receives the payload and may return a changed one, so the harness's own listeners can already change what the model reads. This package adds another listener to that list.
Surface
Every listener, tool, service, and knob the README documents.
No surface
The README documents no listener, tool, service, or configuration, so this package registers nothing a page can list.
Install
The package as the profile adds it.
pnpm add @playform/hook-dsh-test-suggesterConfiguration
Every knob this plugin documents, with its default.
No configuration
The README documents no knob, so the package reads no field and takes no option.
Family
The neighbours at the same seam, the arms beyond it, the twin in the other release tree, and the packages this one needs.
Neighbours
The behavior map lists 10 answers at tools/post-execute, in the order the family registers them.
| Answer | Effect | Position |
|---|---|---|
| hook-dsh-ccr | rewrite | neighbour |
| hook-dsh-comment-filter | rewrite | neighbour |
| hook-dsh-convention-suggester | advise | neighbour |
| hook-dsh-doc-suggester | advise | neighbour |
| hook-dsh-edit-suggester | advise | neighbour |
| hook-dsh-graph-suggester | advise | neighbour |
| hook-dsh-replay-suggester | advise | neighbour |
| hook-dsh-search-suggester | advise | neighbour |
| hook-dsh-test-suggester | advise | this package |
| hook-dsh-tool-coach | advise | neighbour |
Arms
The seams its source also registers, beyond the one its README documents.
- agent/pre-step
Twin
The same package in the other release tree, when one exists.
Its twin is ets-hook-dsh-test-suggester.
It registers the same listeners in the same order and composes the same ledger strings; the ledger file's name, which carries the package identity, and the factory base import are the only differences.
Dependencies
The packages this one imports, and whether each one is the family's own.
| Package | Role |
|---|---|
| family | |
| family | |
| family |
Person
What the person waits for, reads, and never sees.
The person sees the note arrive as context rather than as content, so the result it is about reads exactly as it did before.
Architecture
This plugin's own structure: the shape the portrait gives it, the facts its source documents, and the rule its flow obeys.
Shape
Plugs into the tools/post-execute waterfall, the agent/pre-step reset, and the pack's test domain.
The test intent answered with a target set before the search finishes.
- Classifies a search call into the pack's test intents, from the tool name and the arguments
- Names the suite, the README, the runner, and the badge a test task usually touches
- Reconciles a package's smoke claims with the tree it actually has, read-only
- Abstains rather than guesses: an ambiguous call, a missing companion, and a foreign workspace each have a line
Its shape machine belongs to Person.
Record
The release line, the source, and the files this page was read from.
Release
The versions the package's own changelog records, newest first.
- 0.3.0
- 0.2.1
- 0.2.0
- 0.1.0
Source
The package as the repository holds it.
Origin
The files this page was built from, and what each one supplies.
The files this page was read from 5
| File | Contributed | State |
|---|---|---|
| package.json | The name, the version, the private flag, and the dependencies. | read |
| README.md | The summary, the surface table, and the configuration table. | absent |
| CHANGELOG.md | The release lines and their versions. | read |
| cordis.patch.yml | Activation: the bundle entry that mounts the plugin. | read |
| Source/Function/Apply.ts | The listeners, their registration order, and the service the flow calls. | read |
- Data
- The monorepo, read during the build
- Connection
- Build-time read; nothing is fetched at runtime
- Capture
- package.json, README.md, CHANGELOG.md, Source/Function/Apply.ts
Expand provenance source
This page is static. It cannot invoke the plugin, read a ledger, or change a configuration. Every figure comes from those files; a missing README falls back to the manifest's own description, and a package with no surface table shows no surface section.