agent-registry
Use when working on the account and binding inventory surface in @jeswr/agent-registry.
- License 许可
- MIT
- 所属仓库
- jeswr/solid-sdk
- 最近更新
- 2026-11-15
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- agent-registry
- description
- Use when working on the account and binding inventory surface in @jeswr/agent-registry.
02 资源文件 21
- 参考文档package.json1.3 KB
- 参考文档README.md6.7 KB
- 脚本src/assess.ts2.4 KB
- 脚本src/importer.ts5.6 KB
- 脚本src/index.ts820 B
- 脚本src/inventory.ts20.4 KB
- 脚本src/model.ts2.5 KB
- 脚本src/ports.ts1.3 KB
- 脚本src/privacy.ts1.4 KB
- 脚本src/rdf.ts1.7 KB
- 脚本src/settings.ts274 B
- 脚本src/testing.ts2.5 KB
- 脚本test/exports.test.ts1.6 KB
- 参考文档test/fixtures/registry.synthetic.yaml12.8 KB
- 脚本test/importer.test.ts48.8 KB
- 脚本test/reimport.test.ts9.4 KB
- 脚本test/settings.test.ts46.8 KB
- 脚本test/testing.test.ts2.2 KB
- 参考文档tsconfig.json212 B
- 参考文档tsconfig.test.json201 B
- 脚本vitest.config.ts190 B
03 SKILL.md 正文
<!-- AUTHORED-BY Codex GPT-6.1-Sol --> <!-- AUTHORED-BY Codex GPT-6 -->
@jeswr/agent-registry
Read agent DESIGN §2.4 and the README before changing the importer or account settings.
The root export is daemon-side; ./settings is browser-safe; ./testing contains offline fakes.
- Never read a real registry during development. Use the synthetic YAML fixture (28 accounts, plus one added Telegram bot). No raw handle may appear in emitted RDF or settings.
- Hash handles with HMAC-SHA-256 using the injected persistent daemon salt. Never generate a fallback salt or publish raw ids/notes/labels. Do not fold Gmail aliases.
- Credential references are
op://vault/item/fieldor explicitprofile:name, never values. Do not resolve references, runop, or read daemon credentials. Reject references with handles. - Setup and historic evidence cannot prove a live connection. Restrictions default false; inventory import never grants access, enables sends, or satisfies a mandate.
ports.tsis the minimal temporary SDK storage seam. Persist owner-only ACLs before content, use ETags/conditional creates, and reject transport errors. Do not assume absent content when access was denied. Re-import replaces stable hashed URLs, never appends.- Emit and validate accounts through
@jeswr/agent-model's RDF mappings. Registry fields belong to inventory; preserve validated owner restrictions, label and binding state on re-import, and skip semantically unchanged accounts. New accounts remain default-deny. Extend the shared vocabulary and mappings when inventory needs new fields. Do not build triples or Turtle by hand. - Keep settings assessments offline and default-deny. Browser settings must not import file or crypto modules. The executor owns provider/mandate enforcement, not this settings model.
Follow ADR-001 D4: Node >=24, ESM exports, workspace dependencies, strict TypeScript, Biome, and Vitest. Never use live providers, pods or credentials in tests. Only the model gateway may import OpenAI/Anthropic SDKs; send subpaths belong to the executor.
04 同仓库更多 Skills
storage-conformance
Work on @jeswr/storage-conformance, the shared storage conformance suite package in the Solid SDK workspace.
fetch-rdf-engine-tests
Maintain fetch-rdf's real Node WASM parser integration tests without introducing a reverse engine dependency in fetch-rdf.
alpha
Use when checking fixtures, including folded YAML descriptions.
widget
Use when testing package skills: YAML quoting works.
web-seo
Use when improving technical and entity SEO for a modern personal, portfolio, documentation, or marketing site, including crawlable HTML, canonical metadata, sitemap and robots, Person/ProfilePage JSON-LD, Core Web Vitals, and honest ranking expectations.
solid-wac
Use when implementing or auditing Solid server WAC authorization, ACL creation and inheritance, auxiliary-resource escalation, method-to-mode mapping, 401 versus 403 challenges, WAC-Allow, or defensive typed ACL parsing with @solid/object and @rdfjs/wrapper.