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 / Classic
plugin-dsh-batch-edit
Applies a batch of edits as one reviewed change
Facts
- Package
- @playform/plugin-dsh-batch-edit
- Version
- 0.2.1
- Kind
- plugin
- Release
- Classic
- Licence
- CC0-1.0
- Directory
- Classic/packages/plugin-dsh-batch-edit
What it does
Applies a batch of edits as one reviewed change.
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 |
Change
The one line that differs with this package installed, transcribed from its source by the dissection.
- Model a.txt holds hello then world
- Transcript a.txt holds hello then HI, diff - world + HI
21 character changed, from 5 to 21.
- Property
- A batched atomic edit
- Knob
- policy.write, refuse by default
- Seam
- tools/pre-execute
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 batch_edit, action=open
why
The scope is declared, and each path is inserted as a process at its observed version.
- 02validate the prepared schema
why
Searches and operations are checked fail-loud, and a miss is listed rather than guessed.
- 03
- seam batch_edit, action=commit
why
The transition table is about to run.
- 04branch Decide on the policy's write verdict
why
The shipped verdict is approve, so the apply is refused with the policy line, and nothing is read or written.
- 05plan each file's operations
why
A planning failure halts or errors that file alone.
- 06Write through the executor, with the fresh-stat version guard and the govern marker
why
Every write goes through the executor and nothing else.
- 07branch a held file was touched externally
why
It halts with the stale reason, the machine stays open, and the agent resumes explicitly.
- 08branch a write fails
why
The loop stops, and the unwritten remainder returns to observed.
- 09settle: applied, failed, and halted per file, then the machine's committed line
- 10store ~/.dsh/playform/plugin-dsh-batch-edit.log
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/plugin-dsh-batch-editConfiguration
Every knob this plugin documents, with its default.
| Field | Type | Default | Meaning |
|---|---|---|---|
| enabled | false | The master switch | |
| log | true | The ledger switch (the factory's shared volatile cell) | |
| logFile | ~/.dsh/playform/plugin-dsh-batch-edit.log | The module ledger | |
| machinesPerAgent | 2 | Open machines per agent | |
| opsPerCommit | 64 | Op lines per commit (overflow goes to opfile) | |
| deadlineMs | 120000 | In-line commit deadline (1000..120000) | |
| strictMode | false | Search-not-found errors vs skips | |
| interceptBash | false | The advisory bash intercept (v1: tags and records, never denies) | |
| monitorChecksets | [] | Per-file check-set names (the live containers' vocabulary, labels in v1) | |
| policy.* | D6 defaults | The per-action allowlist (the apply gate; see above) |
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.
- agent/pre-step
- tools/pre-execute
Twin
The same package in the other release tree, when one exists.
Its twin is ets-plugin-dsh-batch-edit.
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 call and its output; the gate, the fence, and the ledger behind it never reach the transcript.
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 batch_edit tool, the factory's write executor, and the fs/observed event through the factory's Wire.
The batch edit engine: files opened as processes, and one commit that runs a transition table across them.
- Machines opened over globs, each file held at its observed version
- A prepared schema checked fail-loud, and a miss listed rather than guessed
- Every write through the factory's executor, behind the policy's verdict
- A halt on a file that moved, and an explicit resume
The tool is a machine rather than a call: open declares the scope, insert and remove move files in and out, commit runs the table, state re-presents, and close settles.
- batch_edit, action=open
- Takes
- the paths or globs, and the prepared searches and operations
- Returns
- the machine id, the held files with their versions, and a miss listed rather than guessed
- batch_edit, action=insert
- Takes
- the machine id, and more paths or globs
- Returns
- the same machine with the files added, and the lease unchanged
- batch_edit, action=remove
- Takes
- the machine id, and the files to drop
- Returns
- the machine without them, and one removed line per file
- batch_edit, action=commit
- Takes
- the machine id, the transition table, and an optional opfile
- Returns
- one outcome per file, or the typed job id when the inline deadline passes
- batch_edit, action=state
- Takes
- the machine id
- Returns
- every held file, its state, and its version
- batch_edit, action=close
- Takes
- the machine id
- Returns
- the machine closed, after the in-flight files settle
The held file's states are the flow below: observed, running, done, errored, and halted, with an external touch halting the file rather than being overwritten.
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
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. | read |
| 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.