renma 0.1.0 → 0.1.1
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.
- package/README.md +206 -213
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,33 +1,67 @@
|
|
|
1
|
-
# Renma
|
|
1
|
+
# Renma
|
|
2
2
|
|
|
3
|
-
Renma
|
|
3
|
+
Renma is a Context Asset Repository and health layer for LLM-consumable repository knowledge.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
It helps teams keep the skills, instructions, shared context, examples, tool notes, and ownership metadata that agents rely on discoverable, reviewable, and safe to reuse. Instead of letting critical knowledge get copied into many prompts or buried in one-off Markdown files, Renma treats that knowledge as a software asset: named, owned, versioned, linked, and checked in CI.
|
|
6
|
+
|
|
7
|
+
Renma is especially useful when a repository contains agent-facing material such as:
|
|
8
|
+
|
|
9
|
+
- Codex, Claude, Cursor, or other agent skills
|
|
10
|
+
- `AGENTS.md` and repository instructions
|
|
11
|
+
- Shared product, domain, QA, platform, or tool guidance
|
|
12
|
+
- Team-owned context assets that should outlive a single prompt
|
|
13
|
+
- References and examples that agents should be able to cite or inspect
|
|
14
|
+
|
|
15
|
+
Renma is not a Markdown linter and not a prompt-management system. Markdown is the storage format today; the product is the catalog, dependency graph, ownership model, and readiness checks around LLM-era repository knowledge.
|
|
16
|
+
|
|
17
|
+
Use Renma when you need to answer repository-level questions such as:
|
|
18
|
+
|
|
19
|
+
- What LLM-facing knowledge exists in this repo?
|
|
20
|
+
- Which skills, context assets, examples, and tool notes are reusable?
|
|
21
|
+
- Which assets are unowned, stale, orphaned, incomplete, deprecated, or broken?
|
|
22
|
+
- Which product decisions, bug history, testing strategy, or platform guidance should be promoted from one-off prompt text into shared context?
|
|
23
|
+
- What changed in the agent-facing knowledge catalog during this pull request?
|
|
24
|
+
|
|
25
|
+
## The Layer Model
|
|
6
26
|
|
|
7
27
|
```text
|
|
8
|
-
|
|
9
|
-
|
|
28
|
+
Tools
|
|
29
|
+
Codex, Claude, Cursor, CI, editors, internal CLIs
|
|
30
|
+
|
|
31
|
+
Skills
|
|
32
|
+
LLM-facing entrypoints that route an agent toward a task
|
|
33
|
+
|
|
34
|
+
Context Assets
|
|
35
|
+
Shared domain, product, testing, platform, and tool knowledge
|
|
36
|
+
|
|
37
|
+
Catalog
|
|
38
|
+
Deterministic IDs, ownership, lifecycle state, dependencies, evidence
|
|
39
|
+
|
|
40
|
+
Repository
|
|
41
|
+
Git-reviewed source of truth for agent-consumable knowledge
|
|
10
42
|
```
|
|
11
43
|
|
|
44
|
+
Tools decide what to do at runtime. Skills tell an agent when and how to use a capability. Context assets hold reusable knowledge. Renma catalogs and validates the layer underneath so tools and agents are not guessing from stale, orphaned, duplicated, or unowned files.
|
|
45
|
+
|
|
12
46
|
## Why Renma?
|
|
13
47
|
|
|
14
|
-
As AI-agent repositories grow, expertise often gets
|
|
48
|
+
As AI-agent repositories grow, expertise often gets duplicated across skills and prompts. Testing heuristics, domain risks, tool usage notes, product decisions, and team-specific contracts drift apart. Ownership becomes unclear. References break. Deprecated guidance remains reachable. New engineers and agents cannot tell which knowledge is authoritative.
|
|
15
49
|
|
|
16
|
-
Renma
|
|
50
|
+
Renma gives that material the same operational posture teams expect from source code:
|
|
17
51
|
|
|
18
|
-
- Reusable
|
|
19
|
-
- Owned
|
|
20
|
-
- Reviewable
|
|
21
|
-
- Versioned
|
|
22
|
-
- Composable
|
|
23
|
-
- Validated
|
|
24
|
-
- Easy to inspect
|
|
52
|
+
- Reusable across skills and agents
|
|
53
|
+
- Owned by a team or maintainer
|
|
54
|
+
- Reviewable in pull requests
|
|
55
|
+
- Versioned in Git
|
|
56
|
+
- Composable through explicit references and dependencies
|
|
57
|
+
- Validated with deterministic checks
|
|
58
|
+
- Easy to inspect locally and in CI
|
|
25
59
|
|
|
26
|
-
|
|
60
|
+
For example, a testing organization can keep boundary value analysis, negative testing, regression risk, payment idempotency, duplicate charge prevention, refund edge cases, mobile offline behavior, mobile automation notes, and known team-specific risks as shared context assets instead of burying them inside individual skills.
|
|
27
61
|
|
|
28
62
|
## Repository Shape
|
|
29
63
|
|
|
30
|
-
Renma supports skill-local references, profiles, and examples
|
|
64
|
+
Renma supports existing skill-local references, profiles, and examples. The preferred model is to give reusable knowledge first-class space under `contexts/`:
|
|
31
65
|
|
|
32
66
|
```text
|
|
33
67
|
skills/
|
|
@@ -35,6 +69,7 @@ skills/
|
|
|
35
69
|
test-case-generation.skill.md
|
|
36
70
|
spec-review.skill.md
|
|
37
71
|
regression-planning.skill.md
|
|
72
|
+
|
|
38
73
|
contexts/
|
|
39
74
|
testing/
|
|
40
75
|
boundary-value-analysis.md
|
|
@@ -45,172 +80,126 @@ contexts/
|
|
|
45
80
|
idempotency.md
|
|
46
81
|
duplicate-charge.md
|
|
47
82
|
refund-risk.md
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
83
|
+
mobile/
|
|
84
|
+
offline-behavior.md
|
|
85
|
+
background-resume.md
|
|
51
86
|
tools/
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
87
|
+
appium/
|
|
88
|
+
usage-guideline.md
|
|
89
|
+
limitations.md
|
|
55
90
|
teams/
|
|
56
91
|
checkout/
|
|
57
92
|
payment-api-contracts.md
|
|
58
93
|
known-risk-patterns.md
|
|
59
94
|
```
|
|
60
95
|
|
|
61
|
-
`contexts/` is preferred. `context/` is also scanned for compatibility. Files under either root are cataloged as first-class `context` assets, while skill-local `references/` remain `reference` assets.
|
|
96
|
+
`contexts/` is preferred. `context/` is also scanned for compatibility. Files under either root are cataloged as first-class `context` assets, while skill-local `references/` remain supported as `reference` assets.
|
|
62
97
|
|
|
63
|
-
## What Renma Does
|
|
98
|
+
## What Renma Does Today
|
|
64
99
|
|
|
65
|
-
|
|
100
|
+
Renma is a minimal-dependency TypeScript CLI that scans local repositories and builds a deterministic catalog of agent-consumable assets.
|
|
66
101
|
|
|
67
|
-
|
|
68
|
-
tools such as Codex, Claude, and Cursor. Findings should explain what is wrong,
|
|
69
|
-
why it matters, where the evidence is, what a safe repair should preserve, and
|
|
70
|
-
how to verify the fix. Renma does not apply large semantic rewrites itself; it
|
|
71
|
-
emits structured diagnostics so a human or agent can propose a reviewable patch
|
|
72
|
-
and run Renma again.
|
|
102
|
+
It currently scans:
|
|
73
103
|
|
|
74
|
-
|
|
104
|
+
- AI-agent skills
|
|
105
|
+
- Repository instructions such as `AGENTS.md`
|
|
106
|
+
- Shared context Markdown under `context/` and `contexts/`
|
|
107
|
+
- Skill profiles, references, and examples
|
|
108
|
+
- Tool guidance and support files
|
|
109
|
+
- README-level repository documentation
|
|
75
110
|
|
|
76
|
-
|
|
77
|
-
- Stable POSIX-style repo-relative paths
|
|
78
|
-
- Markdown parsing for headings, links, code fences, metadata, and evidence
|
|
79
|
-
- Structural quality checks for skills, shared context assets, and local support files
|
|
80
|
-
- Safety checks for risky instructions and literal secrets
|
|
81
|
-
- Deterministic catalog output for assets and dependency metadata
|
|
82
|
-
- Deterministic ownership coverage reporting for cataloged assets
|
|
83
|
-
- Context graph snapshot reporting
|
|
84
|
-
- Deterministic agent readiness scoring for static repository health
|
|
85
|
-
- Deterministic metadata governance for duplicate asset IDs, unknown declared references, references to deprecated or archived assets, and orphaned shared context assets
|
|
86
|
-
- Repository file outline and line-slice inspection helper
|
|
87
|
-
- Semantic split prompt helper for oversized context files
|
|
88
|
-
- CI-friendly exit behavior with `--fail-on`
|
|
89
|
-
- Config loading from `renma.config.json` and `.renma.json`
|
|
111
|
+
It produces:
|
|
90
112
|
|
|
91
|
-
|
|
113
|
+
- File and line-level diagnostics
|
|
114
|
+
- Catalog reports with deterministic asset IDs
|
|
115
|
+
- Ownership coverage reports
|
|
116
|
+
- Dependency graph reports
|
|
117
|
+
- Agent readiness reports
|
|
118
|
+
- JSON output for CI and downstream tooling
|
|
119
|
+
- Text output designed to become actionable repair prompts for humans or agents
|
|
92
120
|
|
|
93
|
-
|
|
94
|
-
- Repeated context and duplicate knowledge discovery
|
|
95
|
-
- Semantic diff for context changes
|
|
96
|
-
- Optional LLM-assisted repository evaluation bundles
|
|
97
|
-
- Optional external signal import
|
|
121
|
+
Findings are meant to explain what is wrong, why it matters, where the evidence is, what to preserve while fixing it, and how to verify the repair. Renma does not apply large semantic rewrites itself; it emits structured diagnostics so a human or coding agent can propose a reviewable patch and run Renma again.
|
|
98
122
|
|
|
99
|
-
|
|
123
|
+
## How Renma differs from adjacent tools
|
|
100
124
|
|
|
101
|
-
|
|
125
|
+
Prompt-management and eval tools focus on prompts, traces, and model outputs.
|
|
102
126
|
|
|
103
|
-
|
|
104
|
-
- npm
|
|
127
|
+
Renma focuses one layer lower: the reusable context assets and skills that prompts, agents, and tools depend on.
|
|
105
128
|
|
|
106
|
-
|
|
129
|
+
Knowledge-management tools help humans organize notes and documents.
|
|
107
130
|
|
|
108
|
-
|
|
109
|
-
npm install
|
|
110
|
-
npm run build
|
|
111
|
-
```
|
|
131
|
+
Renma focuses on machine-consumable repository knowledge that can be owned, referenced, validated, and reused in AI workflows.
|
|
112
132
|
|
|
113
|
-
|
|
133
|
+
Software catalogs track services, libraries, ownership, and lifecycle.
|
|
114
134
|
|
|
115
|
-
|
|
116
|
-
node dist/index.js scan .
|
|
117
|
-
```
|
|
135
|
+
Renma applies a similar catalog model to context assets.
|
|
118
136
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
```bash
|
|
122
|
-
renma scan .
|
|
123
|
-
```
|
|
137
|
+
## First-Time Use
|
|
124
138
|
|
|
125
|
-
|
|
139
|
+
Try Renma against the current repository:
|
|
126
140
|
|
|
127
141
|
```bash
|
|
128
|
-
renma scan
|
|
129
|
-
renma catalog
|
|
130
|
-
renma graph
|
|
131
|
-
renma
|
|
132
|
-
renma readiness [path] [options]
|
|
133
|
-
renma inspect <file> [options]
|
|
134
|
-
renma suggest-semantic-split <file> [options]
|
|
142
|
+
npx renma scan .
|
|
143
|
+
npx renma catalog . --format json
|
|
144
|
+
npx renma graph . --format mermaid
|
|
145
|
+
npx renma readiness .
|
|
135
146
|
```
|
|
136
147
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
`renma readiness` emits a static, deterministic agent-readiness report with a score, level, summary metrics, checks, and diagnostics. It exits 0 only when the level is `ready`; `needs_attention` and `not_ready` exit 1 for CI use. It does not call LLMs, choose runtime context, assemble prompts, or repair files.
|
|
140
|
-
|
|
141
|
-
### Agent readiness v1
|
|
148
|
+
The first command does not require you to design a knowledge architecture up front. It scans the repository, builds a local catalog, and reports obvious health issues such as broken links, unclear ownership, risky instructions, weak structure, and context that may be hard for agents to trust.
|
|
142
149
|
|
|
143
|
-
|
|
150
|
+
If you are developing Renma from source:
|
|
144
151
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
- required inputs / prerequisites
|
|
151
|
-
- completion criteria / definition of done
|
|
152
|
-
|
|
153
|
-
The report also includes a workflow readiness summary that counts workflow pass/warn/fail states and reports a deterministic workflow readiness percentage.
|
|
154
|
-
|
|
155
|
-
A ready report is intentionally compact enough to paste into a PR description, for example: level, score, workflow readiness, graph resolution, ownership coverage, diagnostics, and layout status.
|
|
156
|
-
|
|
157
|
-
Dogfooding against the `appium/skills` branch `refine2` produced a ready v1 report with all workflow checks passing, all graph edges resolved, all assets owned, no diagnostics, and passing layout checks. The example confirmed that the Markdown recap is useful for PR reviews without changing Renma's deterministic static boundaries.
|
|
158
|
-
|
|
159
|
-
The JSON and Markdown reports expose `summary.workflow` counts, graph resolution, ownership coverage, diagnostics, and layout status. They do not perform runtime context selection, assemble prompt packages, call an LLM, auto-repair files, score repairability, or plan per-skill patches.
|
|
160
|
-
|
|
161
|
-
Workflow context closure checks that each skill entrypoint's declared required context references resolve to usable, non-deprecated, non-archived assets.
|
|
152
|
+
```bash
|
|
153
|
+
npm install
|
|
154
|
+
npm run build
|
|
155
|
+
node dist/index.js scan .
|
|
156
|
+
```
|
|
162
157
|
|
|
163
|
-
|
|
158
|
+
Then inspect the catalog and graph:
|
|
164
159
|
|
|
165
|
-
|
|
160
|
+
```bash
|
|
161
|
+
node dist/index.js catalog . --format json
|
|
162
|
+
node dist/index.js graph . --format mermaid
|
|
163
|
+
node dist/index.js readiness .
|
|
164
|
+
```
|
|
166
165
|
|
|
167
|
-
|
|
166
|
+
A practical first pass is:
|
|
168
167
|
|
|
169
|
-
|
|
168
|
+
1. Run `scan` to find broken links, weak structure, risky instructions, missing lifecycle metadata, and other repairable issues.
|
|
169
|
+
2. Run `catalog` to see which skills, context assets, references, examples, and support files Renma discovered.
|
|
170
|
+
3. Run `ownership` to find assets without clear ownership.
|
|
171
|
+
4. Run `graph` to inspect dependencies and discover orphaned or overly coupled knowledge.
|
|
172
|
+
5. Run `readiness` to summarize whether the repository is healthy enough for agent use.
|
|
170
173
|
|
|
171
|
-
|
|
174
|
+
Renma does not require an LLM for this loop. Its core analysis is deterministic so the same repository state produces stable evidence in local development, CI, and code review.
|
|
172
175
|
|
|
173
|
-
|
|
176
|
+
## CLI Commands
|
|
174
177
|
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
--max-source-bytes <n>
|
|
184
|
-
suggest-semantic-split: source file byte budget
|
|
185
|
-
--max-context-bytes <n>
|
|
186
|
-
suggest-semantic-split: nearby context byte budget
|
|
187
|
-
-h, --help Show help
|
|
188
|
-
-v, --version Show version
|
|
178
|
+
```bash
|
|
179
|
+
renma scan <path>
|
|
180
|
+
renma catalog <path>
|
|
181
|
+
renma ownership <path>
|
|
182
|
+
renma graph <path>
|
|
183
|
+
renma readiness <path>
|
|
184
|
+
renma inspect <path> <asset-or-file>
|
|
185
|
+
renma suggest-semantic-split <file>
|
|
189
186
|
```
|
|
190
187
|
|
|
191
|
-
|
|
188
|
+
Common examples:
|
|
192
189
|
|
|
193
190
|
```bash
|
|
194
191
|
renma scan .
|
|
195
|
-
renma scan
|
|
196
|
-
renma scan . --fail-on
|
|
197
|
-
renma
|
|
198
|
-
renma
|
|
199
|
-
renma catalog . --json
|
|
200
|
-
renma graph . --format markdown
|
|
192
|
+
renma scan . --format json
|
|
193
|
+
renma scan . --fail-on high
|
|
194
|
+
renma catalog . --format json
|
|
195
|
+
renma ownership . --include-owned
|
|
201
196
|
renma graph . --format mermaid
|
|
202
|
-
renma
|
|
203
|
-
renma
|
|
204
|
-
renma ownership . --format markdown
|
|
205
|
-
renma ownership . --json
|
|
206
|
-
renma ownership . --json --include-owned
|
|
207
|
-
renma readiness . --format markdown
|
|
208
|
-
renma readiness . --json
|
|
209
|
-
renma inspect contexts/testing/boundary-value-analysis.md --format json
|
|
210
|
-
renma inspect contexts/testing/boundary-value-analysis.md --lines L40-L90 --format text
|
|
211
|
-
renma suggest-semantic-split contexts/testing/boundary-value-analysis.md
|
|
197
|
+
renma readiness .
|
|
198
|
+
renma inspect . contexts/testing/boundary-value-analysis.md
|
|
212
199
|
```
|
|
213
200
|
|
|
201
|
+
Use JSON output when Renma is part of CI or another tool. Use text output when a person or coding agent needs a concise repair list.
|
|
202
|
+
|
|
214
203
|
## What Gets Scanned
|
|
215
204
|
|
|
216
205
|
By default, Renma looks for:
|
|
@@ -225,19 +214,11 @@ contexts/**/*.md
|
|
|
225
214
|
tools/**/*
|
|
226
215
|
```
|
|
227
216
|
|
|
228
|
-
|
|
217
|
+
Renma also understands skill-local support directories such as `profiles/`, `references/`, and `examples/`. Shared knowledge that is reused across skills should usually move into `contexts/` so it can have its own owner, lifecycle, dependencies, and review history.
|
|
229
218
|
|
|
230
219
|
## Configuration
|
|
231
220
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
Configuration is applied in this order:
|
|
235
|
-
|
|
236
|
-
1. Defaults
|
|
237
|
-
2. Config file
|
|
238
|
-
3. CLI flags
|
|
239
|
-
|
|
240
|
-
Example:
|
|
221
|
+
Add `renma.config.json` at the repository root to tune discovery and CI behavior:
|
|
241
222
|
|
|
242
223
|
```json
|
|
243
224
|
{
|
|
@@ -248,7 +229,11 @@ Example:
|
|
|
248
229
|
"AGENTS.md",
|
|
249
230
|
"contexts/**/*.md"
|
|
250
231
|
],
|
|
251
|
-
"exclude": [
|
|
232
|
+
"exclude": [
|
|
233
|
+
"node_modules",
|
|
234
|
+
"dist",
|
|
235
|
+
".git"
|
|
236
|
+
],
|
|
252
237
|
"max_file_size_bytes": 524288,
|
|
253
238
|
"max_depth": 16,
|
|
254
239
|
"concurrency": 16,
|
|
@@ -258,93 +243,101 @@ Example:
|
|
|
258
243
|
}
|
|
259
244
|
```
|
|
260
245
|
|
|
261
|
-
|
|
246
|
+
## Asset Metadata
|
|
262
247
|
|
|
263
|
-
|
|
264
|
-
- `format`: `text` or `json`
|
|
265
|
-
- `globs`: array of glob patterns
|
|
266
|
-
- `exclude`: array of path segment names to skip
|
|
267
|
-
- `max_file_size_bytes`: positive integer
|
|
268
|
-
- `max_depth`: positive integer
|
|
269
|
-
- `concurrency`: positive integer
|
|
270
|
-
- `layout`: optional strict layout policy configuration
|
|
271
|
-
- `tool_namespace`: optional namespace for suggested `contexts/tools/<namespace>/...` and `tools/<namespace>/...` paths
|
|
272
|
-
- `workflow_aliases`: map of skill directory names to canonical workflow directory names
|
|
248
|
+
Renma works best when reusable assets declare lightweight metadata in front matter:
|
|
273
249
|
|
|
274
|
-
|
|
250
|
+
```markdown
|
|
251
|
+
---
|
|
252
|
+
id: context.testing.boundary-value-analysis
|
|
253
|
+
kind: context
|
|
254
|
+
owner: qa-platform
|
|
255
|
+
status: active
|
|
256
|
+
depends_on:
|
|
257
|
+
- context.testing.negative-testing
|
|
258
|
+
---
|
|
275
259
|
|
|
276
|
-
|
|
260
|
+
# Boundary Value Analysis
|
|
261
|
+
```
|
|
277
262
|
|
|
278
|
-
|
|
263
|
+
Useful metadata includes:
|
|
279
264
|
|
|
280
|
-
- `
|
|
281
|
-
- `
|
|
265
|
+
- `id`: Stable catalog ID
|
|
266
|
+
- `kind`: `skill`, `context`, `reference`, `example`, `profile`, or support type
|
|
267
|
+
- `owner`: Team, person, or group responsible for the asset
|
|
268
|
+
- `status`: Lifecycle state such as `active`, `draft`, `deprecated`, or `archived`
|
|
269
|
+
- `depends_on`: Other catalog IDs this asset relies on
|
|
282
270
|
|
|
283
|
-
|
|
271
|
+
Renma can infer some information from paths and headings, but explicit metadata makes ownership and dependency reports much more valuable.
|
|
284
272
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
273
|
+
## CI Example
|
|
274
|
+
|
|
275
|
+
```yaml
|
|
276
|
+
name: renma
|
|
277
|
+
|
|
278
|
+
on:
|
|
279
|
+
pull_request:
|
|
280
|
+
push:
|
|
281
|
+
branches:
|
|
282
|
+
- main
|
|
283
|
+
|
|
284
|
+
jobs:
|
|
285
|
+
renma:
|
|
286
|
+
runs-on: ubuntu-latest
|
|
287
|
+
steps:
|
|
288
|
+
- uses: actions/checkout@v4
|
|
289
|
+
- uses: actions/setup-node@v4
|
|
290
|
+
with:
|
|
291
|
+
node-version: 22
|
|
292
|
+
- run: npx renma scan . --fail-on high --format json
|
|
294
293
|
```
|
|
295
294
|
|
|
296
|
-
##
|
|
295
|
+
## Design Philosophy
|
|
296
|
+
|
|
297
|
+
Renma has an opinionated design.
|
|
298
|
+
|
|
299
|
+
It is built around the idea that reusable LLM context should be treated like a software asset: owned, versioned, referenced, reviewed, and checked for readiness.
|
|
300
|
+
|
|
301
|
+
This means Renma favors structured, Git-friendly context repositories over ad hoc prompt snippets or untracked notes.
|
|
297
302
|
|
|
298
|
-
|
|
299
|
-
- `1`: Scan completed and at least one finding met `fail_on`
|
|
300
|
-
- `2`: CLI usage error, invalid config, or unreadable required input
|
|
303
|
+
## Design Boundaries
|
|
301
304
|
|
|
302
|
-
|
|
305
|
+
Renma intentionally stays below the agent runtime layer.
|
|
303
306
|
|
|
304
|
-
|
|
307
|
+
Renma does:
|
|
305
308
|
|
|
306
|
-
-
|
|
307
|
-
-
|
|
308
|
-
-
|
|
309
|
-
-
|
|
310
|
-
- Oversized shared context assets or local support files in `contexts/`, `context/`, `profiles/`, `references/`, and `examples/`
|
|
311
|
-
- Unreachable skill-local profiles, references, and examples
|
|
312
|
-
- Profile overlays missing base skill declaration
|
|
313
|
-
- Skills that still route through deprecated or superseded local support assets after reusable knowledge has moved to canonical shared context assets
|
|
314
|
-
- Non-skill assets that still reference deprecated or superseded support files instead of canonical shared context assets
|
|
315
|
-
- Advisory reusable-context candidates in `SKILL.md` files with enough size and diverse setup, troubleshooting, platform, testing, risk, or domain-rule signals
|
|
316
|
-
- Advisory shared-context candidates in large `contexts/**/*.md` assets with generic source-of-truth headings and reusable guidance phrases
|
|
317
|
-
- Advisory shared-context assets under process-state folders such as `contexts/promoted/`, `contexts/generated/`, or `contexts/drafts/` that should become semantic final paths
|
|
318
|
-
- Literal secret-like values
|
|
319
|
-
- Private key material
|
|
320
|
-
- Destructive commands without nearby confirmation or recovery context
|
|
321
|
-
- Risky remote defaults
|
|
322
|
-
- Broad environment copying into subprocesses
|
|
323
|
-
- Hardcoded user-local paths
|
|
309
|
+
- Catalog LLM-consumable repository assets
|
|
310
|
+
- Validate links, structure, lifecycle state, safety signals, and ownership
|
|
311
|
+
- Emit deterministic reports with file and line evidence
|
|
312
|
+
- Help humans and agents repair knowledge repositories through reviewable patches
|
|
324
313
|
|
|
325
|
-
|
|
314
|
+
Renma does not:
|
|
326
315
|
|
|
327
|
-
|
|
316
|
+
- Choose task-specific context for a live agent session
|
|
317
|
+
- Assemble prompts
|
|
318
|
+
- Inject context into model calls
|
|
319
|
+
- Execute agent workflows
|
|
320
|
+
- Act as a provider gateway
|
|
321
|
+
- Replace product, QA, platform, or documentation ownership
|
|
322
|
+
|
|
323
|
+
This boundary keeps Renma useful as repository infrastructure. Agent tools can consume its reports, but the catalog remains grounded in Git, code review, and deterministic checks.
|
|
328
324
|
|
|
329
325
|
## Development
|
|
330
326
|
|
|
331
327
|
```bash
|
|
328
|
+
npm install
|
|
332
329
|
npm run build
|
|
333
|
-
npm run typecheck
|
|
334
330
|
npm test
|
|
335
331
|
```
|
|
336
332
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
## Inspirations
|
|
340
|
-
|
|
341
|
-
Renma is inspired by:
|
|
333
|
+
Run the local CLI after building:
|
|
342
334
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
Renma is an independent implementation focused on lightweight deterministic governance checks for AI-agent skill and context repositories.
|
|
335
|
+
```bash
|
|
336
|
+
node dist/index.js scan .
|
|
337
|
+
```
|
|
347
338
|
|
|
348
|
-
##
|
|
339
|
+
## Related Docs
|
|
349
340
|
|
|
350
|
-
|
|
341
|
+
- [architecture.md](architecture.md) for the deeper system model
|
|
342
|
+
- [design.md](design.md) for product and rule-design notes
|
|
343
|
+
- [plan.md](plan.md) for current implementation direction
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "renma",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Git-native governance and quality CLI for LLM-ready skills and shared context assets.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"codex",
|
|
21
21
|
"skills"
|
|
22
22
|
],
|
|
23
|
-
"type": "module",
|
|
23
|
+
"type": "module",
|
|
24
24
|
"bin": {
|
|
25
25
|
"renma": "./dist/index.js"
|
|
26
26
|
},
|