Repository navigation
fix(init): keep the Claude Code trust entry current, and stop chaining Taskless commands - #528
Conversation
… for an entry that is present
|
@claude /review |
|
Claude finished @theCodeDrift's task in 2m 58s —— View job Review:
|
Fixed the init.md doc drift in fd2df4f: the prose-mode line now says a warning prints for each missing or stale global trust entry. The duplicate-labelled-entry case is left as documented (first labelled string only). — AI Coding Agent |
The standalone-command rule and the present-entry fallback brought the body to exactly 150 lines. Raise the cap in skill-taskless and its test rather than compress guidance an agent acts on.
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 reached exactly 150 lines, its old cap, so
skill-tasklessraises the cap to 200 rather than compressing guidance an agent acts on.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.