IF Commons GitHub

Layers of AnyFS OneDrive

0001Active

0001-anyfs-onedrive-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-onedrive && bun run verify — suite/layers.test.ts

Proved by: anyfs-onedrive/suite/layers.test.ts

Written in: anyfs-onedrive/about.ts, anyfs-onedrive/library.ts, anyfs-onedrive/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-onedrive && bun run verify — suite/layers.test.ts

Proved by: anyfs-onedrive/suite/layers.test.ts

Written in: anyfs-onedrive/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 Microsoft that sends or signs for it.

Enforced (check): .github: cd commons/anyfs-onedrive && bun run verify — suite/layers.test.ts

Proved by: anyfs-onedrive/suite/layers.test.ts

Written in: anyfs-onedrive/src/transport.ts

Tests: passed: suite/layers.test.ts no source reaches the network but the transport, none imports a package of Microsoft that

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 tenant).

Enforced (check): .github: cd commons/anyfs-onedrive && bun run verify — suite/layers.test.ts

Proved by: anyfs-onedrive/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 tenant (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.