The library MUST be a plugin of the family of AnyFS: its manifest library.ts MUST name the host anyfs and the role plugin, declare extends: "@intellectual-frontiers/anyfs" and the table of its units in the field kanon, and the shared checker of @intellectual-frontiers/kanon MUST find nothing in its tree.
Enforced (check): .github: cd commons/anyfs-s3 && bun run verify — suite/layers.test.ts: the table decodes and the checker finds nothing
bun run verify in the folder of the library MUST run the TypeScript 7 compiler, the checks of the specification kit, the check of the level L1, the layers check of Kanon, the trace check, the tests and the packer.
Enforced (check): .github: cd commons/anyfs-s3 && bun run verify — suite/layers.test.ts: verify runs every check of the library
No source of the library MUST reach the network but src/transport.ts, MUST import a package that signs or sends requests for it (an AWS SDK, aws4, a MinIO client), and no manifest of it MUST name one: a request is signed by Signature Version 4 of @intellectual-frontiers/crypto and sent through a Transport.
Enforced (check): .github: cd commons/anyfs-s3 && bun run verify — suite/layers.test.ts: only the transport reaches the network and no outside package signs
The library MUST be held from the registries (held in its manifest, with the reason) until its first consumer runs on it, and its distribution MUST be the GitHub package registry alone until it is released.
Enforced (check): .github: cd commons/anyfs-s3 && bun run verify — suite/layers.test.ts: the manifest holds the library with the reason
bun tools/pack.ts MUST pack the library as the package @intellectual-frontiers/anyfs-s3 with declarations for every export, and verify MUST run it with --check.
Enforced (check): .github: cd commons/anyfs-s3 && bun run verify — suite/layers.test.ts: the packer is the library's own