
invariance-ai/gps
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
コーディングエージェントのコードベースコンテキスト。 構造 + 試験 + 実証 + 差異, MCP 上で呼び出し可能な.
概要
あなたのレポが一度働く方法をあなたのコーディングの代理店に教える。 関連するコードがタッチされたときにGPSがメモリをバックアップします。 gpsは、Claudeコード、Codex、Cursor、およびシェルベースのコーディングエージェントのメモリレイヤーです。 人間は通常、繰り返す必要があります。 慣行、ベストプラクティス、ユーザーの好み、不変性、決定、TODO、テストコマンド、および過去の編集からのハード・ウォンのレッスン。 それからそれは代理店の編集の前に関連した切れを取除きます。 — コマンド参照、および docs のセットアップ gps は、コードのエージェントのメモリを与えます。 tars は、どのように動作するかを教えています。それは、最もクリーンなセッション(編集前に説明、テストをする前に)からオーケストレーションメソッドを学び、次のプロンプトでそれを返します。 知識+方法。 リポジトリのルートから1つのコマンド。 使用する代理店を選ぶ: npx -y @invariance/gps の設定 --yes --with-claude --with-codex --with-cursor で複数の統合を一度にインストールします。 グローバルインストールを優先しますか?
概要(AI 翻訳)
あなたのレポが一度働く方法をあなたのコーディングの代理店に教える。 関連するコードがタッチされたときにGPSがメモリをバックアップします。
[gpsは、クロードコード、コーデックス、カーソル、シェルベースのコーディングエージェントのメモリレイヤーです。 人間は通常、繰り返す必要があります。 慣行、ベストプラクティス、ユーザーの好み、不変性、決定、TODO、テストコマンド、および過去の編集からのハード・ウォンのレッスン。 それからそれは代理店の編集の前に関連した切れを取除きます。
製品ページ → useinvariance.com/product/gps — それは何ですか、コマンドリファレンス、および docs のセットアップ。
** tars のペア。** gps は、your のコードのエージェントのメモリを与えます。 tars は、how to work を教えます。それは、最もクリーンなセッション(編集前に、テストをする前に)からオーケストレーションメソッドを学び、次のプロンプトに送ります。 知識+方法。
コンテンツ
- クイックスタート
- なぜ gps
- アクションのコアループ
- コマンド
- エージェントの統合
- キャプチャ&プロモーションポリシー
- コンセプト:ノート、不変、決定
- 比較方法
- ベンチマーク
- 実験:ライブドキュメント
- ステータスと制限
- ライセンス
クイックスタート
リポジトリのルートから1つのコマンド。 使用する代理店を選ぶ:
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
gps — repo memory for coding agents
Teach your coding agent how your repo works once. GPS brings that memory back when the relevant code is touched.
gps is a memory layer for Claude Code, Codex, Cursor, and shell-based coding agents. It stores the things humans usually have to repeat: repo conventions, best practices, user preferences, invariants, decisions, TODOs, test commands, and hard-won lessons from past edits. Then it retrieves the relevant slice before the agent edits.
Product page → useinvariance.com/product/gps — what it is, the command reference, and setup docs.
Pairs with tars. gps gives your agent memory of your code; tars teaches it how to work — it learns the orchestration method from your cleanest sessions (explore before editing, test before done) and feeds it back on the next prompt. Knowledge + method.
Contents
- Quickstart
- Why gps
- The core loop in action
- Commands
- Agent integration
- Capture & promotion policy
- Concepts: notes, invariants, decisions
- How it compares
- Benchmarks
- Experimental: live docs
- Status & limitations
- License
Quickstart
One command from the repo root. Pick the agent you use:
cd your-repo
npx -y @invariance/gps setup --yes --with-claude # Claude Code
npx -y @invariance/gps setup --yes --with-codex # Codex CLI
npx -y @invariance/gps setup --yes --with-cursor # Cursor
Install several integrations at once: npx -y @invariance/gps setup --yes --with-claude --with-codex --with-cursor. Prefer a global install? npm install -g @invariance/gps && gps setup --yes --with-claude.
setup does the full first-run path: writes .gps/config.yml and .gps/invariants.yml, builds .gps/index/symbols.json, lifts TODO(symbol): and FIXME(symbol): comments into notes, and installs the selected agent integration.
Then it’s normal agent usage. This is the core loop to remember:
gps next # first useful commands after install
gps prepare --intent "what I am about to change" # decision-ready brief before edits
gps remember "hard-won fact worth reusing" # save a durable lesson
gps save-this "use the shared errors module here" --symbol createRefund # preview a save command
gps remember "still need to update the fixture" --reminder --symbol createRefund
gps done # post-edit self-audit: changed symbols, tests, invariants
gps doc --base HEAD # optional shareable review doc for the diff
インストール
npx -y @invariance/gps setup --yes --with-claude # Claude Code