agent-model
Use when working with the channel-neutral agent core, its canonical digests, vocabulary and typed pod record RDF mappings.
- License 许可
- MIT
- 所属仓库
- jeswr/solid-sdk
- 最近更新
- 2026-11-15
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- agent-model
- description
- Use when working with the channel-neutral agent core, its canonical digests, vocabulary and typed pod record RDF mappings.
02 资源文件 40
- 其他docs/vocab.ttl32.9 KB
- 参考文档package.json2.9 KB
- 参考文档README.md5.7 KB
- 脚本scripts/generate-vocab.mjs880 B
- 脚本src/account-descriptors.test.ts2.7 KB
- 脚本src/account-descriptors.ts2.1 KB
- 脚本src/binding-controls.test.ts3.4 KB
- 脚本src/binding-controls.ts1.5 KB
- 脚本src/core.test.ts13.5 KB
- 脚本src/core/canonical.test.ts4.4 KB
- 脚本src/core/canonical.ts5.1 KB
- 脚本src/core/conversation.test.ts6.1 KB
- 脚本src/core/conversation.ts13.1 KB
- 脚本src/core/json.ts819 B
- 脚本src/core/limits.test.ts2.0 KB
- 脚本src/core/limits.ts6.4 KB
- 脚本src/core/schema.test.ts3.0 KB
- 脚本src/core/schema.ts4.7 KB
- 脚本src/core/types.ts12.6 KB
- 脚本src/index.ts507 B
- 脚本src/profile/vocabulary.ts8.8 KB
- 脚本src/rdf/account.test.ts3.6 KB
- 脚本src/rdf/evidence.test.ts5.2 KB
- 脚本src/rdf/evidence.ts20.2 KB
- 脚本src/rdf/records.test.ts29.6 KB
- 脚本src/rdf/records.ts13.6 KB
- 脚本src/rdf/resource.ts5.1 KB
- 脚本src/rdf/serialise.test.ts4.9 KB
- 脚本src/rdf/serialise.ts8.5 KB
- 脚本src/records.ts9.7 KB
- 脚本src/testing.ts4.3 KB
- 脚本src/vocab.ts27.8 KB
- 脚本test/exports.test.ts1.8 KB
- 其他test/fixtures/archive.ttl793 B
- 其他test/fixtures/set-binding-read.ttl966 B
- 参考文档tsconfig.build.json119 B
- 参考文档tsconfig.json262 B
- 参考文档tsconfig.test.json201 B
- 参考文档turbo.json308 B
- 脚本vitest.config.ts256 B
03 SKILL.md 正文
<!-- AUTHORED-BY Codex GPT-6.1-Sol --> <!-- AUTHORED-BY Codex GPT-6 -->
The model is pure data and local conversion. Never import bindings, credential stores,
providers or enforcement implementations. toRdf and fromRdf validate structure;
they do not verify signatures, approvals, mandates or expiry against a clock.
Consumers must verify those through agent-mandate before acting.
Mint terms only in src/vocab.ts, and document every term in docs/vocab.ttl.
Use Resource subclasses and wrapper accessors for RDF, fetch-rdf for parsing,
and rdf-serialize for Turtle. Preserve lexical timestamps and ordered structured parts.
Only salted handle hashes belong in pod records. Proofs are opaque JSON passthrough;
mandates are references, not credentials issued or verified here.
Run lint, dependency-first build, typecheck and tests. Property tests cover all ten
pod record families with no network. ./testing exports synthetic fixtures only.
The copied pilot modules remain in personal-agent until a later coordinated migration;
protected identifiers must never be rewritten in place.
Follow ADR-001 D4: Node >=24, ESM exports, workspace dependencies, strict TypeScript, Biome, and Vitest. Never use live providers or credentials in tests. Send implementations belong exclusively in channel send subpaths, importable only by agent-executor and channel tests. Only agent-model-gateway may import OpenAI or Anthropic SDKs; the gateway must never import agent-audit.
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.