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-workspace-approve
Binds an approved proposal to its execution
Facts
- Package
- @playform/hook-dsh-workspace-approve
- Version
- 0.2.1
- Kind
- hook
- Release
- Classic
- Licence
- CC0-1.0
- Directory
- Classic/packages/hook-dsh-workspace-approve
What it does
Binds an approved proposal to its execution.
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 an approved binding at its bound version
- Transcript invalidated ap-2 (version changed)
40 character changed, from 40 to 34.
- Property
- An approval binding
- Knob
- enabled, off in the bundle patch
- Seam
- fs/observed
This package ships disabled: the left side of the pair is what the harness does with the package installed but inactive, and enabling it is one line in the profile's bundle patch.
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.
- 01bind: the exact candidate, with its path, its fingerprint, its version, and its constraints
why
An approval binds the concrete change set, never a fuzzy intent.
- 02fail Rejected: an incomplete identity, or constraints required and missing
why
The binding never becomes pending.
- 03approve or deny: the decision lands on the pending binding, with the commitment
why
The constraints travel with the approval rather than being re-read at check time.
- 04branch The constraint set changed at approval time
why
A changed set is a rejection, because an amendment would approve what nobody read.
- 05fail Rejected, and the binding keeps its decision
why
The refusal is its own ledger line.
- 06
- seam fs/observed
why
The invalidation listener hears every observed write on the root context.
- 07branch An observed version differs from the one the approval bound
why
A pending or approved binding is the only thing it looks at.
- 08fail invalidated <id> (version changed)
why
The binding stops covering the file, and the merge side will see stale.
- 09check: an approved binding must cover the exact fingerprint, at the bound version
why
The check validates the implementation; the authority licensing happened earlier.
- 10fail unbound, the binding's own decision, or stale
why
Each answer is its own decision rather than a single refusal.
- 11pass approved: the merge side derives its AuthorizationDecision
why
An intent must not authorize its own means, so this grants nothing by itself.
- 12store workspace_approve: one record per binding, and a bounded ring
why
The sequence is the plugin's own counter, never a wall clock.
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 fs/observed as a emit and already has listeners there: fs-observation-policy, skill-filesystem, workspace-files.
An emit listener observes a fact that already happened, so the harness's own listeners can record it and cannot change it. This package records beside them, or acts on the world rather than on the payload.
Surface
Every listener, tool, service, and knob the README documents.
| Kind | Name | What |
|---|---|---|
| service | ctx.workspaceApprove | ctx.workspaceApprove (the table below) is the only programmatic surface. |
| listener | fs/observed | invalidation listener (heard on the ROOT context through the factory's Wire) is a synchronous recorder. |
| config | workspace_approve | KV storage domain is workspace_approve (config domain). |
| tool | ctx.workspaceApprove | There is no tool and no provided service beyond ctx.workspaceApprove. |
Install
The package as the profile adds it.
pnpm add @playform/hook-dsh-workspace-approveConfiguration
Every knob this plugin documents, with its default.
| Field | Type | Default | Meaning |
|---|---|---|---|
| read | auto | write | approve |
| index | auto | commit | approve |
| record | auto | spawn | approve |
| suggest | auto | message | auto |
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 9 answers at fs/observed, in the order the family registers them.
| Answer | Effect | Position |
|---|---|---|
| hook-dsh-cargo-governor | rewrite | neighbour |
| hook-dsh-package-governor | rewrite | neighbour |
| hook-dsh-package-pinner | rewrite | neighbour |
| hook-dsh-workspace-approve | record | this package |
| hook-dsh-workspace-audit | record | neighbour |
| hook-dsh-workspace-journal | record | neighbour |
| hook-dsh-workspace-merge | rewrite | neighbour |
| hook-dsh-workspace-monitor | record | neighbour |
| hook-dsh-workspace-observe | record | neighbour |
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 ets-hook-dsh-workspace-approve.
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 |
Person
What the person waits for, reads, and never sees.
The person sees the effect and not the record: the line that testifies to what happened sits in a file, and the page prints the line rather than a screen that shows it.
The source records no verdict table for this package, so no gate machine is drawn; the branch it takes is in the flow above.
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 workspaceApprove service and the fs/observed invalidation listener.
The exact human approval: a candidate bound by fingerprint and version.
- Binds the concrete change set, with its constraints traveling beside it
- Rejects a changed constraint set at approval time rather than amending it
- Invalidates a binding when the file is observed at a different version
- Answers a check with approved, unbound, the binding's own decision, or stale
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. | 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.