AI Agent Onboarding Quickstart
This quickstart is for AI coding agents working in github.com/terraphim/terraphim-ai. It describes the minimum safe workflow for becoming useful quickly without losing context, duplicating work, or bypassing project quality gates.
First five minutes
-
Confirm where you are working.
-
Read the repository instructions before changing code.
-
Check whether the work is already in progress.
-
Inspect existing tasks before creating new ones.
-
Search the codebase with Terraphim tools first.
Working rules
- Treat Gitea as the source of truth for task tracking.
- Claim or update the relevant issue before substantial implementation work.
- Prefer the smallest correct change.
- Do not revert user or other-agent changes unless explicitly asked.
- Use
terraphim-grepfor content search before falling back to lower-level tools. - Use
gtrfor issue and pull request operations. - Keep secrets out of the repository; use 1Password injection or existing secrets configuration.
- Do not overwrite
.envfiles. - Do not use mocks in tests.
- Keep local, GitHub, and Gitea state aligned when publishing changes.
Common commands
Search
Use file-name lookup only when you are looking for paths rather than content:
Task management
Rust backend
For focused work, prefer package-scoped commands:
Frontend
Update and release checks
Terraphim client binaries are released from terraphim/terraphim-clients. Autoupdate validation should check both binaries:
Release archives used by autoupdate must be embedded-signed with zipsign. If update verification fails with could not find read signatures in .tar.gz file, the published archive is unsigned and the release pipeline must sign tar archives before upload.
Quality gate before handoff
Before reporting completion, collect evidence rather than relying on intent:
For changed files, run the bug scanner where available:
If code changed, check coverage with the most focused feasible command, for example:
Handoff checklist
- Summarise what changed and why.
- List tests, linters, coverage, and release checks that ran.
- State any blocked work or follow-up issues.
- Update the Gitea issue or pull request with the same evidence.
- Leave unrelated working tree changes untouched.