ciaobot
AGENTS.md9 starsChanged 2 months agoApache-2.0View on GitHub
You are working on the Ciaobot app repository. Before changing code: - Read docs/ARCHITECTURE.md for the system design and docs/DEVELOPMENT.md for the dev workflow. - Read web/README.md before changing the PWA. - Read DESIGN.md before changing the PWA, and keep its tokens and interaction principles aligned with the implementation. - Keep changes scoped and covered by tests. - Do not add fallbacks or compatibility shims. Delete dead or superseded code outright rather than leaving a code path "just in case".…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository63 other files it gives its agents.
- ciao-dev-installSkill
- ciao-releaseSkill
- ciao-upkeepSkill
- gws-sharedSkill
- gws-workflow-email-to-taskSkill
- gws-workflow-file-announceSkill
- gws-workflow-meeting-prepSkill
- gws-workflowSkill
- gws-workflow-standup-reportSkill
- gws-workflow-weekly-digestSkill
- orca-issue-loopSkill
- persona-content-creatorSkill
- persona-customer-supportSkill
- persona-event-coordinatorSkill
- persona-exec-assistantSkill
- persona-hr-coordinatorSkill
- persona-it-adminSkill
- persona-project-managerSkill
- persona-researcherSkill
- persona-sales-opsSkill
- persona-team-leadSkill
- prSkill
- recipe-backup-sheet-as-csvSkill
- recipe-batch-invite-to-eventSkill
- recipe-block-focus-timeSkill
- recipe-bulk-download-folderSkill
- recipe-collect-form-responsesSkill
- recipe-compare-sheet-tabsSkill
- recipe-copy-sheet-for-new-monthSkill
- recipe-create-classroom-courseSkill
- recipe-create-doc-from-templateSkill
- recipe-create-events-from-sheetSkill
- recipe-create-expense-trackerSkill
- recipe-create-feedback-formSkill
- recipe-create-gmail-filterSkill
- recipe-create-meet-spaceSkill
- recipe-create-presentationSkill
- recipe-create-shared-driveSkill
- recipe-create-task-listSkill
- recipe-create-vacation-responderSkill
- recipe-draft-email-from-docSkill
- recipe-email-drive-linkSkill
- recipe-find-free-timeSkill
- recipe-find-large-filesSkill
- recipe-forward-labeled-emailsSkill
- recipe-generate-report-from-sheetSkill
- recipe-label-and-archive-emailsSkill
- recipe-log-deal-updateSkill
- recipe-organize-drive-folderSkill
- recipe-plan-weekly-scheduleSkill
- recipe-post-mortem-setupSkill
- recipe-reschedule-meetingSkill
- recipe-review-meet-participantsSkill
- recipe-review-overdue-tasksSkill
- recipe-save-email-attachmentsSkill
- recipe-save-email-to-docSkill
- recipe-schedule-recurring-eventSkill
- recipe-send-team-announcementSkill
- recipe-share-doc-and-notifySkill
- recipe-share-event-materialsSkill
- The first 60 shown.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
14 rules. About 1 is common, 8 are distinctive, and 5 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 6
Read docs/ARCHITECTURE.md for the system design and docs/DEVELOPMENT.md for the dev workflow.
- Very specific: line 7
Read web/README.md before changing the PWA.
- Very specific: line 8
Read DESIGN.md before changing the PWA, and keep its tokens and interaction principles aligned with the implementation.
- Distinctive: line 9
Keep changes scoped and covered by tests.
- Distinctive: line 10
Do not add fallbacks or compatibility shims.
- Distinctive: line 14
Avoid new environment variables.
- Common: line 18
Do not commit secrets, private workspace data, or operator credentials.
- Distinctive: line 28
Run focused tests for the changed behavior.
- Distinctive: line 29
Run every gate CI blocks on before pushing, not just the tests.
- Distinctive: line 62
Every new feature must be visually inspected in the browser before pushing.
- Very specific: line 65
All pull requests target develop.
- Very specific: line 66
Only the admin creates releases from develop.
- Distinctive: line 82
Use plain, factual engineering notes in commits and pull requests.
- Distinctive: line 87
Always explain the issue clearly to the user and suggest creating a GitHub issue.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ciao Contributor Guide
You are working on the Ciaobot app repository.
Before changing code:
- Read
docs/ARCHITECTURE.mdfor the system design anddocs/DEVELOPMENT.mdfor the dev workflow. - Read
web/README.mdbefore changing the PWA. - Read
DESIGN.mdbefore changing the PWA, and keep its tokens and interaction principles aligned with the implementation. - Keep changes scoped and covered by tests.
- Do not add fallbacks or compatibility shims. Delete dead or superseded code outright rather than leaving a code path "just in case". When removing a fallback would break an install that people already have, stop and ask the maintainer before removing it.
- Avoid new environment variables. Hardcode a sensible default as a
constant; if a value truly must vary per user, make it a Settings option
instead. Add an env var only when nothing else can work (secrets,
install paths, test isolation), and document it in
INTEGRATIONS.md. - Do not commit secrets, private workspace data, or operator credentials.
Project shape:
- App code lives in
ciao/. - PWA code lives in
web/. - Generic package assets live in
ciao/stock/. - User vaults and runtime data belong in a separate workspace, not in the public app repo.
- There is no client/host split any more: one engine, one origin, one session. Keep
/api/*behind the signed session cookie, keep every/ws/*handshake same-origin-gated, and keep the loopback-only set (_LOOPBACK_ONLY_APIinciao/web/auth.py) gated on the TCP peer. The boundary audit is indocs/REMOTE_BOUNDARY.md.
Verification:
- Run focused tests for the changed behavior.
- Run every gate CI blocks on before pushing, not just the tests. CI's
blocking steps are, in order:
mypy ciao— easy to forget and it fails the whole job. Watch forno-any-return: several attributes (ProjectChatManager._background_runner, for one) are typedAnybecause they are wired after construction, so returning a call on one straight out of a typed function is an error. Annotate the local instead.pytest -n auto tests/— the full suite (parallel, about a minute), before claiming backend work is complete. A fake object in an unrelated test can break on a new attribute (adding a field to the/ws/eventssnapshot broketests/test_ws_auth.py, whoseSimpleNamespacestub had no such attribute), so a green focused run proves nothing about the suite.cd web && npm test— the full frontend suite. Needs Node >= 22.22.2;npx viteston an older Node silently skips component files while printing green. The floor is set by jsdom and lives in three places that must agree:web/package.jsonengines,SUPPORTED_RANGEinweb/scripts/check-node.mjs, anddocs/DEVELOPMENT.md.cd web && npm run buildafter frontend changes. PRs intodeveloprun these on Linux, and the first three on Windows too: thewindowsjob (windows-latest) blocks on every module importing,python -m mypy ciao(natively win32, so a POSIX-only call such asos.getuidorsignal.SIGHUPoutside a platform branch fails it), the fullpytestsuite andnpm test. The macOS job (browser tests and an engine cold-start) runs after merge, so a PR going green is not proof the macOS job will.pip-audit,npm auditandnpm run lintare advisory in CI (|| true). Lint is still worth running — it just will not fail the build for you.
- For UI changes, verify keyboard focus, browser zoom, and mobile touch targets.
- Workspace shortcuts map unmodified
1–9to the visible sidebar order and must remain inert while a text field is focused. - OpenCode provider changes must preserve the V2-only 2.0.16+ contract. Replay the V2 fixtures and run one tiny real turn against the installed OpenCode 2.x server; do not restore V1 route or response-shape fallbacks.
- Every new feature must be visually inspected in the browser before pushing.
Branching and releases:
- All pull requests target
develop. - Only the admin creates releases from
develop.
Upkeep between releases:
docs/UPKEEP.mdis the watchlist: topics we keep an eye on, with the last-checked date and the decision. Edit it during ordinary work — add a row when you notice something worth watching, in whatever PR you are already in. It is a working document, not a periodic report, and a stale date on an unchecked row is worse than no date.- The checks themselves live in the
/ciao-upkeepskill: every dependency and pin we install (thegwsCLI, the GitHub Actions pins and the paired Node floor), the stock skill catalog againstciao-capabilitiesand the marketing site, doc rot, and the advisory CI steps nobody reads. /ciao-releasedeliberately does none of this. It cuts, verifies, installs, walks the UI and ships; it does not fix. A defect found during a release becomes an issue, and the fix happens ondevelopbefore the next cut.
Use plain, factual engineering notes in commits and pull requests.
Reporting Issues & Continuous Improvement
- As an open-source project, if you (the agent) discover bugs, unexpected behavior, test failures, or potential enhancements in
ciaobot(either during development or when trying to run/use the project), you can and should create a GitHub issue in the repository:https://github.com/raffaelefarinaro/ciaobot. - To do this, use the local GitHub CLI (
gh) if available and authenticated. - Always explain the issue clearly to the user and suggest creating a GitHub issue. You can run the following command to file the issue:
gh issue create --repo raffaelefarinaro/ciaobot --title "[Agent] Brief summary of the issue" --body "Detailed description of the problem, reproducing steps, relevant code locations, and logs." - This helps maintain a continuous loop of improvements for the open-source repository.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

