Run every `pip install -e` from this repo root — never from a `.kilo/worktrees/*` worktree. A worktree-targeted editable install shadows the working tree with stale code in any context that resolves i
Imported from Matthew12045/graphwar-sim (AGENTS.md). Install upstream with npx skills add Matthew12045/graphwar-sim. Copyright stays with the author.
AGENTS.md
Editable installs must point at the repo root
Run every pip install -e from this repo root — never from a .kilo/worktrees/*
worktree. A worktree-targeted editable install shadows the working tree with
stale code in any context that resolves imports off sys.path instead of CWD
(script files run by path, multiprocessing spawn workers), while python -m
and stdin runs still see the real tree — so different entry points silently
measure different code.
Symptom: two runs of the same solver on the same seeds disagree on outcomes.
Check first: python3 -m pip show graphwar-sim — Editable project location
must be /Users/matthurindo/graph_war. Fix: python3 -m pip install -e . --no-deps.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/matthew12045-graphwar-sim-graphwar-sim/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "matthew12045-graphwar-sim-graphwar-sim",
"kind": "skill",
"name": "graphwar-sim",
"description": "Run every `pip install -e` from this repo root — never from a `.kilo/worktrees/*` worktree. A worktree-targeted editable install shadows the working tree with stale code in any context that resolves imports off `sys.path` instead of CWD (script files run by path, `multiprocessing` spawn workers), while `python -m` and stdin runs still see the real tree — so different entry points silently measure different code.",
"publisher": "Matthew12045",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-agents"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Run every `pip install -e` from this repo root — never from a `.kilo/worktrees/*` worktree. A worktree-targeted editable install shadows the working tree with stale code in any context that resolves imports off `sys.path` instead of CWD (script files run by path, `multiprocessing` spawn workers), while `python -m` and stdin runs still see the real tree — so different entry points silently measure different code."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-agents",
"repository": "https://github.com/Matthew12045/graphwar-sim",
"path": "AGENTS.md",
"ref": "7b82d0e119affd89ded0c46a3db597c956600e15",
"url": "https://github.com/Matthew12045/graphwar-sim/blob/7b82d0e119affd89ded0c46a3db597c956600e15/AGENTS.md",
"key": "Matthew12045/graphwar-sim/AGENTS.md"
}
},
"instructions": "# AGENTS.md\n\n## Editable installs must point at the repo root\n\nRun every `pip install -e` from this repo root — never from a `.kilo/worktrees/*`\nworktree. A worktree-targeted editable install shadows the working tree with\nstale code in any context that resolves imports off `sys.path` instead of CWD\n(script files run by path, `multiprocessing` spawn workers), while `python -m`\nand stdin runs still see the real tree — so different entry points silently\nmeasure different code.\n\nSymptom: two runs of the same solver on the same seeds disagree on outcomes.\n\nCheck first: `python3 -m pip show graphwar",
"cost": {
"context_tokens": 180
}
}
Fetch it by URL: GET /api/v1/registry/matthew12045-graphwar-sim-graphwar-sim/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.