Skip to content

fix(log): refuse claim and release kinds, point to aisync claim/release - #46

Open
shubhranillayek wants to merge 1 commit into
MaxonT:mainfrom
shubhranillayek:fix/log-refuses-claim-release
Open

shubhranillayek wants to merge 1 commit into
MaxonT:mainfrom
shubhranillayek:fix/log-refuses-claim-release

Conversation

@shubhranillayek

@shubhranillayek shubhranillayek commented Dec 1, 2026 •

Copy link
Copy Markdown

Closes #36 (option 1).

aisync log -k claim wrote a journal line that looked like a claim while claiming nothing. log now refuses claim/release and points to aisync claim / aisync release; the MCP log tool refuses the same way. Real claim/release commands still work.

Checked: issue repro (refused, exit 2, no fake claim), new CLI + MCP tests, full suite (6 failures + 1 error, pre-existing on clean main), privacy scan 0 hits. AI-assisted, per CONTRIBUTING.

`aisync log -k claim` wrote a journal line that looked like a claim while
claiming nothing, so an agent that logged a claim was not protected. `log`
now refuses `claim` and `release` with a message pointing to `aisync
claim` / `aisync release`; the same refusal applies to the MCP `log` tool.
The real commands still write those events.

Closes MaxonT#36

Signed-off-by: Shubhranil Layek <[email protected]>

This branch has not been deployed

No deployments
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.

log: '-k claim' and '-k release' are accepted but do not claim or release anything

2 participants