跳到主要內容

ARC 2.0.0-beta.28

ARC and AFS

Treat AFS as the path and capability layer, and ARC as the runtime shell that hosts mounts, Blocklets, and CLI entry points.

Name the layers by what you depend on:

NameRoleYou reach it when…
AFSPath-based resource and capability abstractionYou list, read, write, search, exec, or mount a path
ARCRuntime product shell around AFSYou start a service, run a Blocklet, open a session, or use the CLI against a live instance

AFS does not know how HTTP arrived or which process hosts it. ARC does: it boots the host, mounts providers, applies identity and session context, and exposes operational tools.

What AFS owns

AFS is implemented as the @aigne/afs core and provider base classes. A provider declares a name, access mode, and the operations it implements. Core operations you will see in the CLI and provider contract include:

Operation familyPurpose
list / read / write / deleteDirectory and entry access
statMetadata without full content
searchProvider-defined content search inside a path
execActions exposed as executable paths
explainHuman- and agent-oriented description of a path or concept
mountAttach a provider at a path

A path is an interface boundary. It is not evidence that all data lives in one store. Check the provider’s declared capabilities before treating an operation as part of your application contract. Full operation semantics: AFS core contract.

What ARC owns

ARC is the host that makes AFS useful as a product:

  • Loads and mounts providers (for example Web Device, DID Space, UI device modules)
  • Runs Blocklet packages and instances
  • Builds session and caller views used by interactive and site surfaces
  • Exposes arc CLI groups (afs, blocklet, service, dsl, space, did, and others)

Installed CLI surface checked for this board: arc 2.0.0-beta.28. Command reference: ARC CLI.

Start with the right name

TaskStart withWhy
Implement or debug a path operationAFSThe provider and operation contract decide behaviour
Author a provider packageAFSMount and capability rules live there
Run or package an applicationBlocklet on ARCLifecycle is package/instance, not a raw path
Render a static siteWeb Device (AFS provider) via ARCSite layout is a Web Device concern hosted by ARC
Drive an interactive AUP appAUP session under ARC UI runtimeSession and device handshake are runtime concerns
Inspect who is callingIdentity boardCaller and DID Space are not AFS operation names

What this page does not claim

  • It does not publish a stable third-party “plug in any UI device” extension API.
  • It does not equate every historical Blocklet Server or DID product name with a current ARC module.
  • It does not expand experimental remote deploy or instance-DID lifecycle paths into present-tense contracts; those belong on the boards that can re-verify them.

Next: Product layers for ownership, or AFS for operations.