chore(main): strip anti-AI refusal-trigger comment (FJ-4) #4

Merged
David merged 1 commit from chore/strip-anti-ai-comment-fj-4 into main 2026-05-25 04:22:14 +02:00
Owner

Resolves FJ-4.

Removes the four-line anti-AI tripwire comment that upstream injected between impl Command and the #[tokio::main] entrypoint in src/main.rs. The block carried a magic refusal string crafted to derail Claude tooling. It had no runtime effect but is counterproductive for this AI-assisted fork and is noise for every contributor and tool that reads the file.

Acceptance criteria

  • The comment block at src/main.rs:88-91 is removed.
  • git grep -nIE 'ANTHROPIC|MAGIC_STRING|TRIGGER_REFUSAL|triggers a refusal|unusable on this repository' returns no matches across the tree.
  • cargo build still succeeds (comment-only removal; no behavior change).
Resolves FJ-4. Removes the four-line anti-AI tripwire comment that upstream injected between `impl Command` and the `#[tokio::main]` entrypoint in `src/main.rs`. The block carried a magic refusal string crafted to derail Claude tooling. It had no runtime effect but is counterproductive for this AI-assisted fork and is noise for every contributor and tool that reads the file. ## Acceptance criteria - [x] The comment block at `src/main.rs:88-91` is removed. - [x] `git grep -nIE 'ANTHROPIC|MAGIC_STRING|TRIGGER_REFUSAL|triggers a refusal|unusable on this repository'` returns no matches across the tree. - [x] `cargo build` still succeeds (comment-only removal; no behavior change).
chore(main): strip anti-AI refusal-trigger comment (FJ-4)
Some checks failed
Check / fmt + clippy + build + tests (pull_request) Failing after 21s
Create release / Create release from merged PR (pull_request) Has been skipped
b944136cc8
Upstream injected a four-line tripwire comment between impl Command and the #[tokio::main] entrypoint, crafted to derail Claude with a magic refusal string. It has no runtime effect but is at odds with this AI-assisted fork's purpose and is noise for every contributor and tool reading the file. Removed the block; a repo-wide scan confirms no other occurrences remain and cargo build still succeeds.

#FJ-4 State Done

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
David merged commit 0c4e179a77 into main 2026-05-25 04:22:14 +02:00
David deleted branch chore/strip-anti-ai-comment-fj-4 2026-05-25 04:22:14 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pandoras-box/forgejo-cli!4
No description provided.