Skip to content

The five checked-in packages-manifest.yaml files list bare strings; the schema and validator require objects, and nothing tested them #796

Closed

Description

@David-Noble-at-work

On a fresh Windows machine, 2026-09-04:

PS> writ deploy noblefactor
Error: build tree: layer team: invalid packages-manifest.yaml: packages[0]: must be an object with 'name' field

All five manifests under Home/ in this repository -- noblefactor, .Darwin, .Linux, .Unix, .Windows
-- listed packages as bare strings, - git. schema/packages-manifest.json and internal/manifest's validator
require objects with a name field. They were placeholders, and nothing in the tree validated a checked-in
manifest, so the repository that defines the format shipped five files that violate it.

Ruled 2026-09-04: the files change, not the validator: every entry is - name: <package>, the object
form the schema states, with with: available where a package needs features. A test in internal/manifest
validates every checked-in manifest, so the next one cannot drift.

Acceptance

  • the five manifests validate; writ deploy noblefactor builds the team layer's tree
  • TestCheckedInManifests_AreValid walks Home/*/packages-manifest.yaml and fails on any invalid one

Resolved in #644's worktree, as its own commit.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions