---
type: types/type-spec.md
name: ingest-report
description: Durable source record and analysis of how one external source fits the KB
schema: ./ingest-report.schema.yaml
---

# Ingest report

## Authoring Instructions

Use `ingest-report` for source ingestion analysis. An ingest report is the
tracked, durable record of one URL-backed primary source and the KB analysis
derived from a local reading copy. It is not a copy of the source.

The primary reading copy lives under ignored `kb/sources/.snapshots/`. Its
path is local state and never appears in tracked frontmatter or links.

Assess fit relative to the installed KB's goals, local collection contracts, and current connection context. Interpret "our theory", "our stack", "our codebase", and "our practices" through those local goals and contracts.

Source terms liable to confusion with the installed KB's vocabulary have
their differences in meaning made explicit.

## Metadata

- Keep the H1 title text, including the `Ingest:` prefix, to at most 100
  characters.
- Write `description` as a one-line retrieval filter between 50 and 250
  characters.
- Set `source` to the canonical external URL of the primary source.
- Set `captured` to the date or datetime of the observation used for the
  analysis, and `capture` to its capture mechanism.
- Preserve `capture_scope` from the snapshot when present. Do not upgrade a
  partial, abstract-only, or excerpt capture to `full-source` during ingest.
- Preserve the snapshot's bare `doi` when present. It identifies the work while
  `source` identifies the representation that was captured.
- Set `genre` to the primary source's evidential genre.
- Set `snapshot_sha256` to the lowercase SHA-256 of the exact bytes of the
  primary Markdown snapshot. The hash includes frontmatter, line endings, and
  the presence or absence of a final newline. It excludes companion files.
- Never change `snapshot_sha256` on an existing ingest. Changed source bytes are
  a distinct observation with a distinct snapshot basename and ingest path.
- When the primary snapshot was mechanically derived from another retained
  snapshot, set `original_snapshot_sha256` to the lowercase SHA-256 of those
  exact precursor bytes. This gives the derivation input durable identity
  without treating a cache path as provenance or as a second primary source.
- Use `type: types/ingest-report.md` for the artifact type.
- When the caller supplied an occasion — the question or job that brought the
  source in, stated before it was read — record it verbatim in `occasion`.
  Omit the field otherwise. The occasion governs only the selection sections
  named below; it is not evidence about the source.
- Use `domains` for two to four source-specific search terms.
- The same tag assignment rule applies to ingests as to other notes. Read each
  candidate tag’s head. Assign the tag only when the ingest substantively
  addresses the head’s subject, question, or mechanism. Put tags in the
  ingest’s frontmatter, not on the snapshot.
  A page that uses a finding should cite the ingest at the relevant claim;
  the ingest does not inherit that page’s tags. Tagging is not endorsement.
- Copy capture-adapter metadata such as `status_id`, `conversation_id`,
  `post_count`, and `api_url` under its existing flat field name. Do not copy a
  snapshot's `type`, `description`, `genre`, or `tags`; set ingest `genre` from
  the closer reading.
- For a code-grounded ingest, add one `secondary_sources` item for every
  inspected implementation repository. Each item has
  `role: implementation` and a GitHub commit URL containing the full
  40-character SHA. Do not record machine-local checkout paths.
- When the source's subject or mechanism is learning or adaptation, set
  `learning_claims: true` and write the `Learning Claims (our opinion)`
  section; the field and the section are required together. Omit the field
  otherwise. It marks the ingest for search over learning sources:
  `rg -l "^learning_claims: true" kb/sources/`.
- Do not use the removed `original_snapshot`, `source_snapshot`, or
  `code_revisions` path fields.
- Link to durable KB artifacts and external sources in the report body. Never
  link to the local `.snapshots/` cache or generated connect reports.

## Connect report incorporation

The optional `connected: "YYYY-MM-DD"` records the date an agent or operator reviewed a connect report for this artifact and decided what to incorporate, even if they added nothing. Omission means only that no incorporation date is attested. The mark does not establish that connections are current, and validation does not tie it to a report.

Leave the field unset on creation. Report generation and a reverse link added to a neighbor do not warrant stamping the source or neighbor, respectively. Preserve the mark on local or claim-preserving edits, including ordinary simplification passes. Remove it on major scope changes or ground-up rewrites.

## Genre

The ingest's `genre` is the durable source classification. Use the vocabulary
and meanings in [snapshot.md](./snapshot.md). A local snapshot may contain a
capture-time genre, but it is not authoritative. Set or correct the ingest
field after reading the source. The vocabulary is open: an off-list value warns
rather than fails. V1 has no operative local extension path that adds a known
value and its Limitations lens to this fixed ingest type. A recurring off-list
genre therefore remains warned until an ingest-side vocabulary mechanism is
adopted; a collection-local snapshot type does not extend this contract.

## Sections

