본문으로 건너뛰기
cccskills
무료GitHub에 공개

codex-ocapn-correspondence

Maps the 18 OCapN/CapTP/E-rights patterns reinvented piecemeal across codex-rs to their canonical Spritely/Goblins equivalents and the hermes-* bridge skills that formalize each correspondence. Use when auditing capability architecture in codex-rs, planning a Hoot/Goblins port, or reasoning about which E-rights primitive a codex-rs module implicitly implements.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md6.1 KB
  • CONCOMITANT_SKILLS.md3.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Codex-rs ↔ OCapN Correspondence Map

codex-rs reconstructs nearly the complete OCapN/CapTP/E-rights architecture piecemeal in Rust. This skill documents the 18-pattern correspondence and organizes them into six families.

Six Families

1. Core E/CapTP

#Patterncodex-rs LocationOCapN Canonicalhermes-* Bridge
1Swiss Numberswindows-sandbox-rs/src/cap.rs — random session IDsUnguessable designators for capability addressinghermes-cred-as-sturdy
2Eventual-Sendcodex-rs/core — async message dispatch between threadsE.send() / promise pipelininghermes-goblins-bridge
3Promise Pipelining (implicit)exec/mod.rs — chained async operations on pending resultsPipelining messages to unresolved promiseshermes-goblins-bridge
4Near/Far Transparencycodex-rs/core — same API for local exec vs sandbox callsNear refs (same vat) vs far refs (cross-vat) behave identicallyhermes-net-as-cap
5Sturdy Referencescore/thread_fork_resume — resumable thread state persisted to diskLong-lived, serializable capability referenceshermes-cred-as-sturdy

2. Rights Amplification

#Patterncodex-rs LocationOCapN Canonicalhermes-* Bridge
6Capability Attenuationcodex-rs/exec/src/permissions.rs — SandboxPolicy allow/deny listsWrapping a cap to restrict its authorityhermes-tool-as-cap
7Facets & Compositionprotocol/ — tool registration with scoped capabilitiesMultiple facets of a single object, each with different authorityhermes-mcp-as-sealed
8Default-Deny / POLAexec/ — sandbox starts with zero capabilities, explicitly grantsPrinciple of Least Authority as system defaulthermes-fs-as-cap

3. Lifecycle & Distributed GC

#Patterncodex-rs LocationOCapN Canonicalhermes-* Bridge
9Vat QuiescenceEphemeral sandbox threads spin down after task completionVat pausing / checkpointinghermes-session-as-snapshot
10Hierarchical Cancellationcore/ — parent task cancellation propagates to childrenVat hierarchy with cascading revocationhermes-cron-as-dataspace
11Time-Limited Capsexec/ — sandbox timeout enforcementCapabilities with expiry / TTLhermes-approval-as-revocable
12Revocationexec/ — sandbox teardown revokes all granted capsCaretaker pattern / revocable forwardershermes-approval-as-revocable

4. Confinement

#Patterncodex-rs LocationOCapN Canonicalhermes-* Bridge
13Confined VatsEphemeral threads as isolated execution contextsConfined vats with no ambient authorityhermes-mem-as-dataspace
14Membrane Proxyapp-server/ — API gateway mediating between user and sandboxMembrane wrapping all refs crossing a boundaryhermes-ctx-engine-shim
15Sealed Traitsprotocol/ — type-sealed message envelopesSealer/unsealer pairs for type-safe encapsulationhermes-mcp-as-sealed

5. Cryptographic

#Patterncodex-rs LocationOCapN Canonicalhermes-* Bridge
16Sealer/Unsealercrypto_box-style patterns in session authRights amplification via matched seal/unseal pairshermes-mcp-as-sealed
17Opaque CursorsSession IDs as opaque tokensUnguessable capability designatorshermes-cred-as-sturdy
18Swiss-Number SIDscap.rs — random 128-bit session identifiersSwiss number addressinghermes-cred-as-sturdy

6. Operational

Patterncodex-rs LocationOCapN Canonicalhermes-* Bridge
Provenance (Horton)Git-based audit trail in codex-rs sessionsHorton "who said that?" provenancehermes-acp-over-captp
Replaysession-as-snapshot — deterministic replay from logEvent sourcing / vat replayhermes-session-as-snapshot
Backpressureexec/ — bounded concurrent tool callsMailbox capacity / flow controlhermes-cron-as-dataspace
Mailbox OrderingSequential message processing per sandbox threadVat turn-based execution / E-orderhermes-goblins-bridge
Resource Budgetsexec/ — timeout + output size limitsResource-bounded capability exercisehermes-tool-as-cap

Port Thesis

A Hoot/Spritely port would collapse all 18 patterns into a single coherent system because Goblins provides these primitives as first-class abstractions:

  • Swiss numbers → built-in to CapTP addressing
  • Near/far → Goblins spawn vs <- automatically
  • Attenuation → define-facet with restricted methods
  • Confinement → vat isolation is the default
  • Sealer/unsealer → make-sealer-unsealer primitive
  • Sturdy refs → sturdy-ref with Swiss-number + location hints

The hermes-* bridge skills are the explicit formalization layer: each one maps exactly one codex-rs reinvention to its Goblins/OCapN canonical form, enabling incremental migration rather than a big-bang rewrite.

Related Skills

  • hermes-goblins-bridge — master bridge skill
  • hermes-acp-over-captp — ACP↔CapTP protocol mapping
  • hermes-* family (12 skills) — individual pattern bridges
  • goblins — Spritely Goblins distributed actor system
  • captp — CapTP wire protocol
  • guile-goblins-hoot — Goblins + Hoot WebAssembly compiler

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Model ElevenLabs voice synthesis as an ACSet schema with Unison ability handlers for typed voice operations. Use when integrating ElevenLabs TTS into category-theoretic pipelines, building typed voice synthesis workflows, or managing multi-voice narration with GF(3) conservation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

Systematic process for analyzing and modernizing legacy applications to comply with the 12-Factor App methodology. Covers code analysis, configuration externalization, dependency management, and container/Kubernetes best practices.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

13c0e3

무료

Gay MCP skill at invocation 26

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

19d57d

무료

Gay MCP skill at invocation 5

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

1ea91a

무료

Gay MCP skill at invocation 27

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

1eab21

무료

Gay MCP skill at invocation 3

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

plurigrid의 스킬 모두 보기

이 스킬의 문제 신고