spec-editor memory
Owner write_approval queue for role MEMORY notes.
Usage
spec-editor memory [OPTIONS] COMMAND [ARGS]...
Subcommands
| Subcommand | Description |
|---|---|
approve |
Approve a pending entry so it is applied into role’s MEMORY. |
log |
Show role’s append-only approve/reject/rollback audit log. |
pending |
List role’s entries awaiting owner approval. |
reject |
Reject a pending entry; it never reaches role’s MEMORY snapshot. |
rollback |
Revert the change recorded by audit_id back to its prior state. |
spec-editor memory approve
Approve a pending entry so it is applied into role’s MEMORY.
Usage
spec-editor memory approve [OPTIONS] ROLE ENTRY_ID
Arguments
| Argument | Required |
|---|---|
ROLE |
yes |
ENTRY_ID |
yes |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--actor |
text | Owner identity to record on the audit log | |
--path, -p |
path | . |
Project path |
--dry-run |
flag | Show what would change without changing it | |
--json |
flag | Output as JSON |
spec-editor memory log
Show role’s append-only approve/reject/rollback audit log.
Usage
spec-editor memory log [OPTIONS] ROLE
Arguments
| Argument | Required |
|---|---|
ROLE |
yes |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--entry |
text | Filter to one entry id | |
--path, -p |
path | . |
Project path |
--json |
flag | Machine-readable output |
spec-editor memory pending
List role’s entries awaiting owner approval.
Usage
spec-editor memory pending [OPTIONS] ROLE
Arguments
| Argument | Required |
|---|---|
ROLE |
yes |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--path, -p |
path | . |
Project path |
--json |
flag | Machine-readable output |
spec-editor memory reject
Reject a pending entry; it never reaches role’s MEMORY snapshot.
Usage
spec-editor memory reject [OPTIONS] ROLE ENTRY_ID
Arguments
| Argument | Required |
|---|---|
ROLE |
yes |
ENTRY_ID |
yes |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--reason |
text | Why the entry was rejected | |
--actor |
text | Owner identity to record on the audit log | |
--path, -p |
path | . |
Project path |
--dry-run |
flag | Show what would change without changing it | |
--json |
flag | Output as JSON |
spec-editor memory rollback
Revert the change recorded by audit_id back to its prior state.
Usage
spec-editor memory rollback [OPTIONS] ROLE AUDIT_ID
Arguments
| Argument | Required |
|---|---|
ROLE |
yes |
AUDIT_ID |
yes |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--actor |
text | Owner identity to record on the audit log | |
--path, -p |
path | . |
Project path |
--dry-run |
flag | Show what would change without changing it | |
--json |
flag | Output as JSON |