- `Classification` justifies the source genre and identifies the author signal.
- `Summary` is one paragraph for someone deciding whether to read the full source.
- `Contribution assessment (our opinion)` is an experimental section for
  scientific papers, including theoretical papers. Include it in new or
  refreshed paper ingests; existing reports do not need a backfill. It is one
  short paragraph of the agent's informed guesses about the importance of the
  problem, what the work adds, and its likely significance given the support
  available. Assess the contribution to the problem itself, independently of
  its usefulness to this KB or the caller's occasion. Weigh limitations by
  whether they undermine the central contribution or only narrow it. Make
  tentative judgments explicit, distinguish demonstrated value from potential
  impact, and qualify originality by the available comparisons. The agent's
  background knowledge may inform guesses but does not establish literature
  coverage or priority; unknown originality is not itself a paper weakness.
  Respect the capture boundary. Use no numerical score or checklist.
- `Code Grounding` is required when `secondary_sources` is present. Link the
  reviewed revisions and pinned source files; distinguish mechanisms confirmed
  by inspection, experiment support artifacts that were present but not run,
  and claims that remain paper-only. State what code, if any, was executed.
- `Quotes` appears exactly once, immediately before `Connections Found`. It
  retains exact primary-source wording and human-resolvable locations so a
  later reviewer can judge ordinary source uses without the local snapshot.
- `Connections Found` summarizes the connection discovery findings and explains how the source fits the current KB, as compact prose naming the source's role (for example: anchor, technical basis, counterpoint, legal disposition, public statement, limitation) rather than a transcribed candidate list. Drop weak, speculative, or duplicate edges; keep only settled, durable judgments. If no casebook notes exist yet, say so plainly instead of substituting a full map of relationships to other already-captured sources, or framing the section as prospective connections for notes that do not exist yet. The generated connect report is working context only; do not cite it, link to it, or name its path in the ingest report.
- `Learning Claims (our opinion)` is required when the source's subject or
  mechanism is learning or adaptation, including conceptual accounts, and is
  omitted otherwise. It is paired with the `learning_claims: true` field. It states the source's mechanism on its own terms, maps
  its important ideas onto Commonplace concepts, and says what the source
  adds to, supports, or puts in question in the current account, with each
  judgment held at the strength of its evidence. Leave partial or missing
  mappings explicit rather than forcing a classification.
- `Extractable Value` lists distinct, supported contributions worth retaining,
  ordered by reach and novelty relative to the installed KB's goals and existing
  KB connections. When `occasion` is set, items bearing on it come first; if the
  source does not bear on it, one item says so. When no useful contribution is
  found, write one brief item explaining that judgment with `[just-a-reference]`.
  A mismatch item also carries `[just-a-reference]`. There is no numeric quota.
- `Limitations (our opinion)` states where the source should not be trusted or
  over-generalized. When `capture_scope` is not `full-source`, state what the
  retained boundary prevents the ingest from establishing.
- `Recommended Next Action` chooses one specific advisory next action. The ingest report recommends; it does not perform promotion. When `occasion` is set, the action serves it unless the source does not bear on it.

`Classification`, `Summary`, `Quotes`, and `Limitations (our opinion)` are
observation sections. They follow the general contract regardless of
`occasion`, because later readers reuse them for jobs the occasion did not
anticipate. `Learning Claims (our opinion)`, when present, likewise follows
the general contract regardless of `occasion`.

When `occasion` is supplied, select and order `Extractable Value`, the role
stated in `Connections Found`, and `Recommended Next Action` for that purpose
first, then for the general KB goals.

## Quotes Shape

Use this exact section when no source quotes have been retained:

```markdown
## Quotes

No source quotes have been retained yet.
```

Use this shape for every populated item:

```markdown
> <exact supporting content>
> --- `kb/sources/.snapshots/<slug>.md` @ `sha256:<snapshot_sha256>` — <optional locator note>
```

The attribution must name the exact name-paired snapshot and the ingest
checksum. An optional `:start-end` range follows the path inside its code span.
The quote must occur exactly once in the snapshot, or exactly once within
that range. Supplied ranges must contain the complete quote. Locator notes
are context, never quoted evidence.

Use one attributed blockquote per contiguous passage. Repeat the whole block
when support is non-contiguous. Copy exact snapshot text;
whitespace normalization lets one extract span wrapped lines. Do not put a
paraphrase, scope judgment, confidence assessment, limitation, or
target-specific transfer argument in this section.

Do not describe whether quotes are retained anywhere else in the ingest. That
state changes when the append-only Quotes pool grows. Use `(snapshot required)`
outside this section only for a specific claim that still needs broader context
than the retained extracts provide.

## Extraction Standards

- Base extractable value on what is new relative to the connection context discovered by connect.
- Keep an irrelevant source's report short. Explain the mismatch and recommend
  source-only filing or no promotion when appropriate.
