Layers of AnyFS Google Drive 0001 Active
0001-anyfs-gdrive-layers · owner if · domain commons
Input
The library is one layer that reaches the network through one port, so that the live service, a recording and a fake are the same to the code above them.
# RequirementsThe table of layers in the manifest MUST hold every file of the real tree with no finding of the shared checker of Kanon, and the library MUST be a plugin of the family of anyfs that reaches it only through its exports.
Enforced (check): .github: cd commons/anyfs-gdrive && bun run verify — suite/layers.test.ts
Proved by: anyfs-gdrive/suite/layers.test.ts
Written in: anyfs-gdrive/about.ts , anyfs-gdrive/library.ts , anyfs-gdrive/src/mod.ts
Tests: passed: suite/layers.test.ts the shared checker finds nothing in the real tree
verify MUST run the compiler, the specification checker, the rules on the spec kit, the checker of layers, the trace check and the tests.
Enforced (check): .github: cd commons/anyfs-gdrive && bun run verify — suite/layers.test.ts
Proved by: anyfs-gdrive/suite/layers.test.ts
Written in: anyfs-gdrive/tools/check.ts
Tests: passed: suite/layers.test.ts verify runs every check of the library
No source but the transport MUST reach the network, and no source MUST import a package of Google that sends or signs for it.
Enforced (check): .github: cd commons/anyfs-gdrive && bun run verify — suite/layers.test.ts
Proved by: anyfs-gdrive/suite/layers.test.ts
Written in: anyfs-gdrive/src/transport.ts
Tests: passed: suite/layers.test.ts no source reaches the network but the transport, none imports a package of Google that sen
The manifest MUST hold the library from the registries with a typed reason that names what is missing (a run against a live account).
Enforced (check): .github: cd commons/anyfs-gdrive && bun run verify — suite/layers.test.ts
Proved by: anyfs-gdrive/suite/layers.test.ts
Tests: passed: suite/layers.test.ts the manifest holds the library from the registries and names what is missing: a run agains
# Acceptance scenariosGiven the real tree, When the checker of layers runs, Then it finds nothing, per FR-001 .# Out of scopeA run against a live account (FR-004 says it is missing). # Edge casesA source that calls fetch outside the transport is a finding, per FR-003 . # AssumptionsThe checker of layers is the one of every library of the family. # Open questions# Key entitiesTransport - the one function from a request to an answer.# Success criteriaThe library is verified without a network and holds its own boundary.
# Review & acceptance checklist[x] Every requirement is testable (MUST / MUST NOT), not aspirational [x] No implementation language beyond what the requirement needs [x] Out of scope is stated