052-read-verbs-on-a-code-free-corpus

Two read verbs that mislead a specify-first corpus

Lifecycle approvedImplementation completeVerification unknownQualification unknown

Three of the four governed repositories are specify-first: the whole corpus is ratified before a line of code exists, and specs live at approved plus pending for months. Two read verbs give that corpus an answer that is technically correct and practically a lie. `index orphans` reports sixty-four of hqgit's sixty-eight specs, because an orphan is a spec claiming nothing that resolves, and a spec whose code is not written yet claims nothing that resolves; the list is the corpus, so it says nothing. `index coverage --fail-on-untraced` on a tree with no discovered package enumerates zero source files, computes zero untraced, and exits 0 from inside a CI step named "the whole-tree ownership assertion". This spec makes the first partition by the in-flight predicate the index already computes, and makes the second refuse an empty universe instead of passing it.

Read the full pinned specification ↗

Relationships

Claimed units

  • extends
    {
      "nature": "additive",
      "spec": "010-index-render-orphans",
      "unit": {
        "kind": "file",
        "path": "crates/spec-spine-core/src/render.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "029-ownership-coverage",
      "unit": {
        "kind": "file",
        "path": "crates/spec-spine-core/src/coverage.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "004-codebase-index",
      "unit": {
        "kind": "file",
        "path": "crates/spec-spine-cli/src/cmd_index.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "029-ownership-coverage",
      "unit": {
        "kind": "file",
        "path": "crates/spec-spine-core/tests/coverage.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "010-index-render-orphans",
      "unit": {
        "kind": "file",
        "path": "crates/spec-spine-core/tests/render.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "002-registry-query",
      "unit": {
        "kind": "file",
        "path": "crates/spec-spine-core/src/lib.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "010-index-render-orphans",
      "unit": {
        "kind": "file",
        "path": "crates/spec-spine-cli/tests/cli.rs"
      }
    }

Source headings

  1. 052: Two read verbs that mislead a specify-first corpus
  2. 1. Purpose
  3. 2. Territory
  4. 3. Behavior
  5. 3.1 `orphans` partitions by the in-flight predicate
  6. 3.2 An empty coverage universe is a refusal, not a pass
  7. 3.3 The message says which of two things happened
  8. 3.4 Nothing committed moves
  9. 4. Out of scope
  10. 5. Verification

Frozen anchors

No frozen anchors declared.