IF Commons GitHub

Layers of AnyFS Google Drive

0001Active

0001-anyfs-gdrive-layers · owner if · domain commons

Requirements

FR-001checkpassing

The 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

FR-002checkpassing

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

FR-003checkpassing

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

FR-004checkpassing

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 scenarios

  1. Given the real tree, When the checker of layers runs, Then it finds nothing, per FR-001.

Out of scope

  • A run against a live account (FR-004 says it is missing).

Edge cases

  • A source that calls fetch outside the transport is a finding, per FR-003.

Assumptions

  • The checker of layers is the one of every library of the family.

Open questions

  • None.

Key entities

  • Transport - the one function from a request to an answer.

Success criteria

SC-001success criterion

The 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

Titles, headings, exports, tables, columns and requirements. Esc closes.