Skip to main content

Module scratch

Module scratch 

Source
Expand description

asd scratch … — ephemeral working notes with a promote-to-ledger path.

Scratch entries are local-only (not synced via asd sync) and not subject to the policy gate. Only promote goes through policy + audit because it creates a real LedgerEntry.

§Subcommands

asd scratch write <content> [--symbol <qname>] [--workflow <name>] [--tag <tag>]... [--ttl 24h|7d]
asd scratch list  [--symbol <qname>] [--workflow <name>] [--session <id>] [--status draft|promoted|discarded] [--all] [--json]
asd scratch read  <scratch_id> [--json]
asd scratch update <scratch_id> <content>
asd scratch discard <scratch_id>
asd scratch promote <scratch_id> --kind <ledger-kind> [--summary <text>] [--symbol <qname>]
asd scratch clean  --older-than <7d> [--status discarded,promoted] [--dry-run]

Structs§

CleanArgs
DiscardArgs
ListArgs
PromoteArgs
ReadArgs
UpdateArgs
WriteArgs

Enums§

ScratchCmd

Functions§

run