agentic-legacy-bridge
Use when maintaining imported channel parsing, BridgeMessage and ChannelAdapter contracts, metadata interpretation, approval-gated replies, webhook verification, and email/Slack/WhatsApp transforms.
- License 许可
- MIT
- 所属仓库
- jeswr/solid-sdk
- 最近更新
- 2026-11-15
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- agentic-legacy-bridge
- description
- Use when maintaining imported channel parsing, BridgeMessage and ChannelAdapter contracts, metadata interpretation, approval-gated replies, webhook verification, and email/Slack/WhatsApp transforms.
02 资源文件 102
- 其他.gitignore221 B
- 参考文档docs/DECISIONS.md9.1 KB
- 参考文档docs/M2-DESIGN.md43.5 KB
- 许可证LICENSE1.0 KB
- 参考文档package.json2.4 KB
- 参考文档PROTOCOL.md9.2 KB
- 参考文档README.md25.5 KB
- 脚本scripts/check-lockfile-transport.mjs3.1 KB
- 脚本scripts/normalize-lockfile.mjs4.3 KB
- 脚本src/acl-discovery.test.ts10.3 KB
- 脚本src/acl-discovery.ts4.0 KB
- 脚本src/acl-rdf.ts5.7 KB
- 脚本src/acl.test.ts9.6 KB
- 脚本src/acl.ts13.5 KB
- 脚本src/canonical.test.ts1.5 KB
- 脚本src/canonical.ts2.7 KB
- 脚本src/channel.test.ts13.9 KB
- 脚本src/channel.ts1.4 KB
- 脚本src/email/index.ts457 B
- 脚本src/email/parse-structured.test.ts4.8 KB
- 脚本src/email/parse.test.ts17.0 KB
- 脚本src/email/parse.ts37.3 KB
- 脚本src/email/types.ts178 B
- 脚本src/errors.ts92 B
- 参考文档src/fixtures/slack/recorded-agentic-message-event.json480 B
- 参考文档src/fixtures/slack/recorded-bot-message-event.json411 B
- 参考文档src/fixtures/slack/recorded-hostile-message-event.json544 B
- 参考文档src/fixtures/slack/recorded-message-event.json479 B
- 脚本src/graph.test.ts6.1 KB
- 脚本src/graph.ts10.2 KB
- 脚本src/import.test.ts13.5 KB
- 脚本src/import.ts12.6 KB
- 脚本src/index.ts7.3 KB
- 脚本src/interpret-llm-http.test.ts10.8 KB
- 脚本src/interpret-llm-http.ts10.6 KB
- 脚本src/interpret-llm.test.ts29.9 KB
- 脚本src/interpret-llm.ts35.3 KB
- 脚本src/interpret-sweep.test.ts57.6 KB
- 脚本src/interpret-sweep.ts48.1 KB
- 脚本src/interpret.test.ts4.4 KB
- 脚本src/interpret.ts10.7 KB
- 脚本src/iri-differential.test.ts7.4 KB
- 脚本src/message.test.ts5.3 KB
- 脚本src/message.ts269 B
- 脚本src/metadata/agentic-reply.test.ts14.6 KB
- 脚本src/metadata/agentic-reply.ts13.3 KB
- 脚本src/metadata/emit.test.ts4.7 KB
- 脚本src/metadata/emit.ts6.5 KB
- 脚本src/metadata/ical.test.ts7.3 KB
- 脚本src/metadata/ical.ts11.8 KB
- 脚本src/metadata/index.ts2.2 KB
- 脚本src/metadata/interpreter.test.ts5.2 KB
- 脚本src/metadata/interpreter.ts5.2 KB
- 脚本src/metadata/jsonld.test.ts8.7 KB
- 脚本src/metadata/jsonld.ts10.5 KB
- 脚本src/metadata/patterns.test.ts2.9 KB
- 脚本src/metadata/patterns.ts7.8 KB
- 脚本src/metadata/rdf-canonize.d.ts1.3 KB
- 脚本src/metadata/reply-envelope.test.ts2.5 KB
- 脚本src/metadata/values.test.ts3.4 KB
- 脚本src/metadata/values.ts6.2 KB
- 脚本src/negotiate.test.ts7.5 KB
- 脚本src/negotiate.ts10.4 KB
- 脚本src/reliability.test.ts7.3 KB
- 脚本src/reliability.ts13.2 KB
- 脚本src/reply.test.ts5.6 KB
- 脚本src/reply.ts11.1 KB
- 脚本src/respond.test.ts6.1 KB
- 脚本src/respond.ts5.3 KB
- 脚本src/safe-iri.test.ts5.7 KB
- 脚本src/safe-iri.ts12.4 KB
- 脚本src/sender.test.ts4.4 KB
- 脚本src/sender.ts9.4 KB
- 脚本src/slack-reply.test.ts7.1 KB
- 脚本src/slack.test.ts29.6 KB
- 脚本src/slack.ts34.9 KB
- 脚本src/stream-limit.ts1.6 KB
- 脚本src/upgrade-state.test.ts12.7 KB
- 脚本src/upgrade-state.ts25.9 KB
- 脚本src/upgrade.test.ts25.1 KB
- 脚本src/upgrade.ts22.0 KB
- 脚本src/vocab.ts12.0 KB
- 脚本src/webhook/fetch-adapter.test.ts4.3 KB
- 脚本src/webhook/fetch-adapter.ts2.8 KB
- 脚本src/webhook/handler.test.ts20.1 KB
- 脚本src/webhook/handler.ts17.3 KB
- 脚本src/webhook/index.ts1.6 KB
- 脚本src/webhook/request.ts3.3 KB
- 脚本src/webhook/verify-meta.test.ts4.6 KB
- 脚本src/webhook/verify-meta.ts4.8 KB
- 脚本src/webhook/verify-slack.test.ts5.7 KB
- 脚本src/webhook/verify-slack.ts4.5 KB
- 脚本src/webhook/verify-util.ts1.9 KB
- 脚本src/webhook/write.test.ts14.7 KB
- 脚本src/webhook/write.ts11.2 KB
- 脚本src/whatsapp-count.test.ts2.1 KB
- 脚本src/whatsapp.test.ts28.6 KB
- 脚本src/whatsapp.ts32.3 KB
- 参考文档suite.json3.9 KB
- 参考文档tsconfig.build.json170 B
- 参考文档tsconfig.json257 B
- 脚本vitest.config.ts372 B
03 SKILL.md 正文
<!-- AUTHORED-BY Codex GPT-6.1-Sol -->
Legacy bridge import
Preserve the channel-neutral contracts and the public ., ./email, ./metadata, and
./webhook exports. The existing PROTOCOL.md and docs/DECISIONS.md describe wire behavior.
Shared message, email/reply shapes, ChannelParseError and adapter contracts now
live in agent-channels (A-005). Keep these compatibility re-exports and the
email-default adapter/parser here; do not introduce a reverse dependency.
Treat inbound messages as hostile. Identity, authority, interpretation, and approval are separate assessments; missing or unverifiable evidence must not authorize a reply. Keep transport, fetch, signer, interpreter, approval, and pod storage injectable. Tests use synthetic messages and in-memory stores; never call a real provider, model, or Solid pod.
The workspace owns pnpm, Biome, TypeScript, Vitest 4, and the lockfile. Build workspace
dependencies first, then run lint, build, typecheck, test, and test:coverage. Coverage measures
all non-test TypeScript under src/; do not set securityCritical without 100% in all metrics
and enforced thresholds.
Use the suite RDF libraries for parsing, typed access, and serialization. Keep workspace
dependencies as workspace:*; fetch-rdf remains a registry dependency until imported.
The tsc build preserves dependency imports, so mirrorPublish.inlined is empty and all
workspace dependencies require explicit mirror SHAs. Publishing is separate authorization;
never hand-edit mirrors or commit dist/ here.
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.