Skip to content

Session Handoff [auto-2148]: Pass --no-project to the Pre-Commit Snippet's uv run Hooks per #2148 #2162

Closed

Description

@ptr727

Next steps, in priority order

  1. Fix Pass --no-project to the Pre-Commit Snippet's uv run Hooks #2148. catalog/snippets/pre-commit/.pre-commit-config.yaml runs its prose and EOL hooks as uv run python hub-fetch-run.py ..., and a project-scoped uv run writes a uv.lock in a directory whose pyproject.toml has none, which reclassifies a lint-only Scripts-profile or pip-form directory as the uv build profile. Add --no-project to those uv run entries, matching the "Lint: Prose" and "Lint: EOL" tasks in catalog/snippets/configs/vscode-tasks-python.json. Leave the header comment's uv run <tool> swap for a build-profile repo that already has a uv.lock alone unless the fix makes it wrong. Done looks like: every uv run hook entry that runs a standard-library-only helper passes --no-project, a constructed directory holding a pyproject.toml with only a [tool.ruff] table gains no uv.lock when the hook command runs there, and the hub's local gate set passes.
  2. Check whether any other surface states the snippet's hook command, such as a doc, a skill, or a test asserting the entry text, and bring it in line. A skill's text is changed at its source under .agents/skills/ and regenerated with scripts/build_dist.py, per skill-lifecycle.
  3. Drive one pull request into develop, its body carrying Closes on promotion: #2148, scope develop.

External blockers

None known.

Internal dependencies

Step 2 follows step 1, since the entry text step 1 settles is what step 2 matches everywhere else.

State

No branch or worktree yet. Base the work on develop, per repo-worktree. At pick time no open pull request names #2148 or edits catalog/snippets/pre-commit/, and no commit in origin/main..origin/develop fixes it, which a resume re-derives before starting. The snippet is carried content, so the change reaches every carrier that adopts it.

The parked decision queue

None for this lane.

What the last round did

Nothing yet. The unattended picker created this lane from the open backlog.

What not to repeat

Nothing recorded yet.

New learnings

None yet.

Activity

  1. added
    handoff
    on Sep 30, 2026
  2. ptr727 commented on Sep 30, 2026

    @ptr727
    OwnerAuthor

    Lane complete, closed out with no successor.

    • Merged Pass --no-project to the Pre-Commit Snippet's uv run Hooks #2164 into develop as 617e200. Both uv run hook entries in catalog/snippets/pre-commit/.pre-commit-config.yaml now pass --no-project. It fixes Pass --no-project to the Pre-Commit Snippet's uv run Hooks #2148, which closes when develop is promoted, carried by the pull request's Closes on promotion: #2148 line.
    • Verified with a constructed directory holding a pyproject.toml with only a [tool.ruff] table: the old entries wrote a uv.lock, the new ones did not. The hub's prose gate, repo gate, spec/validate.py, and unit tests passed locally, and CI passed on the pull request.
    • Step 2 of this handoff found no other surface stating these entries. Only the VS Code tasks do, and they already carry the flag.
    • Filed Report a Python File the Prose Gate Cannot Parse Instead of Skipping It #2163 (pre-existing): the prose gate silently skips its AST-based checks on a Python file its interpreter cannot parse. The local strict review traced it through --no-project ignoring requires-python, which the VS Code tasks and the Husky snippet already share.
    • The worktree, the local branch, and the remote branch are removed. No lesson issue was filed.
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

    handoff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions