Repository navigation
feat(catalog): twelve bot role sheets and catalog.list/get/add (G1) - #204
Merged
Merged
Conversation
The daemon embeds one sheet per role (crates/botloftd/catalog/<id>.toml, English instructions up to 4000 chars) and serves them over RPC. catalog.add makes a plain bot from a role with the name and role the app wrote in the owner's language. A lint test keeps every sheet in shape and the list equal to the folder. The fake daemon gets the same three methods. Spec 26.4: the max_per_crew limit is the chief's (10.2), not the owner's, so catalog.add does not apply it.
httpsphl
enabled auto-merge
October 6, 2026 01:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
G1 of the bot catalog (spec 26, shown in the app as Bot agency).
crates/botloftd/catalog/<id>.toml(English instructions up to 4000 chars, written from scratch): developer, code-reviewer, qa-tester, designer, writer, social-media, translator, researcher, data-analyst, sales-prospector, customer-support, personal-assistant.catalog.list,catalog.get,catalog.add.catalog.addmakes a plain bot (Manual mode, no connected tools, no crew access) with the name and role the app wrote in the owner's language, and the instructions, model and effort of the sheet.NewBotnow carries the effort, so a bot from a role starts with it instead of restarting after creation.catalog_linttest: fields, id, length, the six sections, no model or maker name, and the list in code equals the folder.FakeBotloftgets the same three methods.Spec
26.4 corrected: the
max_per_crewlimit is the chief's (10.2) and does not apply to the owner'scatalog.add.Tests
cargo test --workspace(543), clippy-D warnings,cargo fmt --check,pnpm check(434), plus 5 new RPC tests and the lint tests.Manual test (real Claude Code)
Not part of this PR: it is listed in G3 (create each of the 12 and give each a typical task).
Next
G2:
list_bot_templates,get_bot_templateandtemplateinsuggest_bot. G3: the app screen.