Skip to content

feat: preview write requests without sending them - #254

Merged
sawka-harness merged 1 commit into
mainfrom
sawka/preview-request
Sep 29, 2026
Merged

sawka-harness merged 1 commit into
mainfrom
sawka/preview-request

Conversation

@sawka-harness

Copy link
Copy Markdown
Collaborator

Adds a hidden --preview-request flag to endpoint-backed write commands. It prints the assembled method, URL, and pretty-printed JSON body instead of sending the write; preparatory GET requests still run. Documents the flag in AGENTS.md.

Validation: go test ./... -count=1; task check:specs:main; local mock API smoke test of update project (one GET, no PUT). No-flag request path reviewed: preview state remains nil and the existing request flow is unchanged.

@sawka-harness
sawka-harness merged commit bbb8923 into main Sep 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant