Skip to content

Audit Write Path (CLI/API) #964

@SorraTheOrc

Description

@SorraTheOrc

Expose --audit "..." on update/create APIs to write the audit entry.

Acceptance Criteria

  • wl update <id> --audit "Ready to close: Yes\n<freeform>" writes {time,author,text,status}.
  • CLI validates first-line readiness and rejects missing/ambiguous first line.
  • Feature-gated via config.

Minimal implementation

  • Extend CLI/API handlers to accept --audit.
  • Implement parse & validation and wire feature flag.
  • Integration tests (CLI + JSON export).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions