Skip to content

Commit 2aaa224

Browse files
Jammy2211claude
andauthored
feat(clone): classify autolens_assistant's free-tier chat surface (#189)
autolens_assistant gains a chat surface for free-tier browser users (PyAutoLabs/autolens_assistant#107). Its new files are unclassified in the reference profile, so the boundary check fails and every future birth would be blocked — the exact failure this profile exists to prevent. Place them on the seam: - `AGENTS_CHAT.md` -> generic. It is the chat-mode counterpart of `AGENTS.md` (same skeleton, shell-dependent rules removed), so it clones on identical terms — name substitution only. - `llms-chat.txt`, `FREE_TIER_SETUP.md` -> mixed, alongside `llms.txt`. The per-platform setup mechanics clone verbatim; the worked prompts and dataset names are domain. - `chat_pack/*` -> domain, and added to `scaffold_dirs`. It is generated by concatenating `al_*` skill bodies, `wiki/core/` pages and a snapshot of the lensing stack's API surface — every input is domain, so a newborn must regenerate it via `make chat-bundle` rather than copy this one. The generator itself (`autoassistant/chat_bundle.py`) needs no entry: it is already generic under `autoassistant/*`. Verified: check_boundary.py against the paired branch reports `boundary complete — generic 59 · domain 312 · mixed 91`. Claude-Session: https://claude.ai/code/session_01AbbSTnUxkWgAuoiBTv8Uhb Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0428908 commit 2aaa224

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

agents/conductors/clone/_clone.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
"AGENTS.md", "CLAUDE.md", "LICENSE", ".gitignore", ".gitattributes",
5454
"Makefile", "__init__.py", "activate.sh", "version.txt",
5555
"AI_POLICY.md", "CITATIONS.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md",
56+
"AGENTS_CHAT.md", # chat-mode counterpart of AGENTS.md: the same
57+
# skeleton with the shell-dependent rules cut,
58+
# so it clones on the same terms as AGENTS.md
5659
"modes/*", # Teacher/Assistant mode machinery
5760
"skills/_style.md", "skills/_bootstrap_skill.md", "skills/README.md",
5861
"skills/start-new-project*", "skills/contribute-upstream*",
@@ -87,6 +90,10 @@
8790

8891
_SHARED_MIXED = [
8992
"llms.txt", "llms-full.txt",
93+
"llms-chat.txt", # generated paste bundle: same seam as llms.txt
94+
"FREE_TIER_SETUP.md", # per-platform chat setup — the platform
95+
# mechanics clone verbatim, the worked prompts
96+
# and dataset names are domain
9097
"config/*",
9198
"benchmarks/README.md", # protocol generic, benchmark table domain
9299
]
@@ -117,10 +124,15 @@
117124
"wiki/literature/*", # a shipped lensing paper corpus
118125
"paper/*", # this assistant's own JOSS paper
119126
"scripts/*.py", # bundled science scripts (a named lens)
127+
# Generated chat knowledge pack: concatenated al_* skill bodies +
128+
# wiki/core pages + a snapshot of the lensing stack's API surface.
129+
# Every input is domain, so a newborn regenerates it from its own
130+
# content (`make chat-bundle`) rather than copying this one.
131+
"chat_pack/*",
120132
*_SHARED_DOMAIN,
121133
],
122134
"mixed": _SHARED_MIXED,
123-
"scaffold_dirs": ["wiki/core", "wiki/literature", "dataset", "hpc"],
135+
"scaffold_dirs": ["wiki/core", "wiki/literature", "dataset", "hpc", "chat_pack"],
124136
},
125137
# The domain-agnostic base: `af_*` inference skills and the *statistics*
126138
# `wiki/core/` are GENERIC infrastructure kept verbatim; only the example

0 commit comments

Comments
 (0)