Commit Graph
3 Commits
Author SHA1 Message Date
clawbot 76b75fa79f script/install: write every listed file the repo lacks
check / check (push) Successful in 48s
A listed file the repo lacks is now written whole, with no keep rule.
A prompts/NAME.md goes to docs/NAME.md unless the repo keeps it at
NAME.md, and any other file goes to its own path. A language's files
are skipped when git tracks no source file of that language.

A listed path git ignores now stops the script before it writes.

README bullets split into short sentences, and a false sentence about
template repos deleted.

Model: opus-5-5
2026-11-09 19:38:41 +00:00
clawbot f4275b9ac0 script/install: stop on a repo's own script of the same name
check / check (push) Successful in 26s
script/install replaced any tracked script/install or
script/update-policy in the target, including a repo's own unrelated
script. It now stops when such a file has a line the canonical file
has never held. An older shared copy is still replaced.

The padded file in the self-replacement test is now an earlier
canonical version, so the new stop does not catch it.

Model: opus-5-5
2026-11-09 18:49:16 +00:00
clawbot 454f3410a1 Add script/install; script/update-policy runs it and commits (closes #165)
check / check (push) Successful in 31s
script/install fetches the policy files from prompts over HTTP and
writes them into a repo, installing itself and script/update-policy
there. script/update-policy fetches the current script/install, runs
it on its own repo and commits without pushing. The file list and the
rules for keeping a repo's own entries move to script/install.

Model: opus-5-5
2026-11-09 18:32:46 +00:00