IF Commons GitHub

apt dialect: layers

0001Active

0001-apt-layers · owner if · domain commons

Requirements

FR-001checkpassing

The package MUST be a member of the family of archon as a dialect: its manifest library.ts MUST declare family: { host: "archon", role: "dialect" } and the field kanon with extends naming @intellectual-frontiers/archon, its sources MUST be one unit of the Physical layer (src/), and the host MUST declare it as an instance of the dialect port; the shared checker of @intellectual-frontiers/kanon MUST find no finding.

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

Proved by: archon-dialect-apt/suite/layers.test.ts

Written in: archon-dialect-apt/about.ts

Tests: passed: suite/layers.test.ts the package is a dialect of the Archon family and the shared checker finds nothing in its

FR-002checkpassing

The package MUST reach @intellectual-frontiers/archon only through its exports (governance, logical, dialect), @intellectual-frontiers/toolchain only through its exports (governance, logical, ontology) and the kit by @intellectual-frontiers/package-managers, and MUST NOT import another dialect or a plugin of the command.

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

Proved by: archon-dialect-apt/suite/layers.test.ts

Tests: passed: suite/layers.test.ts no source imports another dialect or a plugin, and archon and toolchain are reached only t

FR-003checkpassing

The package MUST export . (the dialect and its data).

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

Proved by: archon-dialect-apt/suite/layers.test.ts

Written in: archon-dialect-apt/src/mod.ts

Tests: passed: suite/layers.test.ts the package exports the dialect

FR-004checkpassing

bun run verify in the folder of the package 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 under Bun and the check of the package, and MUST fail on any finding that is not held by a baseline that only shrinks.

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

Proved by: archon-dialect-apt/suite/layers.test.ts

Tests: passed: suite/layers.test.ts verify runs the compiler, the specification checks, the layers check, the trace check, the

FR-005checkpassing

The package MUST be released as archon-dialect-apt-v<version> (commons 0026-works-versioning).

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

Proved by: archon-dialect-apt/suite/layers.test.ts

Written in: archon-dialect-apt/tools/check.ts, archon-dialect-apt/tools/pack.ts

Tests: passed: suite/layers.test.ts the release record agrees with the manifest

Acceptance scenarios

  1. Given the real tree of the package, When the layers check runs, Then it finds nothing, per FR-001 and FR-002.
  2. Given a source that imports another dialect, When the check runs, Then it is a finding, per FR-002.

Out of scope

  • The command lines, the plan file, the program and the observation: the kit.
  • The commands of the manager: the packaging ontology.

Edge cases

  • The module at the top of src/ that re-exports the dialect is in the one unit of the package, per FR-001.

Assumptions

  • The kit is a library of commons that is no member of the family, so a dialect may use it, per FR-002.

Open questions

  • None.

Key entities

  • Dialect - the value of the port, made by the kit from this package's data.

Success criteria

SC-001success criterion

The package is its data and one call.

Review & acceptance checklist

  • [x] Every requirement is testable (MUST / MUST NOT), not aspirational
  • [x] No company fact is asserted here
  • [x] Every open item is marked, not silently decided

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