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.
plugin / EffectTS
ets-plugin-dsh-lesson-review
Turns a finished turn into a lesson
Facts
- Package
- @playform/ets-plugin-dsh-lesson-review
- Version
- 0.2.1
- Kind
- plugin
- Release
- EffectTS
- Licence
- CC0-1.0
- Directory
- EffectTS/packages/ets-plugin-dsh-lesson-review
What it does
Turns a finished turn into a lesson.
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 the nudge hook calls Review from the idle phase
why
The service owns the review, and never the trigger.
- 02digest: the conversation snapshot, a verbatim tail, older turns collapsed, a hard cap from the front
- 03ask once with the constant prompt
- 04parse the reply strictly as one JSON object with five operation kinds
- 05judge every operation: class-level name, no incident narration, no bare negative, read-before-write, pins
- 06branch the write verdict is approve
why
The accepted operation is queued, so nothing reaches the corpus unasked.
- 07branch the judge refuses an operation
why
It is reported, and never applied.
- 08apply through the guarded corpus write, with the exact-file fence
- 09report the run in run.json and REPORT.md, and write one ledger line
- 10Curate: active to stale to archived, with the pinned, the foreign, and the unused protected
- 11store ~/.dsh/lesson/reports, and the pending queue
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.
No documented seam
The behavior map does not document a seam for this package, so the page cannot show a default to compare against. It is a library, a base, or a package whose work is a tool rather than a listener.
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/ets-plugin-dsh-lesson-reviewConfiguration
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 documents no seam for this package, so it has no neighbour to name at one.
Arms
The seams its source also registers, beyond the one its README documents.
Its source registers no seam beyond the one its README documents.
Twin
The same package in the other release tree, when one exists.
Its twin is plugin-dsh-lesson-review.
It registers the same surface under the other runtime, and the two trees differ in the wiring: the Effect tree returns Effect envelopes where this one returns the dispatch envelope.
Dependencies
The packages this one imports, and whether each one is the family's own.
| Package | Role |
|---|---|
| family | |
| family |
Person
What the person waits for, reads, and never sees.
The person sees the effect of a service another package calls, and the contract itself stays invisible until a caller breaks it.
Its shape machine belongs to Architecture.
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 ctx.lesson service, the review model, and the lesson corpus.
The post-turn self-improvement review: a digest, one ask, a strict parse, and a deterministic judge.
- A digest with a verbatim tail and a hard character cap
- One ask, with the constant prompt
- A strict parse, and a deterministic judge
- Accepted operations queued, because the write verdict is approve
- Configure apply the validated knobs
- Tick advance the nudge counter for one agent
- Reset reset the counter after a review
- Digest the bounded digest: a verbatim tail and a hard character cap
- Prompt the constant review prompt
- Parse the strict reply parse into five operation kinds
- Judge the deterministic acceptance rules
- Snapshot the messages the review reads
- Review one round trip: digest, ask, parse, judge, queue or apply, report
- Curate the token-free lifecycle pass: active to stale to archived
- Status the corpus counts
- Pin protect an entry from the lifecycle pass
- Unpin release an entry back to it
- Restore bring an archived entry back
- Archive rename an entry into the archive directory
- Pending the queued operations waiting for a decision
- Accept apply one queued operation
- Flush await the pending store work
- Save flush the corpus
- hook-dsh-lesson-nudge, which calls it from the idle phase
- the user, through the pending queue
- the corpus, which Accept writes
Rule The service owns the review and never the trigger, and the shipped write verdict is approve, so an accepted operation waits even when the judge would pass it.
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
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.