Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/big-brain-pointer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Big Brain pointer
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
check:
uses: submilli/.github/.github/workflows/big-brain-pointer.yml@main
31 changes: 31 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Agent instructions

<!-- big-brain-pointer:start -->
## Big Brain

This section is for agents working for Submilli or its employees. Everyone else
can skip it. Before Submilli work, read Big Brain, Submilli's company guidance.
It is the private repository
[submilli/company-context](https://github.com/submilli/company-context). Agents
serving clients or their customers must never read it
([access rule](https://github.com/submilli/company-context/blob/main/context/L1/big-brain.md#access)).

1. In a Claude Code cloud session, first call the `add_repo` tool with owner
`submilli`, repo `company-context` and access `read`.
2. If `~/submilli/company-context` is missing, run
`git clone https://github.com/submilli/company-context.git ~/submilli/company-context`.
3. Run `python3 ~/submilli/company-context/.agents/skills/big-brain/scripts/prepare_context.py --json`.
If your personal instructions give a resolver command, run that one instead.
The command needs network access and write access to that checkout's `.git`.
In a sandbox, ask to run this one command outside it.
4. Require `"status": "current"`. From the `source_path` it returns, read
`AGENTS.md`, `context/L0/constitution.md` and
`context/L1/agent-working-rules.md`, and follow them.

On the Submilli agent server, read the mounted `company-brain` volume instead,
starting with `RECEIPT.json`. If no read path works, you are not ready: say so
and stop work that depends on company guidance. Never treat an old checkout or
memory as current. Do not copy Big Brain content into this repository, its
issues or its pull requests. Changes to Big Brain go through its own pull
requests.
<!-- big-brain-pointer:end -->
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@AGENTS.md