- Favor value that changes, supports, limits, or operationalizes the installed KB's current claims, decisions, policies, practices, or local domain work.
- Useful value classes include evidence for an existing claim, contradiction or limitation affecting current KB content, reusable method or workflow, data point or empirical result, vocabulary or framing that improves retrieval and discussion, operational warning or failure mode, and candidate artifact to write, update, retire, or review.
- Mark extractable value items with effort tags: `[quick-win]`, `[experiment]`, `[deep-dive]`, or `[just-a-reference]`.
- Assess reach: high-reach findings explain why something works beyond the source's local context; context-bound observations should be flagged.
- Limitations must explain what weakens or bounds the source's central claim, rather than merely list generic caveats. For example, asking what is surprising, what simpler account could explain the result, or whether the central claim is hard to vary may help identify those limits; these are optional prompts, not a required checklist.
- Be specific in the recommended action: name the note, reference document, runbook, instruction, policy, ADR, product requirement, dataset, incident note, or other local artifact to write, update, retire, or review. Filing as a source-only reference or scheduling a focused brainstorm are also valid when that is the right destination.
- Notes remain the default promotion target for transferable claims, but the recommended action may point to another local artifact type when collection contracts make that the better home.

## Limitations Standards

`Limitations (our opinion)` is editorial judgment — label it as opinion. Name what is missing, cite a relevant KB note when one exists, and state what the gap means for the source's conclusions. The lens depends on the ingest's `genre`:

- **Scientific papers** — what was not tested: missing or naive baselines, limited benchmarks, configurations the literature or this KB already discusses, claims that do not generalize beyond the tested setup.
  Released source can confirm that a mechanism is implemented or expose its
  configuration, but static inspection does not reproduce training, benchmark,
  throughput, or quality results. State the remaining outcome-evidence gap.
- **Practitioner reports** — what is not visible: survivorship bias (what worked is reported, failed attempts are not), sample size of one, unacknowledged context such as team size, budget, or existing infrastructure.
- **Conceptual essays and conversation threads** — what is not argued: reasoning by analogy without testing whether the analogy holds, cherry-picked supporting examples, conflating naming something with explaining it, unfalsifiable framings.
- **Tool announcements and design proposals** — what is not shown: vendor bias and flattering benchmarks, missing failure modes or scaling limits, gaps between the announced design and real use.
- **GitHub issues and code repositories** — what is not durable: a single reporter's or author's view, point-in-time state that later commits may overturn, project history that records decisions without their later outcomes.
- **Court opinions** — what is not settled: interlocutory or preliminary rulings that later proceedings may overturn, jurisdiction-specific reasoning that may not generalize, procedural posture (for example, a motion to dismiss) that limits what the ruling actually decides.
- **News articles and official statements** — what is not independently verified: reliance on sources with their own interests, framing that reflects the outlet's or issuer's editorial stance, developing situations where later reporting may contradict early claims.
- **Any other genre** (the vocabulary is open) — fall back to the generic questions: what is surprising, what simpler account could explain it, whether the central claim is hard to vary, and what interests the author has in the framing. When a new genre recurs, add a dedicated lens here alongside its vocabulary entry in [snapshot.md](./snapshot.md).

## Template

```markdown
---
description: "{one-line retrieval filter}"
source: {canonical external URL}
captured: "{date or datetime from snapshot frontmatter}"
capture: {capture mechanism from snapshot frontmatter}
capture_scope: {capture scope from snapshot frontmatter, when present}
doi: "{bare DOI from snapshot frontmatter, when present}"
genre: {source genre}
snapshot_sha256: {lowercase SHA-256 of the exact snapshot file bytes}
ingested: "{YYYY-MM-DD}"
occasion: "{caller's pre-reading question or job, verbatim; omit when none}"
type: types/ingest-report.md
domains: [{search-term-1}, {search-term-2}, {search-term-3}]
---

# Ingest: {source title}

## Classification

{Brief genre justification without repeating the field as a label.}
Author: {credibility signal}

## Summary

{One paragraph}

## Quotes

No source quotes have been retained yet.

## Connections Found

{Summary of connect discovery: which notes, what relationships, and what this source adds}

## Extractable Value

1. **{item}** -- {why it matters relative to existing KB connections}. [{effort}]

## Limitations (our opinion)

{Where this source should not be trusted or over-generalized}

## Recommended Next Action

{One specific action}
```

For a scientific-paper ingest, add this experimental section after `Summary`:

```markdown
## Contribution assessment (our opinion)

{One short paragraph of informed guesses about the contribution's significance,
with uncertainty and the basis for any originality judgment explicit.}
```

For a code-grounded paper ingest, add this frontmatter field:

```yaml
secondary_sources:
  - role: implementation
    source: https://github.com/{owner}/{repo}/commit/{40-character-sha}
```

Add this section after `Summary`:

```markdown
## Code Grounding

{Pinned repositories, claim-bearing source citations, inspection result, and execution status}
```

When the source's subject or mechanism is learning or adaptation, add the
frontmatter field `learning_claims: true` and this section after
`Connections Found`:

```markdown
## Learning Claims (our opinion)

{The source's mechanism on its own terms, its mapping onto Commonplace concepts, and what it adds to, supports, or puts in question, each at the strength of its evidence}
```
