intent
AGENTS.md281 starsChanged 3 months agoApache-2.0View on GitHub
Instructions for AI agents working in this monorepo. This monorepo references the Intent component repositories as git submodules: Code lives in the submodule repos. The monorepo tracks specific commits of each submodule. packages/ios is private and marked update = none in .gitmodules: recursive clones and git submodule update --init --recursive skip it by design, and internal devs initialize it on demand with make ensure-ios-submodule. The durable engineering docs live in docs/ARCHITECTURE.md (backend architecture) and docs/protocol/ (canonical wire contract); see docs/README.md…
- Installs packages
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,773 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 repositoryOne other file it gives its agents.
- repo-retrospectiveSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
19 rules. About 0 are common, 6 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Always use http://daemon.localhost:<port> in the embedded browser.
- Very specific: line 29
Run STATUS_JSON=1 make status first.
- Very specific: line 38
Use make status for the human-readable form.
- Very specific: line 46
Run make sandbox-status before starting anything.
- Distinctive: line 51
Start the smallest long-running target as a workspace service:
- Very specific: line 83
Call ws.browser.listTabs and reuse a matching tab.
- Very specific: line 99
Stop what you started, then rerun STATUS_JSON=1 make status to confirm no listener, state, or gitlinkDirty submodule remains (git submodule …
- Distinctive: line 111
When changes span a submodule and the monorepo, land the submodule PR (Phase 1).
- Very specific: line 125
When the change fixes a monorepo issue, reference it with the full cross-repo form — Fixes intent-hq/intent#N — in the PR body or …
- Very specific: line 246
Default rulesets only (none for the monorepo or organization).
- Very specific: line 280
Rust: run the package gates before opening a PR — make check / make test also run from packages/intentd (its Makefile forwards them to the …
- Very specific: line 290
When the full suite is impractical, run make test-changed before enqueueing: intentd's scripts/changed-tests.sh picks the nextest targets …
- Very specific: line 302
Run long gates as saved command-mode ws.script entries (ws.script.start, a self-checking ws.hook.schedule on ws.script.status, then …
- Distinctive: line 362
Before the final status, complete the ergonomics retrospective.
- Distinctive: line 381
Add an AGENTS.md prose rule only as a last resort, citing the linked incident.
- Very specific: line 408
Aggressive dedup: search existing issues first (gh issue list --repo intent-hq/intent --search "<keywords>" --state all) and comment on / …
- Very specific: line 417
Assign on start: when you begin work on an intent-hq/intent issue, assign it to the human driving the work before the first commit: gh …
- Distinctive: line 420
Already assigned to someone else: leave it and tell the user.
- Distinctive: line 424
Do not leak coordinator-internal sequencing labels from a single agent's delegation flow into committed documentation.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
Agent Workflow Guide
Instructions for AI agents working in this monorepo.
Repository Structure
This monorepo references the Intent component repositories as git submodules:
packages/intentd→ intent-hq/intentd — Rust backend daemonpackages/cloudlands-fe→ intent-hq/cloudlands-fe — Electron + SvelteKit desktop frontendpackages/ios→ intent-hq/ios — SwiftUI iOS companion app (private)
Code lives in the submodule repos. The monorepo tracks specific commits of each submodule.
packages/ios is private and marked update = none in .gitmodules: recursive clones and
git submodule update --init --recursive skip it by design, and internal devs initialize it
on demand with make ensure-ios-submodule.
The durable engineering docs live in docs/ARCHITECTURE.md (backend architecture) and
docs/protocol/ (canonical wire contract); see docs/README.md for the docs index.
Developing on a remote host
Each Intent workspace is a git worktree on the daemon host. The desktop client runs the
embedded Chromium tabs and tunnels ports that listen on the daemon's loopback interface.
Always use http://daemon.localhost:<port> in the embedded browser.
Situate
Run STATUS_JSON=1 make status first. It reports host gaps, resolved ports, live sandboxes
and health, both component branches (repos.<name>.gitlinkDirty flags a submodule moved
off its pin; repos.<name>.behindOriginMain counts commits the checked-out submodule HEAD
lags the local origin/main — branch component work from origin/main when > 0), and branch PR checks
when gh is authenticated.
While setup.running is true (or your first message carried the setup-in-progress
notice) the workspace setup script is still provisioning the worktree, so treat the whole
report as provisional and wait with a hook on ws.workspace.details().setupStatus before
acting on it.
Use make status for the human-readable form. If host.doctorOk is false, run
make bootstrap-dev-host, then make doctor; automation can set BOOTSTRAP_YES=1, but
system packages may require privilege. Do not discover prerequisites during a build: the
dev and sandbox targets preflight the frontend toolchain and exit naming the missing item
and make bootstrap-dev-host.
Act
Run make sandbox-status before starting anything. State is keyed only by mode, so one
worktree can track at most one ui, one app, and one stack sandbox; different ports
do not isolate a second sandbox of the same mode. Coordinate with its owner or use another
worktree instead.
Start the smallest long-running target as a workspace service:
make dev-sandbox-ui— named component previews only.make dev-sandbox-app— complete web renderer against the installed daemon orINTENTD_SOCKET.make dev-sandbox-stack— isolated intentd plus renderer; dev profile by default,INTENTD_PROFILE=releaseopt-in, orINTENTD_BIN=/path/to/intentdfor a prebuilt binary.
Each ready sandbox records .dev/sandbox/<mode>.json. Use make sandbox-stop only for
an unmanaged or orphaned sandbox;
stop a workspace service with ws.script.stop(id) so its supervisor does not restart it.
Observe
For app or stack readiness, schedule this one canonical health wait after replacing the
port. It polls on the daemon host and retires when /__sandbox/health returns ok: true:
await ws.hook.schedule({
name: "Wait for sandbox health",
delayMs: 10_000,
ttlMs: 600_000,
code: `const probe = await ws.host.exec({
command: "curl",
args: ["--silent", "--max-time", "2", "http://127.0.0.1:<DEV_PORT>/__sandbox/health"],
});
if (probe.exitCode !== 0) return { dispatch: false };
try { if (JSON.parse(probe.stdout).ok === true) return { dispatch: true, message: "Sandbox health is ok." }; } catch {}
return { dispatch: false };`,
});Call ws.browser.listTabs and reuse a matching tab; otherwise open
http://daemon.localhost:<DEV_PORT>/. A first tunneled open of a fresh, pre-warmed app
takes roughly one to three minutes to hydrate depending on host load. Keep waiting if the
splash remains; do not restart. Keep the tab open for HMR.
Prove
Capture with ws.browser.screenshot, reveal with ws.browser.showTab, and append evidence
to the task note rather than relying on prose alone:
| Claim | Command | Result | Artifact |
| What behavior was verified | Exact command or tool call | Pass/fail plus key observation | Asset, commit, PR, or log |
Hand off
Stop what you started, then rerun STATUS_JSON=1 make status to confirm no listener,
state, or gitlinkDirty submodule remains (git submodule update --checkout <path> resets
one). Keep app and stack on loopback: their Vite origin exposes the full
unauthenticated daemon API and is safe only through the client's authenticated tunnel.
Remote browser sandboxes cannot exercise Electron main/preload, native dialogs, window
management, or workspace-file:// media; verify those in an Electron build. See the
frontend recipes
and sandbox internals for detail.
Commit & PR Workflow
When changes span a submodule and the monorepo, land the submodule PR (Phase 1); the
monorepo pin advance (Phase 2) then happens automatically. Exception: monorepo protocol
docs that the consumer checks read (docs/protocol/) land first when the change is an
addition — see Phase 2 → Docs lead the pin.
Phase 1 — Submodule PRs
- Make scoped commits in the submodule on a feature branch. Group related changes into
logical commits with conventional commit messages (
feat:,fix:,chore:, etc.). - Push the feature branch in the submodule repo.
- File a PR on the submodule's repo (e.g.,
intent-hq/intentd). - Merge the PR (squash merge preferred) — only after explicit permission from a human (see Conventions → Merging). Approved + green checks is not enough.
When the change fixes a monorepo issue, reference it with the full cross-repo form —
Fixes intent-hq/intent#N — in the PR body or squash-commit message, on every PR of
a cross-component fix (intentd and cloudlands-fe alike); never downgrade to Refs /
Part of to avoid an early close. GitHub closing the issue when the first PR merges is
expected: the cloudlands-fe release notifier (see Release Process) holds its shipped-version
comment until every linked fix PR is merged and contained, and mention-only references
are invisible to it — an all-Refs fix gets no auto-close and no comment (as happened to
intent-hq/intent#5383: intentd#2001 +
cloudlands-fe#2687), and a mixed one can be announced before it has fully shipped.
Phase 2 — Monorepo pin advance (automated)
Submodule pins are advanced automatically by the auto-bump-submodules workflow
(.github/workflows/auto-bump-submodules.yml): it detects submodule tips ahead of the
recorded pins and lands the bump via a single rolling PR on the auto/submodule-bump
branch with auto-merge armed; repeat runs update that PR instead of opening new ones.
Each submodule repo triggers the workflow via repository_dispatch (submodule-update)
on push to its main. Monorepo main pushes that change submodule gitlinks trigger a
continuation to pick up deferred tips after a queued bump merges. A cron run every
30 minutes is the backstop; manual workflow_dispatch handles urgent bumps. The
repository_dispatch notifications are sent by the submodule repos using the
MONOREPO_DISPATCH_TOKEN secret (stored in each submodule repo; a fine-grained PAT with
contents:write on intent-hq/intent), and are fail-soft: when the secret is absent
the notify step logs a warning and skips, and the cron backstop still advances the pins.
The workflow owns pin advancement: the submodule-pins CI job fails any monorepo PR
whose diff moves a packages/* gitlink unless its head branch is auto/submodule-bump
or it carries the submodule-pin-intended label. The consumer checks — make consumer-checks
(method and event catalogs, protocol→FE field parity, docs-check, check-makefile-targets) —
run against the pins in the monorepo docs-check job and, through the reusable
.github/workflows/consumer-checks.yml, as monorepo-consumer-checks on every intentd and
cloudlands-fe PR against that PR's head. Docs lead the pin, by direction: for an
addition the monorepo docs PR its table names lands first (the checks only warn until
the component catches up), then re-run the upstream job; for a removal the component
PR lands first (the upstream check warns about the now-extra docs entry; a docs-first
removal is rejected as a component extra) and the docs entry is removed after the bump. A
rename is an addition: document the new name first, keeping the old entry, rename in
the component, then drop the old entry after the bump. check-mcp-bindings is advisory
upstream (the auto-bump regenerates its index in the bump commit, so a help-line change
needs no manual pin PR), and a Makefile change that depends on an intentd PR still waits
for the auto-bump (check-makefile-targets). For an urgent bump, dispatch the workflow
instead of filing a PR:
gh workflow run auto-bump-submodules.ymlThe workflow authenticates with the SUBMODULE_BUMP_TOKEN secret — a fine-grained PAT
with contents:read on intent-hq/intentd, intent-hq/cloudlands-fe, and
intent-hq/ios, plus contents:write and pull-requests:write on intent-hq/intent.
Like INTENTD_RELEASES_TOKEN / MONOREPO_ISSUES_TOKEN, it is fail-soft: when the
secret is absent the workflow logs a warning and exits successfully. The private
packages/ios submodule is best-effort — if its tip cannot be read, it is skipped
with a warning and never fails the run.
Cross-component features (intentd + cloudlands-fe)
For features that need changes in both intentd and cloudlands-fe, development and PR
filing on both repos proceed fully in parallel — nothing serializes until merge time.
Both merges require explicit human permission (see Conventions → Merging), and the
only ordering constraint is the final merge: do not merge the cloudlands-fe PR
(or arm auto-merge on it, or add it to the merge queue) until the intentd PR is
confirmed merged — approved/green is not enough. This intentd-first rule applies
specifically to protocol changes (the daemon↔fe wire contract, docs/protocol/):
whenever a feature touches the protocol, the daemon side must land first.
Rationale: cloudlands-fe may depend on daemon
behavior/protocol that only exists once the intentd change has landed, so an fe-first
merge can break main or ship against a contract that doesn't exist yet. This rule is
about submodule PR merges, not monorepo bumps — after both are merged, the
auto-bump-submodules workflow advances both monorepo pins automatically (a single
rolling bump PR may cover both submodule refs); do not file a manual bump PR.
Manual test builds (optional, for complex changes)
For complex features/fixes (intentd and/or cloudlands-fe), a manual signed test
build is available to test the full stack from the PR branches: dispatch
cloudlands-fe's manual-signed-build.yml on the cloudlands-fe PR branch to produce a
manual .dmg carrying the full stack:
gh workflow run manual-signed-build.yml --repo intent-hq/cloudlands-fe \
--ref <fe-pr-branch> -f build_macos=true -f intentd_ref=<intentd PR head SHA>intentd_ref accepts any intent-hq/intentd git ref (full 40-char commit SHA, branch,
or tag) and compiles the intentd sidecar from source in-workflow; see
docs/fe/DEPLOYING.md.
The same route works for complex cloudlands-fe-only changes — omit intentd_ref
to get the pinned intentd.
Exception — SQLite schema changes: features/fixes that add or change intent-store migrations must not be tested via this manual-install route: running the hash-built daemon applies its migrations and mutates the tester's local database, with no rollback.
Conventions
- Conventional commits are required. PR titles are validated by CI
(
amannn/action-semantic-pull-request) against:feat,fix,chore,docs,refactor,test,ci,perf. - Never quote the literal breaking-change footer token. release-please/release-plz
treat
BREAKING CHANGE:/BREAKING-CHANGE:(andRelease-As:) appearing anywhere in a commit body as a real footer — a commit that merely quotes the token causes a false major bump (or, forRelease-As:, a forced pinned version); this accidentally cut cloudlands-fe v3.0.0 — see intent-hq/monorepo#2988. Squash merges include every branch commit message in the squash body, so the token in any branch commit still lands on main. Never write the literal token in commit messages, PR titles/bodies, or review comments unless an actual breaking change is intended; when describing the mechanism, write "the breaking-change footer token" or similar instead. - Merging: agents must NEVER merge a PR, arm auto-merge, or add a PR to the
merge queue — in this repo or any submodule repo — without explicit permission from
a human. Approved + green checks is not enough. Repo-owned automation is exempt
(auto-bump-submodules, auto-pin-intentd, auto-cut-alpha, and the release PR
workflows merge their own rolling PRs). Ordinary
mainPRs in all three repos use a merge queue: after human permission,gh pr merge --squashenqueues them until the queue's gate passes. Component auto-cut may directly merge validated release metadata under the approved CI exemption and existing readiness guards (details). Main rules are committed in.github/rulesets/*.main.json; the bypass contract in.github/rulesets/*.bypass.jsonallowsintent-hq-cion the two component Default rulesets only (none for the monorepo or organization). Rules are compared with the live configuration byruleset-checkCI and daily byruleset-drift.yml; after an intended ruleset change, runmake check-rulesets UPDATE=1and commit the result in the same PR. The bypass half needs theRULESET_ADMIN_TOKENsecret (a fine-grained PAT with administration read on intent, intentd and cloudlands-fe — GitHub returnsbypass_actorsonly to such a caller) and is fail-soft: without it the bypass actors are skipped with a warning, so set it locally too when runningUPDATE=1for a bypass change. The bypass-actor comparison is deliberately confined toruleset-drift.yml, which runs main's code; theruleset-checkCI job runs the script from the PR head or the merged tree, so it never receives the token and skips the bypass actors. A PR whose gate is red cannot enter the queue, and the queue reruns CI on the actual merged tree (merge_groupruns of the same check) before landing. A monorepo PR also cannot enter the queue while any review thread is unresolved: auto-merge arms but the PR stays BLOCKED outside the queue (intent-hq/intent#4959), so confirmws.pr.snapshot(N).requirements.threads.unresolvedis 0 before enqueueing.--autoenqueues once still-pending PR checks pass; its "The merge strategy for main is set by the merge queue" output is informational, not an error. Amerge_groupfailure ejects the PR (it does not land): the timeline records aRemovedFromMergeQueueEventwithreason: failed_checks(a check that does not report within the queue's timeout counts as failed), surfaced byws.pr.snapshot/ws.pr.monitorasmergeQueueEjection. An ejected PR is not re-queued on its own: fix the cause and re-enqueue withgh pr merge --squash --auto. The queue's squash uses the same title rules as a direct squash merge: on a single-commit PR the commit title defaults to that commit's message headline; on a multi-commit PR it defaults to the PR title. The commit message includes all commit messages from the PR either way. On single-commit PRs, ensure the branch commit message is itself a valid conventional commit (amend auto-commits like "Coordinator" before pushing) to prevent non-conventional commits from landing on main (e.g., PR #102 incident); on multi-commit PRs, ensure the PR title is a valid conventional commit, since it is what lands as the squash title. - Changelogs are generated with
git-cliff(seecliff.toml). - Rust: run the package gates before opening a PR —
make check/make testalso run frompackages/intentd(its Makefile forwards them to the root); seepackages/intentd/AGENTS.md→ Gates. Coverage runs on CI (intentd ci.yml'scoverage-e2e/coverage-alljobs);make coverage-e2e/make coverage-allfrom the monorepo root reproduce it locally —make testexcludes these slow runs.
Resuming local Rust gates
make gaterunsmake checkthen the full nextest suite;make testis test-only (resume records apply only to nextest —gatealways reruns the lints).- When the full suite is impractical, run
make test-changedbefore enqueueing: intentd'sscripts/changed-tests.shpicks the nextest targets changed vsorigin/main(BASE=<ref>;DRY_RUN=1prints the plan) and falls back to the full suite on manifest/lockfile/nextest-config changes.make coverage-changedruns it under llvm-cov — the local equivalent of the PRcoverage-changedjob. make test/make test-changedwrite a resume record (junit + passed-test stream in$HOME/.cache/intent/gate-runs, 7-day expiry) and print itsrecord:path when tests ran (a fully resumed run prints only a skip count).RESUME=1skips tests recorded as passed for the same worktree (tracked and untracked), submodule pointers, toolchain, lockfile and nextest config (GATE_FORCE=1ignores it). To continue past a known flake,RESUME=1 NO_FAIL_FAST=1 make test-changed(ormake test) runs the rest to completion, records them, and exits non-zero if anything failed (intent-hq/intent#5645).- Run long gates as saved command-mode
ws.scriptentries (ws.script.start, a self-checkingws.hook.scheduleonws.script.status, thenws.script.output). The hook must dispatch ons.status === "exited" && s.exitCode !== undefined— never on "not running":startingis live, and anything else fired a false wake on the validation run (intent-hq/intent#4858).exitCode === -1means the supervisor could not observe the exit (process lost, or a command script running when the daemon stopped) — reads.errorand treat as failure.ws.script.runrejectstimeoutSecondsabove budget − 5s (25s default). Saved scripts are PTY-backed, so use themaketargets (no progress bars or pagers;make list-testsfor nextest discovery) — barecargo/git/ghwithout--no-pageror that env flood the buffer or stall onless.
Release Process
The full pipeline detail (workflows, secrets, dispatch types, fail-soft semantics, guardrails) lives in docs/RELEASING.md. The agent-facing rules:
- Releases are per-component and channel-based: merging a release PR publishes to the rolling alpha channel automatically; beta and stable are manual promotions of existing releases (no new build).
- The pipeline is event-chained (intentd alpha publish → cloudlands-fe pin bump → fe alpha cut), with cron backstops: hourly pin bumps and ten-minute frontend cut attempts, subject to the automated hourly release floor.
- Never file routine pin-bump PRs — the workflows own pin advancement (the monorepo
submodule-pinscheck enforces this; see Phase 2 above). The one sanctioned exception is the cloudlands-feintentd.versionpin under the emergency-release procedure in docs/RELEASING.md. Track shipped work: a workspace that changed intentd and/or cloudlands-fe is NOT done when the PRs merge — monitor until the work ships in a cloudlands-fe alpha, then set the final workspace status message to the carrying version (e.g. "Shipped in cloudlands-fe vX.Y.Z (alpha)."; intentd-only changes ride the chained fe alpha, so the version is always the cloudlands-fe tag).
scripts/shipped-in.sh <component> <sha>...(one or more pairs; ormake shipped-in COMPONENT=... SHA=.../PAIRS="intentd:<sha> cloudlands-fe:<sha>") is the canonical detector: it prints the first intent-hq/cloudlands-releases tag carrying every listed commit (for intentd, via theintentdVersionpin in that tag'srelease-manifest.json); exits 3 while any is uncarried; exits 4 on a transient GitHub failure (rate limit, 5xx, network) the next poll simply retries; and exits 5 when the active cloudlands-fe Release Alpha run has a job queued longer than 30 min (SHIPPED_IN_STALL_MINUTESoverrides;0disables the probe) — a stalled runner pool needs a human to cancel and re-run the workflow run named on stderr (run 34716428577 sat queued ~5.5 h, delaying the release by as much). Never block a turn polling — schedule this hook after replacing the placeholders (drop the pair for a component you did not change):await ws.hook.schedule({ name: "Wait for shipped alpha", delayMs: 600_000, ttlMs: 21_600_000, code: `const run = await ws.host.exec({ command: "scripts/shipped-in.sh", args: ["intentd", "<INTENTD_SHA>", "cloudlands-fe", "<FE_SHA>"], timeoutMs: 120_000, }); if (run.exitCode === 0) return { dispatch: true, message: "Shipped in cloudlands-fe " + run.stdout.trim() }; if (run.exitCode === 5) return { dispatch: true, message: "Release pipeline stalled — ask someone with runner access to cancel/re-run: " + run.stderr.trim() }; if (run.exitCode === 3 || run.exitCode === 4) return { dispatch: false }; throw new Error("shipped-in failed (exit " + run.exitCode + "): " + run.stderr.trim());`, });Before the final status, complete the ergonomics retrospective.
- Monorepo-only work (docs, Makefile, CI, scripts) ships nothing to the alpha channel, so it needs no release monitoring or shipped-version status message.
- Website release notes after a stable promotion: a cloudlands-fe stable promotion
is followed by a PR on
intent-hq/intentapp.devupdating the docs Updates section (Latest Release + Release History insrc/pages/docs.astro). Agents propose that PR for review and never merge it (the never-merge-without-permission rule above applies); the procedure and copy prompt are in docs/fe/RELEASING.md § Promoting to Stable.
Closing a workspace — ergonomics retrospective
Once work is merged or shipping, and before the final workspace status message, run the repo-retrospective skill for the full prompt.
Land each finding on the strongest available enforcement rung:
- Make the mistake impossible with types, goldens, or a protocol contract.
- Catch it mechanically before merge with a lint, CI check, or test.
- Make the right path discoverable with a "Where to look" row, Makefile target, or script.
- Add an AGENTS.md prose rule only as a last resort, citing the linked incident.
Channel: Propose one follow-up workspace per coherent improvement; give its prompt the
goal, evidence, proposed rung, and verification. In Intent use ws.workspace.proposeSibling;
delegated/background agents hand the finding to their parent. Outside Intent, file an
intent-hq/intent issue with agent-workflow and agent-filed. Never bundle the improvement
into the feature PR.
Budget: AGENTS.md prose must replace or compress existing text or be justified by a linked incident. Prefer mechanizing an existing prose rule over adding another.
Filing Issues
File issues on intent-hq/intent, the single tracker for all components, only for problems affecting released builds. Do not file issues discovered during PR reviews. Every issue filed must include the affected released version and corresponding commit hash in its body.
- Type: classification is the GitHub issue Type field —
Bug,Feature, orTask— not a label. Thebugandenhancementtype labels are retired: do not apply them (triage retires them — on the issue's open / edit / reopen, or as soon as the label is applied — after setting the matching Type; thequestionlabel stays a regular label). Set the Type when filing:gh issue create --repo intent-hq/intent --type Bug ....make doctorenforces gh >= 2.94.0; if--typeis unrecognized, runmake bootstrap-dev-hostto upgrade. - Labels: apply the appropriate
component:*label (component:intentd,component:fe,component:ios) plusagent-filed. - Aggressive dedup: search existing issues first
(
gh issue list --repo intent-hq/intent --search "<keywords>" --state all) and comment on / link the existing issue instead of filing a duplicate. - Cross-reference: reference the issue number in related commits/PRs (e.g.
fix: correct panel focus (#123)); in submodule PRs use the closing keyword on every PR of the fix, per Phase 1 — Submodule PRs.
Working on Issues
- Assign on start: when you begin work on an
intent-hq/intentissue, assign it to the human driving the work before the first commit:gh issue edit <N> --repo intent-hq/intent --add-assignee @me. - Already assigned to someone else: leave it and tell the user.
Terminology
Do not leak coordinator-internal sequencing labels from a single agent's delegation flow into committed documentation. Describe progress as capabilities or milestones instead (e.g. "Repo & CI bootstrap", "Crate skeleton", "Core + SQLite store", "UDS JSON-RPC slice").
Local Setup
git submodule update --init --recursive # skips the private packages/ios (update = none)
make doctor # report gaps; BOOTSTRAP_YES=1 make bootstrap-dev-host installs missing prerequisites
export PATH="${CARGO_INSTALL_ROOT:-${CARGO_HOME:-$HOME/.cargo}}/bin:$PATH"
command -v cargo-sweep >/dev/null 2>&1 || cargo install cargo-sweep --locked
command -v cargo-nextest >/dev/null 2>&1 || cargo install cargo-nextest --locked
make check
make testDoes 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.

