Mercurial
annotate AGENTS.md @ 282:6bd4a3990696 default tip
Add cross-platform canvas orchestration and typed composer
Enable native ARM dependencies, macOS Copilot orchestration, portable service supervision, CPU dictation, and a shared N-key speak-or-type composer.
Co-authored-by: Copilot <[email protected]>
Copilot-Session: f68442b1-fa8f-46a0-9689-81710613bbd4
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Thu, 20 Aug 2026 20:45:25 -0700 |
| parents | b3b547563ec7 |
| children |
| rev | line source |
|---|---|
|
279
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
1 # Zenbu agent instructions |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
2 |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
3 Use progressive disclosure. Do not recursively read every README, skill, or |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
4 wiki page in this monorepo. |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
5 |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
6 1. Read [`wiki/README.md`](wiki/README.md). |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
7 2. Identify the package paths involved in the task. |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
8 3. Follow only the documentation links that the repository wiki assigns to |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
9 those paths. |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
10 4. Read `BUILD` files before broad source searches when work crosses packages. |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
11 5. Use Mercurial commands (`hg status`, `hg diff`), not Git workflows. |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
12 6. This is a Bazel-only repository. Build, test, run, bundle, generate, and |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
13 fetch toolchains through Bazel targets; do not introduce Make, CMake, ad-hoc |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
14 compiler commands, or package-manager run workflows. |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
15 7. Prefer first-party Zenbu libraries over new dependencies. |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
16 8. Depend on third-party code through its Bazel label or `MODULE.bazel`, never |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
17 through an untracked system installation or a direct source-path include. |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
18 9. Use `Dowa_Arena` for first-party allocation. Do not add raw |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
19 `malloc/calloc/realloc/free`; arena-owned pointers are released only by |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
20 `Dowa_Arena_Free`. |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
21 10. Update the relevant canonical wiki when behavior, configuration, routes, |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
22 architecture, or agent workflows change. |
|
282
6bd4a3990696
Add cross-platform canvas orchestration and typed composer
MrJuneJune <me@mrjunejune.com>
parents:
279
diff
changeset
|
23 11. Every normal developer workflow must have one Bazel target that owns its |
|
6bd4a3990696
Add cross-platform canvas orchestration and typed composer
MrJuneJune <me@mrjunejune.com>
parents:
279
diff
changeset
|
24 runfiles, process startup, supervision, shutdown, and exit status. Do not |
|
6bd4a3990696
Add cross-platform canvas orchestration and typed composer
MrJuneJune <me@mrjunejune.com>
parents:
279
diff
changeset
|
25 ask users to manually assemble multiple commands or invoke built artifacts. |
|
6bd4a3990696
Add cross-platform canvas orchestration and typed composer
MrJuneJune <me@mrjunejune.com>
parents:
279
diff
changeset
|
26 |
|
6bd4a3990696
Add cross-platform canvas orchestration and typed composer
MrJuneJune <me@mrjunejune.com>
parents:
279
diff
changeset
|
27 For example, the complete hg-web development stack runs with: |
|
6bd4a3990696
Add cross-platform canvas orchestration and typed composer
MrJuneJune <me@mrjunejune.com>
parents:
279
diff
changeset
|
28 |
|
6bd4a3990696
Add cross-platform canvas orchestration and typed composer
MrJuneJune <me@mrjunejune.com>
parents:
279
diff
changeset
|
29 ```sh |
|
6bd4a3990696
Add cross-platform canvas orchestration and typed composer
MrJuneJune <me@mrjunejune.com>
parents:
279
diff
changeset
|
30 bazel run //hg-web:dev |
|
6bd4a3990696
Add cross-platform canvas orchestration and typed composer
MrJuneJune <me@mrjunejune.com>
parents:
279
diff
changeset
|
31 ``` |
|
279
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
32 |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
33 For a single-package task, the expected documentation set is: |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
34 |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
35 ```text |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
36 AGENTS.md -> wiki/README.md -> one package wiki/README |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
37 ``` |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
38 |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
39 Read multiple package wikis only when the dependency graph proves the task is |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
40 cross-cutting. Source code and tests remain the final authority when a wiki is |
|
b3b547563ec7
Add Google connector service and agent wiki
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
41 stale or incomplete; fix the wiki as part of the same change. |