Skip to content

agents: take the remote-session block from Mind's generated source - #190

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/organ-remote-block-and-uv-hook-repair
Aug 27, 2026
Merged

agents: take the remote-session block from Mind's generated source#190
Jammy2211 merged 1 commit into
mainfrom
feature/organ-remote-block-and-uv-hook-repair

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Two generated surfaces, both from PyAutoMind.

1. The remote-session block. The "Remote sessions" section in AGENTS.md was hand-written here, and was a pass behind: it named No module named pytest as the symptom of skipping the bootstrap, which the canonical text explicitly records as a symptom that stopped appearing when the container image moved to Python 3.12. Three mobile-review passes in a row found a copy that had not learned what the previous pass measured.

PyAutoMind now generates that block from policy/remote_sessions.md into any repo carrying the <!-- repos_sync:remote:begin/end --> markers, with a drift check. Mind and Brain opted in on 2026-08-27; this repo and its sibling were left out because the session doing it could attach only two organs. Adding the markers here makes it four.

2. The SessionStart hook, regenerated — the canonical gained leg 3b (the uv tool-env repair) in PyAutoLabs/PyAutoMind#363.

What this deliberately drops

The canonical text carries no per-repo halves — no test counts, no timings, no declared deps. Those are exactly what rots, and a wrong number in every repo's always-loaded context is worse than no number; test_the_canonical_text_carries_no_per_repo_numbers pins it. So this repo's own numbers go, and for PyAutoHands the .claude/session-python.txt bullet goes too. Nothing is lost operationally: that file carries the same explanation in its own header, and the hook reads it at run time.

API Changes

None. Documentation block and one generated file; no source changes.

Test Plan

  • Full suite green (see the per-repo count in the commit thread)
  • Hook copy byte-identical to PyAutoMind/policy/session_start_hook.sh
  • repos_sync.py --check --root <four-organ scope> — remote-session blocks and session-start hooks legs both OK, now covering four repos rather than two

Merge after PyAutoLabs/PyAutoMind#363, so the canonical is never behind its copies.

Part of #360 (PyAutoMind).

Generated by the PyAutoLabs agent workflow.

The "Remote sessions" section was hand-written here and was a pass behind: it
named `No module named pytest` as the symptom of skipping the bootstrap, which
the canonical text records as a symptom that stopped appearing when the
container image moved to Python 3.12. Three review passes in a row found a copy
that had not learned what the previous pass measured.

PyAutoMind now generates that block from policy/remote_sessions.md into any repo
carrying the markers, with a drift check. Mind and Brain opted in on 2026-08-27;
this repo and its sibling were left out because the session that did it could
attach only two organs. Adding the markers here makes it four.

The per-repo halves go, deliberately — the canonical text carries no test
counts, timings or declared deps, because those are what rot, and a wrong number
in every repo's always-loaded context is worse than no number. This repo's own
dependencies stay in .claude/session-python.txt, which the hook reads at run
time.

Also regenerates the hook copy, which changed with Mind's leg 3b.
@Jammy2211 Jammy2211 added the pending-release Merged changes awaiting the next release cycle label Aug 27, 2026
@Jammy2211
Jammy2211 merged commit 963aa2c into main Aug 27, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/organ-remote-block-and-uv-hook-repair branch August 27, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release Merged changes awaiting the next release cycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant