Mercurial
annotate AGENT.md @ 279:b3b547563ec7
Add Google connector service and agent wiki
Implement the C/Seobeo Google Drive and Gmail connector with encrypted OAuth storage, Zenbu authentication, browser testing, AI tool discovery, chunked HTTP decoding, and Bazel coverage. Consolidate repository guidance into progressive wiki documentation and enforce arena-first allocation for new first-party C code.
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 84c338fd-0939-4bb3-b7f3-1062eb213e5d
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 17 Aug 2026 22:22:36 -0700 |
| parents | a8d6435dc021 |
| children |
| rev | line source |
|---|---|
|
222
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
1 # Agent instructions |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
2 |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
3 ## Bazel is the project interface |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
4 |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
5 All project execution must happen through Bazel. Use existing `bazel build`, |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
6 `bazel test`, and `bazel run` targets instead of invoking compiled binaries, |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
7 language runtimes, package managers, generated scripts, or multiple services |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
8 manually. |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
9 |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
10 When a workflow needs several processes or commands, add a Bazel target that |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
11 owns their startup, runfiles, supervision, shutdown, and exit status. The user |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
12 should need one `bazel run` command. |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
13 |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
14 For hg-web development, run the complete local stack with: |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
15 |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
16 ```bash |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
17 bazel run //hg-web:dev |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
18 ``` |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
19 |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
20 Add or update the smallest relevant Bazel target whenever code cannot be built, |
|
a8d6435dc021
[hg-web] Run local stack through Bazel
MrJuneJune <me@mrjunejune.com>
parents:
diff
changeset
|
21 tested, run, bundled, or orchestrated through Bazel. |