You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The shared root AI_POLICY.md is currently unclassified by the assistant clone boundary, so every autolens assistant PR fails the boundary check and future clone births are blocked. Classify the policy as generic clone infrastructure and align the maintainer-facing boundary documentation across the three assistant cells. The analogous PyAutoMemory root allowlist regression remains tracked and fixed under PyAutoMemory #30.
Plan
Add AI_POLICY.md to the Clone Agent's shared generic file set.
Document that generic classification in each assistant cell's maintainer boundary guide.
Keep the current supported reference profiles; do not invent an AutoCTI clone profile.
Run focused clone-conductor tests and boundary checks only.
Add AI_POLICY.md to _SHARED_GENERIC in PyAutoBrain/agents/conductors/clone/_clone.py.
Add a focused regression assertion in PyAutoBrain/tests/test_clone_conductor.py if existing coverage does not already pin the shared generic classification.
Update modes/maintainer.md in autolens_assistant, autofit_assistant, and autocti_assistant to identify the root policy as generic template infrastructure.
Run the focused Clone Agent tests and boundary checks for the existing autolens and autofit profiles. Confirm AutoCTI remains intentionally outside REFERENCE_PROFILES.
clone-boundary is red on every autolens_assistant branch — AI_POLICY.md unclassified
Difficulty: small
The clone-boundary CI check in @autolens_assistant has failed on every branch
since feature/ai-policy merged on 2026-07-27. It is not branch-specific work that
breaks it — the check fails on the merge commit of any PR:
check_boundary: 1 file(s) in autolens_assistant fall on neither side of the template
boundary:
✗ AI_POLICY.md
AI_POLICY.md was added without being classified, and check_boundary.py refuses any
unclassified tracked file — "the Clone Agent refuses to birth a newborn while any is
unclassified", so this also blocks every future assistant birth, not just CI.
Fix
Classify AI_POLICY.md as generic, domain or mixed and record it in both
places, which the check requires to agree:
@autolens_assistant modes/maintainer.md, ## Assistant-as-template — the prose that
owns the boundary.
Almost certainly generic: the AI-use policy is framework-level, not lensing science,
and a newborn assistant should inherit it near-verbatim.
Grounding already done (2026-07-30):
AI_POLICY.md is a root-level file absent from _SHARED_GENERIC
(_clone.py:52-72), which is why it lands unclassified. Adding "AI_POLICY.md" to
that shared list covers both existing profiles at once.
All three cells (autolens_assistant, autofit_assistant, autocti_assistant) carry
an AI_POLICY.md, and none of their modes/maintainer.md files mention it — so the
prose half is missing everywhere, not just in the lens cell.
REFERENCE_PROFILES has entries for autolens_assistant and autofit_assistant only; autocti_assistant has no profile, and no boundary check ran on autofit_assistant's
PRs — which is why only the lens cell goes red. Decide whether the other two should
gain the check as part of this fix or in a separate task.
Related
A separate AI_POLICY.mdstructure-test failure on origin/main is already
recorded as the ship-blocker for python-312-memory-validation-ci in active.md (@PyAutoMemory). Check whether that is the same root cause before
fixing either in isolation.
Overview
The shared root
AI_POLICY.mdis currently unclassified by the assistant clone boundary, so every autolens assistant PR fails the boundary check and future clone births are blocked. Classify the policy as generic clone infrastructure and align the maintainer-facing boundary documentation across the three assistant cells. The analogous PyAutoMemory root allowlist regression remains tracked and fixed under PyAutoMemory #30.Plan
AI_POLICY.mdto the Clone Agent's shared generic file set.Detailed implementation plan
Affected Repositories
Branch Survey
skills/WORKFLOW.mdmodified (unrelated; isolated worktree required)Suggested branch:
feature/ai-policy-validator-followupsImplementation Steps
AI_POLICY.mdto_SHARED_GENERICinPyAutoBrain/agents/conductors/clone/_clone.py.PyAutoBrain/tests/test_clone_conductor.pyif existing coverage does not already pin the shared generic classification.modes/maintainer.mdin autolens_assistant, autofit_assistant, and autocti_assistant to identify the root policy as generic template infrastructure.REFERENCE_PROFILES.Key Files
PyAutoBrain/agents/conductors/clone/_clone.py— shared generic clone classification.PyAutoBrain/tests/test_clone_conductor.py— focused classification regression coverage.autolens_assistant/modes/maintainer.md— lens assistant boundary documentation.autofit_assistant/modes/maintainer.md— fit assistant boundary documentation.autocti_assistant/modes/maintainer.md— CTI assistant boundary documentation.Original Prompt
Click to expand starting prompt
clone-boundary is red on every autolens_assistant branch — AI_POLICY.md unclassified
Difficulty: smallThe
clone-boundaryCI check in @autolens_assistant has failed on every branchsince
feature/ai-policymerged on 2026-07-27. It is not branch-specific work thatbreaks it — the check fails on the merge commit of any PR:
AI_POLICY.mdwas added without being classified, andcheck_boundary.pyrefuses anyunclassified tracked file — "the Clone Agent refuses to birth a newborn while any is
unclassified", so this also blocks every future assistant birth, not just CI.
Fix
Classify
AI_POLICY.mdasgeneric,domainormixedand record it in bothplaces, which the check requires to agree:
modes/maintainer.md,## Assistant-as-template— the prose thatowns the boundary.
agents/conductors/clone/_clone.py—REFERENCE_PROFILES['autolens_assistant'].Almost certainly generic: the AI-use policy is framework-level, not lensing science,
and a newborn assistant should inherit it near-verbatim.
Grounding already done (2026-07-30):
AI_POLICY.mdis a root-level file absent from_SHARED_GENERIC(
_clone.py:52-72), which is why it lands unclassified. Adding"AI_POLICY.md"tothat shared list covers both existing profiles at once.
autolens_assistant,autofit_assistant,autocti_assistant) carryan
AI_POLICY.md, and none of theirmodes/maintainer.mdfiles mention it — so theprose half is missing everywhere, not just in the lens cell.
REFERENCE_PROFILEShas entries forautolens_assistantandautofit_assistantonly;autocti_assistanthas no profile, and noboundarycheck ran onautofit_assistant'sPRs — which is why only the lens cell goes red. Decide whether the other two should
gain the check as part of this fix or in a separate task.
Related
AI_POLICY.mdstructure-test failure onorigin/mainis alreadyrecorded as the ship-blocker for
python-312-memory-validation-ciinactive.md(@PyAutoMemory). Check whether that is the same root cause beforefixing either in isolation.
assistant-output-folder-pointer(docs: assistants point novices at the output folder when a fit starts autolens_assistant#96 / feat(hygiene): crlf / config / artifacts file-hygiene modes (phase 5) #97), whose own content is unrelated to it.