Repository navigation
fix(init): keep the Claude Code trust entry current, and stop chaining Taskless commands - #528
Open
theCodeDrift wants to merge 5 commits into
Open
theCodeDrift wants to merge 5 commits into
theCodeDrift wants to merge 5 commits into
Conversation
… for an entry that is present
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An onboarding agent in Claude Code's auto mode was refused even though the user had a
Taskless CLI:entry inautoMode.allow:It had wrapped the pinned call in shell plumbing to stash its output, so the line no longer started with the call the entry describes. The skill's fallback then told the user to add the entry they already had. Their entry was also hand-copied older text, and since a present entry was never rewritten, no install or update could fix it.
What changes
VAR=,cd,mkdir,&&,;, pipe, or redirect. Files a recipe needs go through the agent's file tools. A refused line that combined the call with anything else is rerun once on its own. When the current entry is already in~/.claude/settings.json, the agent says so instead of asking for it again.Taskless CLI:label is ours: an entry carrying it with any other text isstale. The wizard (barenpx @taskless/cli, which is how a person both installs and updates) showsREPLACE (global):and swaps it in place, keeping list order, under the one existing confirmation. Declining leaves the file byte-identical. Only the first labelled string is replaced, and an unlabelled string is never treated as ours.initstill never writes outside the project. It warns that the entry is out of date, andinit --jsonreportsglobalTrust[].state: "stale". Theinitrecipe documents the new state.The skill body is at exactly 150 lines, its cap.
Checks
pnpm typecheck,pnpm lint: passpnpm --filter @taskless/cli test: 128 files, 2372 tests passrefresh-global-trust-entryarchived on this PR. The scenario check from CLAUDE.md shows no scenario dropped fromagent-global-trustorskill-taskless.