arm101-cli 0.3.2__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- arm101_cli-0.4.0/.claude/skills/recall/SKILL.md +181 -0
- arm101_cli-0.4.0/.claude/skills/recall/scripts/recall.sh +141 -0
- arm101_cli-0.4.0/.claude/skills/remember/SKILL.md +118 -0
- arm101_cli-0.4.0/.claude/skills/remember/scripts/remember.sh +138 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/CHANGELOG.md +31 -0
- arm101_cli-0.4.0/CLAUDE.md +155 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/PKG-INFO +4 -4
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/README.md +3 -3
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/explain/catalog.py +5 -1
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/pyproject.toml +1 -1
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/tests/test_cli.py +23 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/uv.lock +31 -31
- arm101_cli-0.3.2/CLAUDE.md +0 -28
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/agent-config/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/agent-config/data/backend-fingerprints.yaml +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/agent-config/scripts/show.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/ask-colleague/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/ask-colleague/prompts/explore.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/ask-colleague/prompts/review.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/ask-colleague/prompts/write.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/ask-colleague/scripts/ask-colleague.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/assign-to-workforce/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/assign-to-workforce/scripts/assign-to-workforce.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/cicd/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/cicd/scripts/_resolve-nick.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/cicd/scripts/portability-lint.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/cicd/scripts/pr-reply.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/cicd/scripts/pr-status.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/cicd/scripts/workflow.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/communicate/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/communicate/scripts/fetch-issues.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/communicate/scripts/mesh-message.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/communicate/scripts/post-comment.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/communicate/scripts/post-issue.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/communicate/scripts/templates/skill-new-brief.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/communicate/scripts/templates/skill-update-brief.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/doc-test-alignment/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/doc-test-alignment/scripts/check.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/pypi-maintainer/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/pypi-maintainer/scripts/switch-source.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/run-tests/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/run-tests/scripts/test.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/sonarclaude/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/sonarclaude/scripts/sonar.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/spec-to-plan/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/spec-to-plan/scripts/spec-to-plan.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/think/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/think/scripts/think.sh +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/version-bump/SKILL.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/version-bump/scripts/bump.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills.local.yaml.example +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.flake8 +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.github/workflows/publish.yml +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.github/workflows/tests.yml +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.gitignore +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/.markdownlint-cli2.yaml +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/AGENTS.colleague.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/LICENSE +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/__init__.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/__main__.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/cli/__init__.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/cli/_commands/__init__.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/cli/_commands/cli.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/cli/_commands/doctor.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/cli/_commands/explain.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/cli/_commands/learn.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/cli/_commands/overview.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/cli/_commands/whoami.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/cli/_errors.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/cli/_output.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/arm101/explain/__init__.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/culture.yaml +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/docs/skill-sources.md +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/sonar-project.properties +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/tests/__init__.py +0 -0
- {arm101_cli-0.3.2 → arm101_cli-0.4.0}/tests/test_cli_introspection.py +0 -0
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: recall
|
|
3
|
+
type: command
|
|
4
|
+
description: >
|
|
5
|
+
Search the shared eidetic memory store and get back ranked, provenanced
|
|
6
|
+
records. Drives `eidetic recall` with four search modes — exact (verbatim
|
|
7
|
+
substring), approximate (vector/semantic), keyword (BM25 lexical), and hybrid
|
|
8
|
+
(a weighted blend of vector+keyword, the default) — each hit carrying its
|
|
9
|
+
text, full metadata, a relevance `score`, and a freshness `signal`. Recall
|
|
10
|
+
passively reinforces matched records (bumps last_recall + recall_count).
|
|
11
|
+
Shadowed and archived records are excluded by default; use
|
|
12
|
+
--include-shadowed / --include-archived to retrieve them. The store lives at
|
|
13
|
+
~/.eidetic/memory (a home-dir path outside any git worktree); the wrapper
|
|
14
|
+
defaults queries to this agent's PERSONAL, PRIVATE scope (`--scope arm101-cli
|
|
15
|
+
--visibility private`, suffix read from culture.yaml) — matching where
|
|
16
|
+
/remember writes — so a no-flag recall returns this agent's own private records
|
|
17
|
+
plus the shared public pool, and Claude and the colleague backend recall each
|
|
18
|
+
other's memories because both resolve the same suffix via this skill. Use
|
|
19
|
+
when the user says "recall", "what do we know about X", "search memory",
|
|
20
|
+
"have we seen X before", "look it up in memory", "eidetic recall", or before
|
|
21
|
+
answering from scratch when prior context may already be stored. Pairs with
|
|
22
|
+
the sibling /remember skill.
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# recall — search the shared eidetic memory
|
|
26
|
+
|
|
27
|
+
`recall` drives **`eidetic recall`**: given a query, it returns the top-k stored
|
|
28
|
+
records ranked by relevance, each with its `text`, full `metadata` (provenance),
|
|
29
|
+
a numeric `score`, and a freshness `signal`. It is the read half of the memory
|
|
30
|
+
surface; the write half is the sibling **/remember** skill.
|
|
31
|
+
|
|
32
|
+
The point of a *shared* store is that memory is a **team faculty**, not a
|
|
33
|
+
per-agent silo: a record Claude wrote is recallable by the colleague backend
|
|
34
|
+
(and vice versa), because both resolve the same `~/.eidetic/memory` path.
|
|
35
|
+
|
|
36
|
+
## How to run
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
bash .claude/skills/recall/scripts/recall.sh "<query>" [flags...]
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The wrapper resolves the CLI portably (installed `eidetic` on `PATH`, else
|
|
43
|
+
`uv run eidetic` from the checkout) and forwards every flag verbatim, so it is
|
|
44
|
+
exactly `eidetic recall …`. Run it from anywhere; the store is the same.
|
|
45
|
+
|
|
46
|
+
## Search modes (`--mode`, default `hybrid`)
|
|
47
|
+
|
|
48
|
+
| Mode | What it matches | Needs embed server? |
|
|
49
|
+
|------|-----------------|---------------------|
|
|
50
|
+
| `exact` | case-insensitive verbatim substring (`--case-sensitive` to tighten) | no — offline-safe |
|
|
51
|
+
| `approximate` | vector cosine / semantic similarity | yes (falls back offline) |
|
|
52
|
+
| `keyword` | BM25 lexical; only records sharing a query term | no — offline-safe |
|
|
53
|
+
| `hybrid` | `alpha*approximate + (1-alpha)*keyword` (`--alpha`, default 0.5) | uses it when up |
|
|
54
|
+
|
|
55
|
+
`hybrid` is the default because the two signals cover each other's blind spots:
|
|
56
|
+
vector catches paraphrases, keyword catches exact ids/quotes. When the embed
|
|
57
|
+
server is unreachable, `hybrid` collapses to keyword-only (it never fuses
|
|
58
|
+
meaningless offline-fallback cosine).
|
|
59
|
+
|
|
60
|
+
## Output fields
|
|
61
|
+
|
|
62
|
+
Each hit in `--json` output includes:
|
|
63
|
+
|
|
64
|
+
| Field | Notes |
|
|
65
|
+
|-------|-------|
|
|
66
|
+
| `id` | stable record identity |
|
|
67
|
+
| `text` | the stored chunk |
|
|
68
|
+
| `type` | record type |
|
|
69
|
+
| `metadata` | full provenance, round-tripped verbatim from ingest |
|
|
70
|
+
| `score` | relevance score from the chosen search mode (freshness-blended) |
|
|
71
|
+
| `signal` | freshness strength in [0, 1]; computed at recall time from age, recall frequency, and staleness |
|
|
72
|
+
| `created` | ISO-8601 ingest date (may be DATE_UNKNOWN for legacy records) |
|
|
73
|
+
| `last_recall` | ISO-8601 timestamp of the most recent recall hit (null if never recalled) |
|
|
74
|
+
| `recall_count` | number of times this record has been recalled (passive reinforcement counter) |
|
|
75
|
+
| `lifecycle` | `active`, `shadowed`, or `archived` |
|
|
76
|
+
| `links` | list of related-memory ids |
|
|
77
|
+
|
|
78
|
+
## Freshness signal
|
|
79
|
+
|
|
80
|
+
Every `recall` hit carries a `signal` field (float in `[0, 1]`). The signal
|
|
81
|
+
blends **multiplicatively** into the lexical/vector score so recently-created
|
|
82
|
+
and frequently-recalled records surface ahead of stale ones. The formula:
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
access_bonus = min(0.5, recall_count * 0.05)
|
|
86
|
+
age_factor = 1 / (1 + days_since_creation * 0.01)
|
|
87
|
+
staleness = days_since_last_recall * 0.01
|
|
88
|
+
signal = clamp((0.5 - staleness + access_bonus) * age_factor, 0, 1)
|
|
89
|
+
blended_score = score * (1 + 0.25 * (signal - 0.5))
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Records with no temporal data (legacy, undated) are an exact no-op — the blend
|
|
93
|
+
is skipped for them so pre-existing fixture scores are unchanged.
|
|
94
|
+
|
|
95
|
+
Each `recall` call is also **passive reinforcement**: it bumps `last_recall` and
|
|
96
|
+
`recall_count` on every matched record, so frequently-recalled memories organically
|
|
97
|
+
gain signal strength over time.
|
|
98
|
+
|
|
99
|
+
## Lifecycle flags
|
|
100
|
+
|
|
101
|
+
By default, `recall` returns only `active` records. Use these flags to retrieve
|
|
102
|
+
non-active records:
|
|
103
|
+
|
|
104
|
+
- `--include-shadowed` — include records whose `lifecycle == "shadowed"` (records
|
|
105
|
+
superseded within their scope by a newer record). Shadowed records are preserved
|
|
106
|
+
and still searchable; they are just hidden from the default result set.
|
|
107
|
+
- `--include-archived` — include records whose `lifecycle == "archived"` (records
|
|
108
|
+
older than ~1 year or below the signal threshold). Archived records are fully
|
|
109
|
+
preserved; the flag makes them retrievable again.
|
|
110
|
+
|
|
111
|
+
Both flags can be combined. Neither affects ranking — shadowed/archived records
|
|
112
|
+
compete on score/signal just like active ones when included.
|
|
113
|
+
|
|
114
|
+
## Common flags (forwarded to `eidetic recall`)
|
|
115
|
+
|
|
116
|
+
- `--mode exact|approximate|keyword|hybrid` — default `hybrid`.
|
|
117
|
+
- `--top-k N` — max results (default 5).
|
|
118
|
+
- `--alpha F` — hybrid blend weight in `[0,1]` (default 0.5).
|
|
119
|
+
- `--case-sensitive` — for `--mode exact`.
|
|
120
|
+
- `--filter KEY=VALUE` — metadata facet filter (repeatable): e.g. `--filter source=docs`.
|
|
121
|
+
- `--scope NAME` / `--visibility public|private` — scope isolation (no private
|
|
122
|
+
leak). **The wrapper defaults this to the agent's PERSONAL, PRIVATE scope**
|
|
123
|
+
(`--scope arm101-cli --visibility private`, suffix read from `culture.yaml`),
|
|
124
|
+
matching where `/remember` writes — so a no-flag recall returns this agent's
|
|
125
|
+
own private records **plus** the shared public pool, while those private records
|
|
126
|
+
stay invisible to a `default`/other-scope recall. Pass `--scope`/`--visibility`
|
|
127
|
+
to query elsewhere; a wheel install with no `culture.yaml` falls back to the
|
|
128
|
+
CLI default `default`/`public`.
|
|
129
|
+
- `--backend files|mongo|neo4j` — default `files` (the shared home-dir store).
|
|
130
|
+
- `--include-shadowed` — include shadowed records in results (excluded by default).
|
|
131
|
+
- `--include-archived` — include archived records in results (excluded by default).
|
|
132
|
+
- `--json` — structured list to stdout (use this when an agent parses the result).
|
|
133
|
+
|
|
134
|
+
## Examples
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
# Default hybrid recall, JSON for an agent to parse:
|
|
138
|
+
bash .claude/skills/recall/scripts/recall.sh "jetson nano power draw" --json
|
|
139
|
+
|
|
140
|
+
# Find the exact message that mentions a phrase:
|
|
141
|
+
bash .claude/skills/recall/scripts/recall.sh "Orin Nano" --mode exact
|
|
142
|
+
|
|
143
|
+
# Keyword search, offline-safe, narrowed to a source:
|
|
144
|
+
bash .claude/skills/recall/scripts/recall.sh "thermal throttle" --mode keyword \
|
|
145
|
+
--filter source=discord --top-k 10
|
|
146
|
+
|
|
147
|
+
# Retrieve a record that was recently shadowed (its superseding record is now active):
|
|
148
|
+
bash .claude/skills/recall/scripts/recall.sh "old topic" --include-shadowed --json
|
|
149
|
+
|
|
150
|
+
# Retrieve all records including archived (to audit stale memories):
|
|
151
|
+
bash .claude/skills/recall/scripts/recall.sh "power" --include-archived --include-shadowed --json
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## Notes
|
|
155
|
+
|
|
156
|
+
- **Provenance is mandatory** on every hit — recall is for *cited* answers.
|
|
157
|
+
- The embed endpoint defaults to the local model-gear embed gear
|
|
158
|
+
(`http://localhost:8002/v1`, model `Qwen/Qwen3-Embedding-0.6B`); override with
|
|
159
|
+
`EIDETIC_EMBED_URL` / `EIDETIC_EMBED_MODEL`. `exact`/`keyword` ignore it.
|
|
160
|
+
- **Use the wrapper, not a bare `eidetic`.** The console script may not be on
|
|
161
|
+
`PATH` (in a dev checkout it isn't) — the wrapper resolves it for you (`PATH`
|
|
162
|
+
first, else `uv run eidetic`). For the docs, run `eidetic explain recall` if
|
|
163
|
+
installed, otherwise `uv run --project <eidetic-cli checkout> eidetic explain
|
|
164
|
+
recall`. (`explain` is an **`eidetic`** verb — a sibling tool like `devex`
|
|
165
|
+
won't know it.)
|
|
166
|
+
- **Reading scores:** `exact`, `keyword`, and `hybrid` drop non-matching records
|
|
167
|
+
(hybrid drops any record with a `0.0` blended score), so their hits are real
|
|
168
|
+
matches. `approximate` keeps every candidate ranked by raw cosine, so it can
|
|
169
|
+
return low/near-zero scores when the store is small — lower `--top-k` to trim.
|
|
170
|
+
A `--min-score` threshold is a tracked follow-up.
|
|
171
|
+
- **Sharing scope = one OS user.** The default store is `~/.eidetic/memory`, so
|
|
172
|
+
every agent/process running as the *same* OS user shares it (that is the point —
|
|
173
|
+
Claude + colleague). It is not isolated between OS users by anything but file
|
|
174
|
+
permissions; keep genuinely private data in a `--visibility private` scope and
|
|
175
|
+
treat the host as the trust boundary.
|
|
176
|
+
|
|
177
|
+
## Provenance
|
|
178
|
+
|
|
179
|
+
First-party to **eidetic-cli** — eidetic owns its memory surface. Cite, don't
|
|
180
|
+
import: downstream repos copy this skill, they don't symlink it. See
|
|
181
|
+
[`docs/skill-sources.md`](../../../docs/skill-sources.md).
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# recall.sh — search the shared eidetic memory store (the /recall skill).
|
|
3
|
+
#
|
|
4
|
+
# Thin, portable wrapper around `eidetic recall`. It resolves the CLI, points
|
|
5
|
+
# the embedding modes at the local model-gear embed gear (overridable), and
|
|
6
|
+
# forwards every flag verbatim — so `recall.sh "<query>" --mode hybrid --json`
|
|
7
|
+
# is exactly `eidetic recall "<query>" --mode hybrid --json`.
|
|
8
|
+
#
|
|
9
|
+
# The store is the files backend at ~/.eidetic/memory by default — a home-dir
|
|
10
|
+
# path OUTSIDE any git worktree, so Claude and the colleague backend (which runs
|
|
11
|
+
# in throwaway worktrees) read the SAME memories. Set EIDETIC_DATA_DIR to opt out
|
|
12
|
+
# of sharing; set EIDETIC_MONGO_URI / NEO4J_URI + --backend for a server store.
|
|
13
|
+
|
|
14
|
+
set -euo pipefail
|
|
15
|
+
|
|
16
|
+
# ── resolve the eidetic CLI (installed tool first, then dev checkout) ────────
|
|
17
|
+
EIDETIC=()
|
|
18
|
+
resolve_eidetic() {
|
|
19
|
+
if command -v eidetic >/dev/null 2>&1; then
|
|
20
|
+
EIDETIC=(eidetic) # installed console script — the normal case
|
|
21
|
+
return 0
|
|
22
|
+
fi
|
|
23
|
+
# Dev fallback: inside the eidetic-cli checkout, run via uv.
|
|
24
|
+
local dir
|
|
25
|
+
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
26
|
+
while [ -n "$dir" ] && [ "$dir" != "/" ]; do
|
|
27
|
+
if [ -f "$dir/pyproject.toml" ] \
|
|
28
|
+
&& grep -q '^name = "eidetic-cli"' "$dir/pyproject.toml" 2>/dev/null; then
|
|
29
|
+
if command -v uv >/dev/null 2>&1; then
|
|
30
|
+
EIDETIC=(uv run --project "$dir" eidetic)
|
|
31
|
+
return 0
|
|
32
|
+
fi
|
|
33
|
+
break
|
|
34
|
+
fi
|
|
35
|
+
dir=$(dirname "$dir")
|
|
36
|
+
done
|
|
37
|
+
cat >&2 <<'EOF'
|
|
38
|
+
error: eidetic CLI not found.
|
|
39
|
+
hint: install it with `uv tool install eidetic-cli` (or `pipx install eidetic-cli`),
|
|
40
|
+
or run from inside the eidetic-cli checkout with `uv` available.
|
|
41
|
+
The console script is `eidetic` (dist name: eidetic-cli).
|
|
42
|
+
EOF
|
|
43
|
+
return 1
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
usage() {
|
|
47
|
+
cat <<'EOF'
|
|
48
|
+
recall.sh — search the shared eidetic memory store (the /recall skill).
|
|
49
|
+
|
|
50
|
+
Usage:
|
|
51
|
+
recall.sh "<query>" [--mode exact|approximate|keyword|hybrid] [--top-k N] \
|
|
52
|
+
[--alpha F] [--case-sensitive] [--filter KEY=VALUE]... \
|
|
53
|
+
[--backend files|mongo|neo4j] [--scope NAME] [--visibility public|private] \
|
|
54
|
+
[--json]
|
|
55
|
+
|
|
56
|
+
Modes (default: hybrid):
|
|
57
|
+
exact case-insensitive verbatim substring (--case-sensitive to tighten); offline-safe
|
|
58
|
+
approximate vector cosine / semantic similarity (uses the embed server)
|
|
59
|
+
keyword BM25 lexical; only records sharing a query term; offline-safe
|
|
60
|
+
hybrid alpha*approximate + (1-alpha)*keyword (--alpha, default 0.5);
|
|
61
|
+
degrades to keyword-only when the embed server is offline
|
|
62
|
+
|
|
63
|
+
Every flag is forwarded verbatim to `eidetic recall`. See `eidetic explain recall`.
|
|
64
|
+
EOF
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
case "${1:-}" in
|
|
68
|
+
-h | --help | help | "")
|
|
69
|
+
usage
|
|
70
|
+
exit 0
|
|
71
|
+
;;
|
|
72
|
+
esac
|
|
73
|
+
|
|
74
|
+
resolve_eidetic || exit 2
|
|
75
|
+
|
|
76
|
+
# ── default to this agent's PERSONAL, PRIVATE scope (culture.yaml `suffix`) ──
|
|
77
|
+
# Query this agent's OWN personal scope by default, matching where /remember
|
|
78
|
+
# writes, instead of the global `default` scope shared by every project on this
|
|
79
|
+
# host. We read the `suffix` from the nearest culture.yaml (walking up from this
|
|
80
|
+
# script), so the scope follows the repo identity rather than being hard-coded —
|
|
81
|
+
# a downstream cite-don't-import copy adapts to its own suffix, and the colleague
|
|
82
|
+
# backend (running in a worktree of this same repo) resolves the same suffix,
|
|
83
|
+
# keeping the Claude↔colleague shared-memory story intact.
|
|
84
|
+
#
|
|
85
|
+
# The personal scope is PRIVATE by default to match /remember: in eidetic's model
|
|
86
|
+
# a private record is served only to a recall in the SAME scope (`can_serve`), so
|
|
87
|
+
# querying with --scope <suffix> --visibility private is what retrieves those
|
|
88
|
+
# isolated records (a public/default recall can't see them). Scope and visibility
|
|
89
|
+
# are paired — the private default applies only when we inject the resolved scope,
|
|
90
|
+
# and only if the caller didn't pass --visibility (so an explicit
|
|
91
|
+
# `--visibility public` still wins). An explicit --scope on the command line takes
|
|
92
|
+
# over steering entirely; a wheel install with no culture.yaml falls back to the
|
|
93
|
+
# plain CLI default (`default`/`public`).
|
|
94
|
+
resolve_scope() {
|
|
95
|
+
local dir suffix=""
|
|
96
|
+
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
97
|
+
while [ -n "$dir" ] && [ "$dir" != "/" ]; do
|
|
98
|
+
if [ -f "$dir/culture.yaml" ]; then
|
|
99
|
+
# Capture only the first non-space token after `suffix:` (so an
|
|
100
|
+
# inline `# comment` or trailing space can't bleed into the scope),
|
|
101
|
+
# then strip surrounding quotes only — matching the canonical parser
|
|
102
|
+
# in .claude/skills/cicd/scripts/_resolve-nick.sh.
|
|
103
|
+
suffix=$(sed -n \
|
|
104
|
+
's/^[[:space:]]*-\{0,1\}[[:space:]]*suffix:[[:space:]]*\([^[:space:]]*\).*/\1/p' \
|
|
105
|
+
"$dir/culture.yaml" | head -n1 | tr -d "\"'")
|
|
106
|
+
break
|
|
107
|
+
fi
|
|
108
|
+
dir=$(dirname "$dir")
|
|
109
|
+
done
|
|
110
|
+
printf '%s' "$suffix"
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
has_flag() {
|
|
114
|
+
local needle=$1
|
|
115
|
+
shift
|
|
116
|
+
local a
|
|
117
|
+
for a in "$@"; do
|
|
118
|
+
case "$a" in
|
|
119
|
+
"$needle" | "$needle"=*) return 0 ;;
|
|
120
|
+
esac
|
|
121
|
+
done
|
|
122
|
+
return 1
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
SCOPE_ARGS=()
|
|
126
|
+
if ! has_flag --scope "$@"; then
|
|
127
|
+
EIDETIC_SCOPE=$(resolve_scope)
|
|
128
|
+
if [ -n "$EIDETIC_SCOPE" ]; then
|
|
129
|
+
SCOPE_ARGS+=(--scope "$EIDETIC_SCOPE")
|
|
130
|
+
has_flag --visibility "$@" || SCOPE_ARGS+=(--visibility private)
|
|
131
|
+
fi
|
|
132
|
+
fi
|
|
133
|
+
|
|
134
|
+
# Default the embedding endpoint to the local model-gear embed gear. eidetic
|
|
135
|
+
# falls back to a deterministic offline embedding if it's unreachable, so this
|
|
136
|
+
# is safe even when the gear is down. Override by exporting these yourself.
|
|
137
|
+
: "${EIDETIC_EMBED_URL:=http://localhost:8002/v1}"
|
|
138
|
+
: "${EIDETIC_EMBED_MODEL:=Qwen/Qwen3-Embedding-0.6B}"
|
|
139
|
+
export EIDETIC_EMBED_URL EIDETIC_EMBED_MODEL
|
|
140
|
+
|
|
141
|
+
exec "${EIDETIC[@]}" recall "${SCOPE_ARGS[@]}" "$@"
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: remember
|
|
3
|
+
type: command
|
|
4
|
+
description: >
|
|
5
|
+
Ingest records into the shared eidetic memory store so they can be recalled
|
|
6
|
+
later. Drives `eidetic remember`: accepts one record as a JSON object, or a
|
|
7
|
+
batch as NDJSON on stdin for bulk ingest. Upsert is idempotent by id (and
|
|
8
|
+
dedups by content hash) — re-remembering updates in place, never duplicates.
|
|
9
|
+
Stamps a `created` date on every record at ingest time. Accepts `supersedes`
|
|
10
|
+
(id of the record this one replaces, for within-scope shadowing via `sweep`)
|
|
11
|
+
and `links` (list of related-memory ids). The store lives at
|
|
12
|
+
~/.eidetic/memory (a home-dir path outside any git worktree), and the wrapper
|
|
13
|
+
defaults records to this agent's PERSONAL, PRIVATE scope (`--scope arm101-cli
|
|
14
|
+
--visibility private`, suffix read from culture.yaml) so they don't leak to a
|
|
15
|
+
default/other-scope recall — Claude and the colleague backend still share them
|
|
16
|
+
because both resolve the same suffix via this skill. Pass `--visibility public`
|
|
17
|
+
to contribute to the shared public pool instead. Use when the user says
|
|
18
|
+
"remember this", "store this", "save to memory", "index these", "eidetic
|
|
19
|
+
remember", or when something learned this session should outlive it. Pairs with
|
|
20
|
+
the sibling /recall skill.
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# remember — write to the shared eidetic memory
|
|
24
|
+
|
|
25
|
+
`remember` drives **`eidetic remember`**, the write half of the memory surface
|
|
26
|
+
(the read half is the sibling **/recall** skill). Records you store here are
|
|
27
|
+
recallable later by *any* agent on this machine — Claude or the colleague
|
|
28
|
+
backend — because the default store is one shared `~/.eidetic/memory` path.
|
|
29
|
+
|
|
30
|
+
## How to run
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
# One record (JSON object as the argument):
|
|
34
|
+
bash .claude/skills/remember/scripts/remember.sh \
|
|
35
|
+
'{"id":"d1","text":"Orin Nano draws 7-15W","type":"docs","metadata":{"source":"docs","permalink":"https://..."}}' --json
|
|
36
|
+
|
|
37
|
+
# Batch (NDJSON on stdin, one record per line) — for bulk re-index:
|
|
38
|
+
cat records.ndjson | bash .claude/skills/remember/scripts/remember.sh --json
|
|
39
|
+
|
|
40
|
+
# Record that supersedes an older one (same scope required for sweep to shadow):
|
|
41
|
+
bash .claude/skills/remember/scripts/remember.sh \
|
|
42
|
+
'{"id":"r2","text":"Updated Orin Nano draw: 10-20W","type":"note","supersedes":"r1","links":["r3"]}' --json
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
The wrapper resolves the CLI portably (installed `eidetic` on `PATH`, else
|
|
46
|
+
`uv run eidetic` from the checkout) and forwards every flag verbatim.
|
|
47
|
+
|
|
48
|
+
## Record shape
|
|
49
|
+
|
|
50
|
+
| Field | Required? | Notes |
|
|
51
|
+
|-------|-----------|-------|
|
|
52
|
+
| `id` | yes | stable identity; the upsert key |
|
|
53
|
+
| `text` | yes | the chunk being remembered |
|
|
54
|
+
| `type` | yes | e.g. `note`, `docs`, `discord`, a research object type |
|
|
55
|
+
| `hash` | optional | content hash for dedup; derived from `text` when omitted |
|
|
56
|
+
| `metadata` | recommended | provenance + facets; **round-trips verbatim** on recall |
|
|
57
|
+
| `created` | auto-stamped | ISO-8601 UTC date; stamped at ingest if absent; drives freshness signal age-decay |
|
|
58
|
+
| `supersedes` | optional | id of an earlier same-scope record this one replaces; `sweep` auto-shadows the target |
|
|
59
|
+
| `links` | optional | list of related-memory ids; persisted for future corroboration scoring |
|
|
60
|
+
|
|
61
|
+
`score` and `signal` are recall-only and are ignored on ingest. **Mind the
|
|
62
|
+
scope:** the default personal scope is **private** (`--scope arm101-cli
|
|
63
|
+
--visibility private`), so personal/role-gated notes stay isolated to this
|
|
64
|
+
agent's recall and are safe to store. Only when you deliberately write to a
|
|
65
|
+
**public** scope (`--visibility public`) does the record enter the shared pool
|
|
66
|
+
visible to every scope — keep public-scope records to public data only.
|
|
67
|
+
|
|
68
|
+
## Idempotency
|
|
69
|
+
|
|
70
|
+
Re-submitting a record with the same `id` overwrites the previous value; a record
|
|
71
|
+
with a matching content `hash` is de-duplicated. So re-running an ingest (e.g. a
|
|
72
|
+
periodic re-scan) is safe and will not create duplicates.
|
|
73
|
+
|
|
74
|
+
## Lifecycle — supersedes and sweep
|
|
75
|
+
|
|
76
|
+
Setting `supersedes` on a record declares that this record replaces an earlier one
|
|
77
|
+
**within the same scope**. The actual lifecycle transition (marking the older record
|
|
78
|
+
as `shadowed`) is applied by `eidetic sweep`, not by `remember` itself. Cross-scope
|
|
79
|
+
`supersedes` links are recorded but never auto-shadow (preserving the
|
|
80
|
+
public/private no-leak invariant).
|
|
81
|
+
|
|
82
|
+
To apply pending transitions after ingesting superseding records:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
eidetic sweep --dry-run # preview what would change
|
|
86
|
+
eidetic sweep # apply transitions
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Flags (forwarded to `eidetic remember`)
|
|
90
|
+
|
|
91
|
+
- `--json` — structured result (`{"upserted": N, "ids": [...]}`) to stdout.
|
|
92
|
+
- `--scope NAME` / `--visibility public|private` — record scope. **The wrapper
|
|
93
|
+
defaults this to the agent's PERSONAL, PRIVATE scope** — `--scope <suffix>
|
|
94
|
+
--visibility private`, where `<suffix>` is read from the nearest `culture.yaml`
|
|
95
|
+
(here, `arm101-cli`). Private records are served only to a recall in the same
|
|
96
|
+
scope, so they don't leak to a `default`/other-scope query. Pass `--scope` to
|
|
97
|
+
steer to a different scope (which then uses the plain CLI default visibility),
|
|
98
|
+
or `--visibility public` to keep the personal scope but make it shared. A wheel
|
|
99
|
+
install with no `culture.yaml` falls back to the CLI default `default`/`public`.
|
|
100
|
+
- `--backend files|mongo|neo4j` — default `files` (the shared home-dir store);
|
|
101
|
+
use `mongo`/`neo4j` (with `EIDETIC_MONGO_URI` / `NEO4J_URI`) for a server store.
|
|
102
|
+
|
|
103
|
+
## Notes
|
|
104
|
+
|
|
105
|
+
- The embed endpoint defaults to the local model-gear embed gear
|
|
106
|
+
(`http://localhost:8002/v1`); override with `EIDETIC_EMBED_URL` /
|
|
107
|
+
`EIDETIC_EMBED_MODEL`. Ingest still works offline (embeddings are recomputed at
|
|
108
|
+
recall time).
|
|
109
|
+
- **Use the wrapper, not a bare `eidetic`.** The console script may not be on
|
|
110
|
+
`PATH` (in a dev checkout it isn't); the wrapper resolves it (`PATH` first, else
|
|
111
|
+
`uv run eidetic`). For the docs, run `eidetic explain remember` if installed,
|
|
112
|
+
otherwise `uv run --project <eidetic-cli checkout> eidetic explain remember`.
|
|
113
|
+
|
|
114
|
+
## Provenance
|
|
115
|
+
|
|
116
|
+
First-party to **eidetic-cli** — eidetic owns its memory surface. Cite, don't
|
|
117
|
+
import: downstream repos copy this skill, they don't symlink it. See
|
|
118
|
+
[`docs/skill-sources.md`](../../../docs/skill-sources.md).
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# remember.sh — ingest records into the shared eidetic memory store (the /remember skill).
|
|
3
|
+
#
|
|
4
|
+
# Thin, portable wrapper around `eidetic remember`. It resolves the CLI, points
|
|
5
|
+
# the embedding endpoint at the local model-gear embed gear (overridable), and
|
|
6
|
+
# forwards every argument verbatim. Accepts ONE record as a JSON object argument,
|
|
7
|
+
# or a BATCH as NDJSON on stdin (one JSON object per line) for bulk ingest.
|
|
8
|
+
#
|
|
9
|
+
# remember.sh '{"id":"d1","text":"...","type":"docs","metadata":{...}}' --json
|
|
10
|
+
# cat records.ndjson | remember.sh --json
|
|
11
|
+
#
|
|
12
|
+
# Upsert is idempotent by id (and dedups by content hash): re-remembering the
|
|
13
|
+
# same record updates it in place, never duplicates.
|
|
14
|
+
#
|
|
15
|
+
# The store is the files backend at ~/.eidetic/memory by default — a home-dir
|
|
16
|
+
# path OUTSIDE any git worktree, so a record Claude remembers is recallable by
|
|
17
|
+
# the colleague backend (which runs in throwaway worktrees), and vice versa.
|
|
18
|
+
# Set EIDETIC_DATA_DIR to opt out of sharing; use --backend mongo|neo4j (with
|
|
19
|
+
# EIDETIC_MONGO_URI / NEO4J_URI) for a server-backed shared store.
|
|
20
|
+
|
|
21
|
+
set -euo pipefail
|
|
22
|
+
|
|
23
|
+
# ── resolve the eidetic CLI (installed tool first, then dev checkout) ────────
|
|
24
|
+
EIDETIC=()
|
|
25
|
+
resolve_eidetic() {
|
|
26
|
+
if command -v eidetic >/dev/null 2>&1; then
|
|
27
|
+
EIDETIC=(eidetic)
|
|
28
|
+
return 0
|
|
29
|
+
fi
|
|
30
|
+
local dir
|
|
31
|
+
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
32
|
+
while [ -n "$dir" ] && [ "$dir" != "/" ]; do
|
|
33
|
+
if [ -f "$dir/pyproject.toml" ] \
|
|
34
|
+
&& grep -q '^name = "eidetic-cli"' "$dir/pyproject.toml" 2>/dev/null; then
|
|
35
|
+
if command -v uv >/dev/null 2>&1; then
|
|
36
|
+
EIDETIC=(uv run --project "$dir" eidetic)
|
|
37
|
+
return 0
|
|
38
|
+
fi
|
|
39
|
+
break
|
|
40
|
+
fi
|
|
41
|
+
dir=$(dirname "$dir")
|
|
42
|
+
done
|
|
43
|
+
cat >&2 <<'EOF'
|
|
44
|
+
error: eidetic CLI not found.
|
|
45
|
+
hint: install it with `uv tool install eidetic-cli` (or `pipx install eidetic-cli`),
|
|
46
|
+
or run from inside the eidetic-cli checkout with `uv` available.
|
|
47
|
+
The console script is `eidetic` (dist name: eidetic-cli).
|
|
48
|
+
EOF
|
|
49
|
+
return 1
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
usage() {
|
|
53
|
+
cat <<'EOF'
|
|
54
|
+
remember.sh — ingest records into the shared eidetic memory store (the /remember skill).
|
|
55
|
+
|
|
56
|
+
Usage:
|
|
57
|
+
remember.sh '<json-object>' [--json] [--backend files|mongo|neo4j] \
|
|
58
|
+
[--scope NAME] [--visibility public|private]
|
|
59
|
+
cat records.ndjson | remember.sh [--json] ...
|
|
60
|
+
|
|
61
|
+
A record needs `id`, `text`, and `type`; `hash` and `metadata` are recommended
|
|
62
|
+
(hash is derived from text when omitted). Upsert is idempotent by id.
|
|
63
|
+
Public data only. Every flag is forwarded verbatim to `eidetic remember`.
|
|
64
|
+
See `eidetic explain remember`.
|
|
65
|
+
EOF
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
case "${1:-}" in
|
|
69
|
+
-h | --help | help)
|
|
70
|
+
usage
|
|
71
|
+
exit 0
|
|
72
|
+
;;
|
|
73
|
+
esac
|
|
74
|
+
|
|
75
|
+
resolve_eidetic || exit 2
|
|
76
|
+
|
|
77
|
+
# ── default to this agent's PERSONAL, PRIVATE scope (culture.yaml `suffix`) ──
|
|
78
|
+
# A record this agent remembers should land in its OWN personal scope, not the
|
|
79
|
+
# global `default` scope shared by every project on this host. We read the
|
|
80
|
+
# `suffix` from the nearest culture.yaml (walking up from this script), so the
|
|
81
|
+
# scope follows the repo identity rather than being hard-coded — a downstream
|
|
82
|
+
# cite-don't-import copy adapts to its own suffix, and the colleague backend
|
|
83
|
+
# (running in a worktree of this same repo) resolves the same suffix, keeping
|
|
84
|
+
# the Claude↔colleague shared-memory story intact.
|
|
85
|
+
#
|
|
86
|
+
# The personal scope is PRIVATE by default: in eidetic's model only a private
|
|
87
|
+
# record is isolated to its scope (`can_serve`), so private is what actually
|
|
88
|
+
# keeps these records from leaking to a default/other-scope recall. Scope and
|
|
89
|
+
# visibility are paired — the private default applies only when we inject the
|
|
90
|
+
# resolved scope, and only if the caller didn't pass --visibility (so an
|
|
91
|
+
# explicit `--visibility public` still wins). An explicit --scope on the command
|
|
92
|
+
# line takes over steering entirely; a wheel install with no culture.yaml falls
|
|
93
|
+
# back to the plain CLI default (`default`/`public`).
|
|
94
|
+
resolve_scope() {
|
|
95
|
+
local dir suffix=""
|
|
96
|
+
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
97
|
+
while [ -n "$dir" ] && [ "$dir" != "/" ]; do
|
|
98
|
+
if [ -f "$dir/culture.yaml" ]; then
|
|
99
|
+
# Capture only the first non-space token after `suffix:` (so an
|
|
100
|
+
# inline `# comment` or trailing space can't bleed into the scope),
|
|
101
|
+
# then strip surrounding quotes only — matching the canonical parser
|
|
102
|
+
# in .claude/skills/cicd/scripts/_resolve-nick.sh.
|
|
103
|
+
suffix=$(sed -n \
|
|
104
|
+
's/^[[:space:]]*-\{0,1\}[[:space:]]*suffix:[[:space:]]*\([^[:space:]]*\).*/\1/p' \
|
|
105
|
+
"$dir/culture.yaml" | head -n1 | tr -d "\"'")
|
|
106
|
+
break
|
|
107
|
+
fi
|
|
108
|
+
dir=$(dirname "$dir")
|
|
109
|
+
done
|
|
110
|
+
printf '%s' "$suffix"
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
has_flag() {
|
|
114
|
+
local needle=$1
|
|
115
|
+
shift
|
|
116
|
+
local a
|
|
117
|
+
for a in "$@"; do
|
|
118
|
+
case "$a" in
|
|
119
|
+
"$needle" | "$needle"=*) return 0 ;;
|
|
120
|
+
esac
|
|
121
|
+
done
|
|
122
|
+
return 1
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
SCOPE_ARGS=()
|
|
126
|
+
if ! has_flag --scope "$@"; then
|
|
127
|
+
EIDETIC_SCOPE=$(resolve_scope)
|
|
128
|
+
if [ -n "$EIDETIC_SCOPE" ]; then
|
|
129
|
+
SCOPE_ARGS+=(--scope "$EIDETIC_SCOPE")
|
|
130
|
+
has_flag --visibility "$@" || SCOPE_ARGS+=(--visibility private)
|
|
131
|
+
fi
|
|
132
|
+
fi
|
|
133
|
+
|
|
134
|
+
: "${EIDETIC_EMBED_URL:=http://localhost:8002/v1}"
|
|
135
|
+
: "${EIDETIC_EMBED_MODEL:=Qwen/Qwen3-Embedding-0.6B}"
|
|
136
|
+
export EIDETIC_EMBED_URL EIDETIC_EMBED_MODEL
|
|
137
|
+
|
|
138
|
+
exec "${EIDETIC[@]}" remember "${SCOPE_ARGS[@]}" "$@"
|
|
@@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
Format follows [Keep a Changelog](https://keepachangelog.com/). This project
|
|
6
6
|
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.4.0] - 2026-06-23
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Vendored the `remember` + `recall` memory skills from eidetic-cli**
|
|
13
|
+
(cite-don't-import) — the write/read halves of eidetic's shared
|
|
14
|
+
`~/.eidetic/memory` surface, so this agent (Claude and its colleague backend)
|
|
15
|
+
can persist facts across sessions and recall them later, sharing one store.
|
|
16
|
+
`remember` drives `eidetic remember` (idempotent upsert of one JSON record or
|
|
17
|
+
an NDJSON batch on stdin, dedup by id + content hash); `recall` drives
|
|
18
|
+
`eidetic recall` with four search modes — exact / approximate / keyword /
|
|
19
|
+
hybrid — each hit carrying text, full provenance metadata, a relevance score,
|
|
20
|
+
and a freshness signal. The `.sh` wrappers are byte-verbatim from eidetic-cli
|
|
21
|
+
(their first-party origin); each `SKILL.md` is localized only in the
|
|
22
|
+
illustrative `--scope <nick>` examples (Provenance keeps "First-party to
|
|
23
|
+
eidetic-cli"). Both default to this agent's PRIVATE scope, reading the suffix
|
|
24
|
+
from `culture.yaml`. Runtime dep: the `eidetic` CLI on PATH (else a local
|
|
25
|
+
eidetic-cli checkout with `uv`). Propagated by rollout-cli's `eidetic-memory`
|
|
26
|
+
recipe.
|
|
27
|
+
|
|
28
|
+
## [0.3.3] - 2026-06-20
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
|
|
32
|
+
- CLAUDE.md: replaced the pre-/init seed placeholder with a full runtime guide — documents the actual repo state (mesh-agent scaffold, no arm/gripper code yet), the CLI dispatch/registration/error/output contracts, the explain-catalog lockstep rule, the agent-first rubric, and the CI-gating AgentCulture conventions.
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- README: Quickstart now invokes the real console script `arm101` (was `arm101-cli`, which fails to spawn); mesh-identity line now reads `AGENTS.colleague.md` for this agent's `backend: colleague` (was a stale `CLAUDE.md` / `backend: claude`).
|
|
37
|
+
- explain catalog: add a root entry for the `arm101` console-script name. The agent-first rubric's `explain_self` check runs `explain <project-script-name>` (`arm101`), which was failing because the catalog only keyed the internal prog name `arm101-cli` — a latent scaffold bug the rubric gate only exercises via the script name. Locked in by a regression test asserting every `[project.scripts]` name resolves.
|
|
38
|
+
|
|
8
39
|
## [0.3.2] - 2026-06-18
|
|
9
40
|
|
|
10
41
|
### Added
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# CLAUDE.md
|
|
2
|
+
|
|
3
|
+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
+
|
|
5
|
+
## What this repo actually is right now
|
|
6
|
+
|
|
7
|
+
The package name and description say "Agent and CLI for controlling SO-ARM101
|
|
8
|
+
robotic arm grippers," but **no arm/gripper control code exists yet.** What is
|
|
9
|
+
here is the AgentCulture **mesh-agent scaffold** (cloned from
|
|
10
|
+
`culture-agent-template`): an agent-first introspection CLI, a mesh identity, the
|
|
11
|
+
vendored guildmaster skill kit, and a build/CI/deploy baseline. The gripper
|
|
12
|
+
domain is the *destination*; treat the current CLI as the chassis you extend to
|
|
13
|
+
get there, following the patterns below.
|
|
14
|
+
|
|
15
|
+
Two consequences worth internalizing before you touch anything:
|
|
16
|
+
|
|
17
|
+
- **The runtime agent prompt is `AGENTS.colleague.md`, not this file.**
|
|
18
|
+
`culture.yaml` declares `backend: colleague`, and the backend→prompt-file map
|
|
19
|
+
(see `doctor` below) resolves `colleague` → `AGENTS.colleague.md`. This
|
|
20
|
+
`CLAUDE.md` is guidance for *Claude Code working in the repo*; editing it does
|
|
21
|
+
not change the mesh agent's runtime behavior. (Note: the pre-`/init` seed text
|
|
22
|
+
and some README prose still say `backend: claude` / `CLAUDE.md` — that is stale;
|
|
23
|
+
the CHANGELOG `0.3.0` entry records the promotion to `colleague`.)
|
|
24
|
+
- **The installed console script is `arm101`, not `arm101-cli`.**
|
|
25
|
+
`[project.scripts]` defines `arm101 = "arm101.cli:main"`. The README quickstart
|
|
26
|
+
(`uv run arm101-cli whoami`) is wrong and will fail with "Failed to spawn." Use
|
|
27
|
+
`uv run arm101 …` or `python -m arm101 …`. The *internal* prog name is still
|
|
28
|
+
`arm101-cli`, so `--help` text, error messages, and JSON payloads all say
|
|
29
|
+
`arm101-cli` — that string is intentional in output, just not as the binary.
|
|
30
|
+
|
|
31
|
+
## Common commands
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
uv sync # create .venv, install runtime + dev deps
|
|
35
|
+
uv run pytest -n auto # full test suite (xdist parallel)
|
|
36
|
+
uv run pytest tests/test_cli.py::test_whoami_text # a single test
|
|
37
|
+
uv run pytest -n auto --cov=arm101 --cov-report=term # tests with coverage (CI gate: fail_under=60)
|
|
38
|
+
uv run arm101 whoami # run the CLI (note: 'arm101', not 'arm101-cli')
|
|
39
|
+
|
|
40
|
+
# Lint — CI runs all of these; run them before opening a PR
|
|
41
|
+
uv run black --check arm101 tests
|
|
42
|
+
uv run isort --check-only arm101 tests
|
|
43
|
+
uv run flake8 arm101 tests
|
|
44
|
+
uv run bandit -c pyproject.toml -r arm101
|
|
45
|
+
markdownlint-cli2 "**/*.md" "#node_modules" "#.local" "#.claude/skills" "#.teken"
|
|
46
|
+
|
|
47
|
+
uv run teken cli doctor . --strict # the agent-first rubric gate (see below)
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
The runtime package has **zero third-party dependencies** (`dependencies = []`),
|
|
51
|
+
on purpose. `teken` and the test/lint tools are dev-only. Keep it that way unless
|
|
52
|
+
adding the gripper layer genuinely requires a hardware library — and if it does,
|
|
53
|
+
isolate that dependency so the introspection CLI still imports clean.
|
|
54
|
+
|
|
55
|
+
## CLI architecture
|
|
56
|
+
|
|
57
|
+
Everything hangs off `arm101/cli/__init__.py:main()`. The shape is worth
|
|
58
|
+
understanding before adding commands, because three cross-cutting contracts are
|
|
59
|
+
enforced by tests and by the rubric gate.
|
|
60
|
+
|
|
61
|
+
**Registration pattern.** `_build_parser()` imports each module under
|
|
62
|
+
`arm101/cli/_commands/` and calls its `register(sub)` function, which adds a
|
|
63
|
+
subparser and wires `func` + `--json` via `set_defaults`. To add a global verb:
|
|
64
|
+
write `_commands/<verb>.py` with a `register()`, then add one import + call in
|
|
65
|
+
`_build_parser()`. To add a **noun group** (a subcommand with its own verbs —
|
|
66
|
+
this is how gripper control will likely land, e.g. `arm101 gripper open`), mirror
|
|
67
|
+
`_commands/cli.py`: create the noun's subparsers with
|
|
68
|
+
`parser_class=type(p)` so child parse errors route through the structured error
|
|
69
|
+
contract instead of argparse's default `exit 2`.
|
|
70
|
+
|
|
71
|
+
**Error contract** (`_errors.py` + the `_dispatch`/`_CliArgumentParser` plumbing).
|
|
72
|
+
Every failure raises `CliError(code, message, remediation)`; `main()` catches it
|
|
73
|
+
and renders via `_output.emit_error`. Any *other* exception is wrapped so no
|
|
74
|
+
Python traceback ever leaks to stderr. Argparse-level errors (unknown verb,
|
|
75
|
+
missing arg) are also captured: `_CliArgumentParser.error()` emits the structured
|
|
76
|
+
form. Because parse errors happen before `args.json` exists, `main()` pre-scans
|
|
77
|
+
raw argv for `--json` and stashes it on the class-level `_CliArgumentParser._json_hint`.
|
|
78
|
+
**Handlers must raise `CliError` on failure — never `sys.exit`, never a bare
|
|
79
|
+
print-and-return.**
|
|
80
|
+
|
|
81
|
+
**Output contract** (`_output.py`). Results → stdout, errors/diagnostics →
|
|
82
|
+
stderr, **never mixed**; JSON mode keeps the same split. Every command takes
|
|
83
|
+
`--json`. Exit codes: `0` success, `1` user-input error, `2` environment error,
|
|
84
|
+
`3+` reserved (constants in `_errors.py`). Use `emit_result` / `emit_error` /
|
|
85
|
+
`emit_diagnostic` rather than calling `print`.
|
|
86
|
+
|
|
87
|
+
**The explain catalog** (`arm101/explain/catalog.py`). `ENTRIES` is a dict keyed
|
|
88
|
+
by command-path tuples (`("whoami",)`, `("cli", "overview")`, `()` and
|
|
89
|
+
`("arm101-cli",)` both = root). `explain` resolves a path to verbatim markdown.
|
|
90
|
+
The test `test_every_catalog_path_resolves` asserts every entry renders, but
|
|
91
|
+
nothing forces a *new* verb to have one — so when you add a verb, you must update
|
|
92
|
+
**three places in lockstep** or the docs silently drift: the catalog entry, the
|
|
93
|
+
`_VERBS` list in `overview.py`, and the `_TEXT`/`_as_json_payload` blocks in
|
|
94
|
+
`learn.py`.
|
|
95
|
+
|
|
96
|
+
**Identity reading** (`whoami.py`). `culture.yaml` is parsed by hand (no YAML
|
|
97
|
+
dependency, to keep runtime deps empty) — only the documented flat
|
|
98
|
+
`suffix`/`backend`/`model` shape is understood; anything fancier falls back to
|
|
99
|
+
defaults. `find_culture_yaml()` walks up from `__file__`, so identity is the
|
|
100
|
+
agent's own even when invoked from another directory; a wheel install (no
|
|
101
|
+
`culture.yaml` alongside the package) falls back to literal defaults and `doctor`
|
|
102
|
+
reports a single info check.
|
|
103
|
+
|
|
104
|
+
## The agent-first rubric (why some code looks the way it does)
|
|
105
|
+
|
|
106
|
+
`teken cli doctor . --strict` enforces a seven-bundle "agent-first" rubric in CI,
|
|
107
|
+
and several otherwise-odd shapes exist only to satisfy it — don't "simplify" them
|
|
108
|
+
away:
|
|
109
|
+
|
|
110
|
+
- `learn` must be ≥200 chars and mention purpose, command map, exit codes,
|
|
111
|
+
`--json`, and `explain`.
|
|
112
|
+
- Any noun with action-verbs must also expose `overview` — that's the entire
|
|
113
|
+
reason the `cli` noun group exists (`cli overview` describes the CLI surface,
|
|
114
|
+
distinct from the global `overview`, which describes the *agent*).
|
|
115
|
+
- Descriptive verbs must never hard-fail on a bad path — hence `overview` accepts
|
|
116
|
+
an ignored positional `target` and still exits 0.
|
|
117
|
+
|
|
118
|
+
This is separate from the in-package `arm101 doctor`, which checks **agent-identity
|
|
119
|
+
invariants**: `prompt-file-present` and `backend-consistency` (the
|
|
120
|
+
`backend → prompt file` map is `claude`→`CLAUDE.md`, `colleague`→`AGENTS.colleague.md`,
|
|
121
|
+
`acp`→`AGENTS.md`, `gemini`→`GEMINI.md`), plus `skills-present`. If you change the
|
|
122
|
+
backend in `culture.yaml`, teach `doctor` the matching prompt file or
|
|
123
|
+
`test_doctor_recognizes_declared_backend` fails.
|
|
124
|
+
|
|
125
|
+
## AgentCulture conventions that gate CI
|
|
126
|
+
|
|
127
|
+
- **Bump the version on every PR — even docs/config/CI-only changes.** The
|
|
128
|
+
`version-check` job in `.github/workflows/tests.yml` fails the PR if
|
|
129
|
+
`pyproject.toml`'s version equals `main`'s. Use the `version-bump` skill (updates
|
|
130
|
+
`pyproject.toml` + prepends a Keep-a-Changelog entry to `CHANGELOG.md`).
|
|
131
|
+
- **PR lifecycle goes through the `cicd` skill**, which delegates to `devex pr` and
|
|
132
|
+
adds `status` (SonarCloud quality gate) and `await` (blocks until green / threads
|
|
133
|
+
resolved). PR comments auto-sign as `- arm101-cli (Claude)` via the skill's
|
|
134
|
+
`_resolve-nick.sh` (resolved from `culture.yaml`); don't hand-sign inside `cicd`.
|
|
135
|
+
- **SonarCloud gates the `test` job** when `SONAR_TOKEN` is set
|
|
136
|
+
(`sonar.qualitygate.wait=true`). Token-less repos and fork PRs skip the scan and
|
|
137
|
+
stay green. `coverage.run.relative_files = true` is load-bearing — without it
|
|
138
|
+
`coverage.xml` paths don't map to `sonar.sources=arm101` and coverage reports 0%.
|
|
139
|
+
- **PyPI publish is Trusted Publishing via OIDC** (`.github/workflows/publish.yml`):
|
|
140
|
+
push to `main` → PyPI; PR (same-repo) → a `.devN` build to TestPyPI. No tokens.
|
|
141
|
+
|
|
142
|
+
## The vendored skill kit — cite-don't-import
|
|
143
|
+
|
|
144
|
+
`.claude/skills/` holds skills **vendored** from `guildmaster` (a few from
|
|
145
|
+
`colleague`/`devague`); `docs/skill-sources.md` is the authoritative provenance
|
|
146
|
+
ledger with the per-skill re-sync procedure. **Do not hand-edit skill script
|
|
147
|
+
bodies** — the only sanctioned local edits are (a) consumer-identifying prose in
|
|
148
|
+
`SKILL.md` and (b) adding `type: command` to frontmatter (load-bearing: the
|
|
149
|
+
culture backend's `core.skill_loader` silently skips any `SKILL.md` lacking it).
|
|
150
|
+
Two tracked divergences from "always cite guildmaster" are documented in the
|
|
151
|
+
ledger: the `agex`→`devex` rename and `outsource`→`ask-colleague` (vendored
|
|
152
|
+
directly from `colleague` until guildmaster re-broadcasts). Reach for
|
|
153
|
+
`ask-colleague` reflexively for a diverse second opinion — `review`/`explore` are
|
|
154
|
+
read-only and always safe; side-effecting `write --apply`/`--pr` needs the user's
|
|
155
|
+
go-ahead.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: arm101-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Agent and CLI for controlling SO-ARM101 robotic arm grippers
|
|
5
5
|
Project-URL: Homepage, https://github.com/agentculture/arm101-cli
|
|
6
6
|
Project-URL: Issues, https://github.com/agentculture/arm101-cli/issues
|
|
@@ -24,7 +24,7 @@ Agent and CLI for controlling SO-ARM101 robotic arm grippers
|
|
|
24
24
|
- **An agent-first CLI** cited from [teken](https://github.com/agentculture/teken)
|
|
25
25
|
(`afi-cli`) — the runtime package has no third-party dependencies.
|
|
26
26
|
- **A mesh identity** — `culture.yaml` (`suffix` + `backend`) and the matching
|
|
27
|
-
prompt file (`
|
|
27
|
+
prompt file (`AGENTS.colleague.md` for this agent's `backend: colleague`).
|
|
28
28
|
- **The canonical guildmaster skill kit** (11 skills) under `.claude/skills/`,
|
|
29
29
|
vendored cite-don't-import. See [`docs/skill-sources.md`](docs/skill-sources.md).
|
|
30
30
|
- **A build + deploy baseline** — pytest, lint, the agent-first rubric gate, and
|
|
@@ -35,8 +35,8 @@ Agent and CLI for controlling SO-ARM101 robotic arm grippers
|
|
|
35
35
|
```bash
|
|
36
36
|
uv sync
|
|
37
37
|
uv run pytest -n auto # run the test suite
|
|
38
|
-
uv run arm101
|
|
39
|
-
uv run arm101
|
|
38
|
+
uv run arm101 whoami # identity from culture.yaml (console script is 'arm101')
|
|
39
|
+
uv run arm101 learn # self-teaching prompt (add --json)
|
|
40
40
|
uv run teken cli doctor . --strict # the agent-first rubric gate CI runs
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -7,7 +7,7 @@ Agent and CLI for controlling SO-ARM101 robotic arm grippers
|
|
|
7
7
|
- **An agent-first CLI** cited from [teken](https://github.com/agentculture/teken)
|
|
8
8
|
(`afi-cli`) — the runtime package has no third-party dependencies.
|
|
9
9
|
- **A mesh identity** — `culture.yaml` (`suffix` + `backend`) and the matching
|
|
10
|
-
prompt file (`
|
|
10
|
+
prompt file (`AGENTS.colleague.md` for this agent's `backend: colleague`).
|
|
11
11
|
- **The canonical guildmaster skill kit** (11 skills) under `.claude/skills/`,
|
|
12
12
|
vendored cite-don't-import. See [`docs/skill-sources.md`](docs/skill-sources.md).
|
|
13
13
|
- **A build + deploy baseline** — pytest, lint, the agent-first rubric gate, and
|
|
@@ -18,8 +18,8 @@ Agent and CLI for controlling SO-ARM101 robotic arm grippers
|
|
|
18
18
|
```bash
|
|
19
19
|
uv sync
|
|
20
20
|
uv run pytest -n auto # run the test suite
|
|
21
|
-
uv run arm101
|
|
22
|
-
uv run arm101
|
|
21
|
+
uv run arm101 whoami # identity from culture.yaml (console script is 'arm101')
|
|
22
|
+
uv run arm101 learn # self-teaching prompt (add --json)
|
|
23
23
|
uv run teken cli doctor . --strict # the agent-first rubric gate CI runs
|
|
24
24
|
```
|
|
25
25
|
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"""Markdown catalog for ``arm101-cli explain <path>``.
|
|
2
2
|
|
|
3
3
|
Each entry is verbatim markdown. Keys are command-path tuples. The empty tuple
|
|
4
|
-
|
|
4
|
+
resolves to the root entry, as do both names the CLI answers to: the console
|
|
5
|
+
script ``("arm101",)`` (from ``[project.scripts]``) and the internal prog name
|
|
6
|
+
``("arm101-cli",)``. The script-name key is load-bearing — the agent-first
|
|
7
|
+
rubric's ``explain_self`` check runs ``explain <project-script-name>``.
|
|
5
8
|
|
|
6
9
|
Keep bodies self-contained: an agent reading one entry should get enough
|
|
7
10
|
context without chaining reads.
|
|
@@ -118,6 +121,7 @@ itself (distinct from the global `overview`, which describes the agent).
|
|
|
118
121
|
|
|
119
122
|
ENTRIES: dict[tuple[str, ...], str] = {
|
|
120
123
|
(): _ROOT,
|
|
124
|
+
("arm101",): _ROOT,
|
|
121
125
|
("arm101-cli",): _ROOT,
|
|
122
126
|
("whoami",): _WHOAMI,
|
|
123
127
|
("learn",): _LEARN,
|
|
@@ -113,3 +113,26 @@ def test_every_catalog_path_resolves(capsys: pytest.CaptureFixture[str]) -> None
|
|
|
113
113
|
rc = main(["explain", *path])
|
|
114
114
|
assert rc == 0, f"explain {' '.join(path)} failed"
|
|
115
115
|
capsys.readouterr()
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
def test_explain_resolves_console_script_name(capsys: pytest.CaptureFixture[str]) -> None:
|
|
119
|
+
"""Every `[project.scripts]` name must have an explain catalog entry.
|
|
120
|
+
|
|
121
|
+
The agent-first rubric's `explain_self` check runs `explain
|
|
122
|
+
<project-script-name>` — the console-script key (`arm101`), not the internal
|
|
123
|
+
prog name (`arm101-cli`). They differ here, so this guards the catalog
|
|
124
|
+
against drifting away from the script and re-breaking the rubric gate.
|
|
125
|
+
"""
|
|
126
|
+
import tomllib
|
|
127
|
+
from pathlib import Path
|
|
128
|
+
|
|
129
|
+
pyproject = Path(__file__).resolve().parent.parent / "pyproject.toml"
|
|
130
|
+
if not pyproject.is_file(): # pragma: no cover - source checkout only
|
|
131
|
+
pytest.skip("pyproject.toml not alongside tests")
|
|
132
|
+
scripts = tomllib.loads(pyproject.read_text(encoding="utf-8"))["project"]["scripts"]
|
|
133
|
+
catalog = set(known_paths())
|
|
134
|
+
for name in scripts:
|
|
135
|
+
assert (name,) in catalog, f"explain catalog missing entry for console script '{name}'"
|
|
136
|
+
rc = main(["explain", name])
|
|
137
|
+
assert rc == 0
|
|
138
|
+
assert capsys.readouterr().out.startswith("#")
|
|
@@ -2,6 +2,37 @@ version = 1
|
|
|
2
2
|
revision = 3
|
|
3
3
|
requires-python = ">=3.12"
|
|
4
4
|
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "arm101-cli"
|
|
7
|
+
version = "0.4.0"
|
|
8
|
+
source = { editable = "." }
|
|
9
|
+
|
|
10
|
+
[package.dev-dependencies]
|
|
11
|
+
dev = [
|
|
12
|
+
{ name = "bandit" },
|
|
13
|
+
{ name = "black" },
|
|
14
|
+
{ name = "flake8" },
|
|
15
|
+
{ name = "isort" },
|
|
16
|
+
{ name = "pytest" },
|
|
17
|
+
{ name = "pytest-cov" },
|
|
18
|
+
{ name = "pytest-xdist" },
|
|
19
|
+
{ name = "teken" },
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[package.metadata]
|
|
23
|
+
|
|
24
|
+
[package.metadata.requires-dev]
|
|
25
|
+
dev = [
|
|
26
|
+
{ name = "bandit", specifier = ">=1.7.5" },
|
|
27
|
+
{ name = "black", specifier = ">=23.7.0" },
|
|
28
|
+
{ name = "flake8", specifier = ">=6.1" },
|
|
29
|
+
{ name = "isort", specifier = ">=5.12.0" },
|
|
30
|
+
{ name = "pytest", specifier = ">=8.0" },
|
|
31
|
+
{ name = "pytest-cov", specifier = ">=4.1" },
|
|
32
|
+
{ name = "pytest-xdist", specifier = ">=3.0" },
|
|
33
|
+
{ name = "teken", specifier = ">=0.8" },
|
|
34
|
+
]
|
|
35
|
+
|
|
5
36
|
[[package]]
|
|
6
37
|
name = "bandit"
|
|
7
38
|
version = "1.9.4"
|
|
@@ -154,37 +185,6 @@ wheels = [
|
|
|
154
185
|
{ url = "https://files.pythonhosted.org/packages/61/e8/cb8e80d6f9f55b99588625062822bf946cf03ed06315df4bd8397f5632a1/coverage-7.14.0-py3-none-any.whl", hash = "sha256:8de5b61163aee3d05c8a2beab6f47913df7981dad1baf82c414d99158c286ab1", size = 211764, upload-time = "2026-05-10T18:02:29.538Z" },
|
|
155
186
|
]
|
|
156
187
|
|
|
157
|
-
[[package]]
|
|
158
|
-
name = "arm101-cli"
|
|
159
|
-
version = "0.3.2"
|
|
160
|
-
source = { editable = "." }
|
|
161
|
-
|
|
162
|
-
[package.dev-dependencies]
|
|
163
|
-
dev = [
|
|
164
|
-
{ name = "bandit" },
|
|
165
|
-
{ name = "black" },
|
|
166
|
-
{ name = "flake8" },
|
|
167
|
-
{ name = "isort" },
|
|
168
|
-
{ name = "pytest" },
|
|
169
|
-
{ name = "pytest-cov" },
|
|
170
|
-
{ name = "pytest-xdist" },
|
|
171
|
-
{ name = "teken" },
|
|
172
|
-
]
|
|
173
|
-
|
|
174
|
-
[package.metadata]
|
|
175
|
-
|
|
176
|
-
[package.metadata.requires-dev]
|
|
177
|
-
dev = [
|
|
178
|
-
{ name = "bandit", specifier = ">=1.7.5" },
|
|
179
|
-
{ name = "black", specifier = ">=23.7.0" },
|
|
180
|
-
{ name = "flake8", specifier = ">=6.1" },
|
|
181
|
-
{ name = "isort", specifier = ">=5.12.0" },
|
|
182
|
-
{ name = "pytest", specifier = ">=8.0" },
|
|
183
|
-
{ name = "pytest-cov", specifier = ">=4.1" },
|
|
184
|
-
{ name = "pytest-xdist", specifier = ">=3.0" },
|
|
185
|
-
{ name = "teken", specifier = ">=0.8" },
|
|
186
|
-
]
|
|
187
|
-
|
|
188
188
|
[[package]]
|
|
189
189
|
name = "execnet"
|
|
190
190
|
version = "2.1.2"
|
arm101_cli-0.3.2/CLAUDE.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# CLAUDE.md — seed / bootstrap placeholder
|
|
2
|
-
|
|
3
|
-
> **This is a self-initializing seed, not a finished runtime prompt.**
|
|
4
|
-
> Run `/init` (or describe the agent's domain to your AI assistant) to
|
|
5
|
-
> re-initialize this file into a full runtime prompt, using the description
|
|
6
|
-
> below and the scaffolded repo as context.
|
|
7
|
-
|
|
8
|
-
## Agent
|
|
9
|
-
|
|
10
|
-
This repository hosts the **arm101-cli** agent.
|
|
11
|
-
|
|
12
|
-
## Description
|
|
13
|
-
|
|
14
|
-
Agent and CLI for controlling SO-ARM101 robotic arm grippers
|
|
15
|
-
|
|
16
|
-
## Re-init instruction
|
|
17
|
-
|
|
18
|
-
This file is a seed. To expand it into your full runtime prompt:
|
|
19
|
-
|
|
20
|
-
1. Open this repo in Claude Code (or your preferred AI assistant).
|
|
21
|
-
2. Run `/init` — the assistant will read the repo, incorporate the description
|
|
22
|
-
above, and replace this seed with a complete `CLAUDE.md`.
|
|
23
|
-
3. Commit the result.
|
|
24
|
-
|
|
25
|
-
Until you run `/init`, `arm101-cli` satisfies the `steward doctor`
|
|
26
|
-
`prompt-file-present` and `backend-consistency` invariants (a `CLAUDE.md`
|
|
27
|
-
exists and `culture.yaml` declares `backend: claude`) but the prompt is not
|
|
28
|
-
yet tailored to this agent's domain.
|
|
File without changes
|
{arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/agent-config/data/backend-fingerprints.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arm101_cli-0.3.2 → arm101_cli-0.4.0}/.claude/skills/pypi-maintainer/scripts/switch-source.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|