Skip to main content

Module workspace

Module workspace 

Source
Expand description

memstead workspace ... — workspace introspection and configuration commands.

Subcommand families:

  • dump — emit a JSON document describing every writable mem, the schema each is pinned to, and per-mem opaque snapshot tokens. Storage-agnostic contract consumed by the Claude-Code ingest plugin; versioned (format = "workspace-dump/v0").
  • allow-create / revoke-create / allow-delete / revoke-delete / grant-cross-link / revoke-cross-link / set-mutations — write surface for .memstead/workspace.toml’s engine-bound sections. Mirrors what an operator would hand-edit, with toml_edit preserving comments and formatting on sections the CLI doesn’t touch. The principle from AGENTS.md is that every engine operation should be reachable via the CLI; this family closes the asymmetry for workspace configuration.

[plugin.*] sections stay operator-edited — they are opaque pass-through to the engine and the CLI has no business knowing their key shapes.

Structs§

AllowCreateArgs
Args for allow-create.
CrossLinkArgs
Args for grant-cross-link / revoke-cross-link.
DumpArgs
memstead workspace dump arguments. --json is the root-level global flag (the dump is always emitted as JSON regardless).
PatternArg
Single-pattern args for revoke-create / allow-delete / revoke-delete.
SetMutationsArgs
Args for set-mutations.
ShowArgs
memstead workspace show arguments. --json is the root-level global flag (Markdown by default, JSON when set).

Enums§

WorkspaceAction
Subcommands under memstead workspace.

Functions§

run