Repository navigation
Cancel npm package; install.sh becomes the one installer for both hosts - #3
Merged
Merged
Conversation
…installer for both hosts - install.sh absorbs the Codex wiring from bin/wdym-prompt.js: --claude/ --codex/--both host flags, symlinked ~/.agents skill path with copy fallback (--copy), hooks.json wiring with dedupe, AGENTS.md contract, trust notice last on every Codex-touching run; Codex stays global-only - bin/wdym-prompt.js and package.json deleted; npx wdym-prompt was never published (registry 404s), so nothing external breaks - README/ARCHITECTURE/llms.txt/RELEASES swept clean of the npm story; npx skills add stays documented as the file-delivery route - Review fixes: agents/openai.yaml now ships in the skill copy (Codex manifest was silently missing), duplicate contract removal closes its gap, RELEASES.md v1.2.0 section corrected - Verified: 78-assertion port harness + 30 adversarial assertions in sandbox HOMEs; contract blocks written by the old npx installer are recognized as already-current; detect bench green Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Why
Product decision: no npm package.
npx wdym-promptwas cancelled before ever being published (the registry name still 404s, so nothing external breaks). That leaves the shell installer as the whole install story — which meansinstall.shmust absorb the Codex support that lived only in the Node CLI, or v1.2's Codex feature has no install path.What changed
install.shis now the one installer for both hosts. Ported from the battle-testedbin/wdym-prompt.js:--claude/--codex/--both(default: detected hosts), Codex skill at~/.agents/skills/wdymas a symlink to the canonical copy with automatic copy fallback and--copyto force,hooks.jsonwiring with dedupe byprompt-detect.py,AGENTS.mdtrust contract, the four-beat trust notice printed last on every Codex-touching run. Codex stays global-only:--codex --localrefuses;--both --localdegrades to Claude-local.bin/wdym-prompt.jsandpackage.json;.gitignoredrops the npm artifacts.npx skills add), comparison table, FAQ, ARCHITECTURE file map and two-host section, llms.txt, and the RELEASES.md v1.2.0 section corrected — it was selling an npm command that never existed.Verification
agents/openai.yaml) was silently missing from the copy loop (Codex would never auto-invoke the skill), and duplicate contract-block removal stranded blank lines.HOMEs: byte-idempotent re-runs, foreign hooks survive, non-object JSON refused not clobbered, contract blocks written by the old npx installer recognized as already-current (no ping-pong), zero writes outside the sandbox.bash -nand the detect bench green.Follow-ups (not in this PR)
npx wdym-prompt; correct them after merge (see PR discussion).refs/init.md's contract template andinstall.shphrase the activation state line differently — worth unifying in a small follow-up.🤖 Generated with Claude Code