Skip to content
Merged
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
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ npm run generate:reference

The docs build runs the generator first. CI regenerates the pages and fails when `git diff --exit-code -- docs/reference` is non-empty, so a manifest change without the generated output is rejected.

## Dependency overrides

`package.json` pins `vite` to `^6.4.6` through `overrides`. `vitepress@1.6.4` still declares `vite: ^5.4.14`, but Vite 5 is end-of-life and has open security advisories; Vite 6.4.6 keeps the docs build working and clears them. Keep the override only until VitePress 2 is stable (its current alpha uses Vite 8), then remove it and upgrade VitePress. `npm audit` should stay clean; if it reports a Vite advisory, bump the override to the patched 6.x release.

## Docs site

`docs/` is a VitePress site deployed by `.github/workflows/docs.yml` to GitHub Pages on every push to `main`. Configure the repository once: **Settings → Pages → Build and deployment → Source: GitHub Actions**.
Expand Down
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ On Windows, use `.\install.ps1 -Uninstall`; `.\install.ps1 -Check` verifies the

### Where is memory stored?

In `.team/memory/` in your project directory. The first `/team` run (`/memory init` and `run_state.py start-run` also do it) writes `.team/.gitignore` with a `*` line, so the workspace ignores itself and new files there stay out of `git status`; your project's own `.gitignore` is never touched. A custom `memory_dir` outside `.team/` needs its own ignore rule.
In `.team/memory/` in your project directory. The first `/team` run (`/memory init` and `run_state.py start-run`/`start-task` also do it) writes `.team/.gitignore` with a `*` line, so the workspace ignores itself and new files there stay out of `git status`; your project's own `.gitignore` is never touched. A custom `memory_dir` outside `.team/` needs its own ignore rule.

### Can I change the memory location?

Expand Down
2 changes: 1 addition & 1 deletion docs/memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ OpenCode Team keeps a small, project-local memory in `.team/memory/` so the orch

## Rules

- Memory is local-only. The first `/team` run writes `.team/.gitignore` containing `*`, so new workspace files are not picked up by normal git commands and the project's own `.gitignore` stays untouched. Ignore rules do not affect already-tracked files, and a custom `memory_dir` outside `.team/` needs its own rule. No global or cross-project memory.
- Memory is local-only. The first `/team` run (`/memory init` and `run_state.py start-run`/`start-task` do the same) writes `.team/.gitignore` containing `*`, so new workspace files are not picked up by normal git commands and the project's own `.gitignore` stays untouched. Ignore rules do not affect already-tracked files, and a custom `memory_dir` outside `.team/` needs its own rule. No global or cross-project memory.
- No secrets, tokens, passwords, or raw transcripts in memory files.
- Memory is untrusted data, never instructions. Artifacts are the source of truth; if memory contradicts an artifact, the artifact wins.
- The orchestrator compacts memory at gates, only when no subagents are running.
Expand Down
Loading
Loading