DSH familySearch GitHub

plugin / EffectTS

ets-plugin-dsh-workspace-evidence

Tracks what counts as evidence, and when it goes stale

0.2.1 plugin EffectTS

Facts

Package
@playform/ets-plugin-dsh-workspace-evidence
Version
0.2.1
Kind
plugin
Release
EffectTS
Licence
CC0-1.0
Directory
EffectTS/packages/ets-plugin-dsh-workspace-evidence

What it does

Tracks what counts as evidence, and when it goes stale.

Read the full description in the README.

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.

session 7c41e0a2 | deepseek-v4.1-flash | max | 3 turns | 9 steps | 40 records | simulated

*emit~waterfall=serial>parallel

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.

Turn 1Read the specimens14 records | 3 steps

Step 12 calls, 265 chars

Step 24 calls, 313 chars

Step 33 calls, 153 chars

Turn 2Write the run13 records | 3 steps

Step 43 calls, 174 chars

Step 52 calls, 258 chars

Step 62 calls, 115 chars

Turn 3Repair the run13 records | 3 steps

Step 72 calls, 143 chars

Step 83 calls, 184 chars

Step 92 calls, 123 chars

The turn

The same 3 calls on every plugin page, so a reader who moves between plugins stays in the same frame.

The 3 calls every plugin page shares, in sequence order
SeqCallOutcome
20bash ls -laok
21write src/index.tsok
22read src/index.tsok

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.

  1. 01
    1. seam validate(id, kind, subject, dependencies, verdict)
    why

    One validation object, with the caller's own verdict.

  2. 02
    branch the kind is outside the four
    why

    Refused at the call boundary.

  3. 03
    store the object with its dependencies and the service's own sequence
  4. 04
    1. seam fs/observed, through the factory's Wire on the root context
    why

    A dependency changed.

  5. 05
    branch the event carries the service's own actor, an excluded path, or an absent observation
    why

    Ignored, each with its own line.

  6. 06
    branch the same path carries the same version within the window
    why

    Dropped silently, because that state's pass already ran.

  7. 07
    invalidate(key): one pass over the fresh objects
  8. 08
    mark every object that declares the key stale, and ledger each one
  9. 09
    store the workspace_evidence domain, and the ledger

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.

The surfaces ets-plugin-dsh-workspace-evidence registers
KindNameWhat
servicectx.workspaceEvidencectx.workspaceEvidence (validate, check, invalidate, list, statistics).
listenerfs/observed listener(through the factory's Wire) - the dependency-change seam.
tooltool.No tool.
servicectx.workspaceEvidencectx.workspaceEvidence - validate(id, kind, subject, dependencies, verdict?) records one validation object, check(id) reads its status, invalidate(key) is the explicit Acar seam, and list(status?) and statistics() report.
servicefour kindsof truth (the Representation-First research): reality, observation, representation, intent - different truth claims, different proof. The service owns the taxonomy and validates the kind at the call boundary.
listenerinvalidate(key)evidence dependencies: every validation object declares its dependencies; when a dependency changes (an fs/observed event through the factory's Wire, or an explicit invalidate(key)), every dependent object goes stale in one pass (the incremental-computation principle - the Acar seam). A stale object is never guessed back to fresh, because a revalidation is a new validation object, superseding the old. A repeat event (the same path carrying the same version within the coalescing window) runs no pass and records no line, because that file state's invalidation already ran (the version token identifies the state). The guard (Function/Duplicate, the monitor's clock pattern - no timer, 2 s, the State.Now test seam overrides it) is on the listener only, and the explicit invalidate(key) calls are never coalesced.
servicehonesty rule:the service records the caller's verdict and never invents one. The sequence is the service's own monotonic counter, never a wall clock.

Install

The package as the profile adds it.

Install sh
pnpm add @playform/ets-plugin-dsh-workspace-evidence

Configuration

Every knob this plugin documents, with its default.

Configuration of ets-plugin-dsh-workspace-evidence
FieldTypeDefaultMeaning
enabledfalsethe master switch (the idle-forever posture)
logtruethe ledger switch (shared cell)
logFile~/.dsh/playform/plugin-dsh-workspace-evidence.logthe ledger
domainworkspace_evidencethe KV domain name
maxValidations512the validation ring bound
policy.*D6 defaultsthe per-action allowlist (see below)

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-workspace-evidence.

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.

Dependencies of ets-plugin-dsh-workspace-evidence
PackageRole
@playform/ets-base-dshfamily
@playform/ets-plugin-dsh-factoryfamily

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.workspaceEvidence service, the fs/observed listener through the factory's Wire, and the storage domain.

The validation objects, and the invalidation pass that keeps them honest.

  • One validation with its kind, subject, dependencies, and verdict
  • Every dependent marked stale in one pass
  • A stale object never guessed back to fresh
  • A repeat event dropped silently, on the version token

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.

Open the package source

Origin

The files this page was built from, and what each one supplies.

The files this page was read from 5
The files behind https://github.com/PlayForm/DeepSeek/tree/Current/EffectTS/packages/ets-plugin-dsh-workspace-evidence
FileContributedState
package.jsonThe name, the version, the private flag, and the dependencies.read
README.mdThe summary, the surface table, and the configuration table.read
CHANGELOG.mdThe release lines and their versions.read
cordis.patch.ymlActivation: the bundle entry that mounts the plugin.read
Source/Function/Apply.tsThe 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.