Skip to content

A kept skills tree edited by hand still stamps clean #1775

Closed

Description

@ptr727

skills_install.py stamps a bootstrap-kept tree as dirty: false from its .bootstrap-commit marker alone. The tree is an extracted tarball of the resolved commit, so it is clean when the loader writes it. Nothing checks that it is still clean when the installer later copies it.

What follows

  • Someone edits a file in the kept skills-tree and runs skills_install.py from it by hand.
  • The edited content lands in the Codex and opencode snapshot.
  • --report still reads current: true, because the marker's commit matches.

The loaders run the installer immediately after extracting, so a bootstrap run never reaches this. Only a hand run from a tree someone has edited does.

Options

  1. Have the loader write a content manifest (path and hash) beside the commit marker. The installer then stamps dirty: false only while the watched paths still match it.
  2. Have the installer refuse to run by hand from a kept tree, and point at bootstrap --skills instead.

docs/fleet-map.md requires a fresh bootstrap report to exit zero, so option 1 has to keep a just-extracted tree dirty: false.

Found by CodeRabbit on #1774.

Activity

  1. ptr727 commented on Oct 23, 2026

    @ptr727
    OwnerAuthor

    Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions