Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions 10-prd/behavior/capabilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
- related claim(s): expose info-base information for retrieval and downstream use
- non-goal: application indexes, embeddings, and projections do not take over source or info-base authority

## 能力:检索来源仍可访问的资料

- 新建 Source 在 info-base 中有可发现的锚点。通过同一个锚点可沿图阅读已收录资料,也可显式使用该来源提供的检索能力。
- 来源检索可命中尚未收录的资料。结果带来源和原生定位,可以在来源提供精确证据时链接已有 Block。
- 词法检索默认查 info-base。调用者可以显式选择支持文本检索的来源,也可以同时查 info-base 和选定来源。

## Capability: Semantic retrieval

- related claim(s): expose info-base information for retrieval and downstream use; retrieve semantically related info-base entities
Expand Down
1 change: 1 addition & 0 deletions 10-prd/behavior/scope.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- low-friction memo-like capture through bounded compatible backends or collectors
- organization of information already in the info-base when it improves later use
- feature, semantic, and graph-navigation retrieval, with indexing and embedding as application support
- explicit retrieval of accessible source-native items through Source anchors
- extension-based capability addition for source, resolver, storage, sink, or bounded protocol behavior
- multi-runtime participation around the same shared info-base

Expand Down
4 changes: 2 additions & 2 deletions 10-prd/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@

## source

- canonical business meaning: an origin-facing capability or integration surface that gathers information from an external system or compatible client.
- user-visible or business lifecycle language: the collection-facing side of the product.
- canonical business meaning: an origin-facing integration that collects information from an external system or compatible client and may provide native retrieval.
- user-visible or business lifecycle language: a configured origin, represented by a Source anchor in the info-base.
- notes on ambiguity with framework terms: this is a product capability, not a package or module name.

## sink
Expand Down
4 changes: 4 additions & 0 deletions 20-product-tdd/feature-retrieval-and-media-interpretation.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ query ---------------------------------------------------------> ranked existing
textual query plus a result bound and returns the V1 lexical result. The business facade
executes locally when available or delegates through the shared Peer contract; a provider
inbound always calls a non-delegating local path.
- A retrieval entrance may additionally dispatch the same text to explicitly selected Source
anchors that advertise text retrieval. Source-local order, coverage and failures are
preserved. This composition uses the Source-native retrieval contract and the existing
info-base lexical capability for their respective ranges.
- `route_to_peer` / `routeToPeer` remains caller-local routing policy and does not enter the
capability payload.
- `InfoBaseListView` is the first list navigation host for retrieval results. Selecting a
Expand Down
24 changes: 20 additions & 4 deletions 20-product-tdd/knowledge-capability-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,12 @@ external API uses one of those words.
URL or graph identity changes.
- A source-time watermark may reduce duplicate admission when exact identity is unavailable,
but it is not identity, reconciliation, or a correctness proof.
- A Source may own one optional graph-anchor Block. The Source row remains authority for
operational configuration; the Block is a lazy, resolver-readable projection and Relation
endpoint for provenance. Sources do not retain a collected-item ledger when graph identity
can locate already collected facts; cursors and validators remain valid source state.
- Creating a Source also creates its unique `core.source.v1` anchor in the same persistence
transaction. The Source row owns operational configuration and the current anchor binding.
The Block is a readable projection and can be a Relation endpoint where the domain needs one.
Source deletion preserves existing Blocks and Relations. Historical anchors without a live
binding remain readable. Sources use existing graph identity for collected facts and keep
source-scoped cursors and validators as operational state.
- A Source may select one writable Storage. The selected type must advertise writable
capability at the persisted boundary. Deployment-default writable Storage and the always
available PostgreSQL binary fallback complete source byte-placement policy without making
Expand Down Expand Up @@ -197,6 +199,20 @@ external API uses one of those words.
the important loss; theoretical completeness alone does not justify a stronger identity or
synchronization subsystem.

## Source-Native Retrieval

- A Source extension may declare a bounded native retrieval capability with typed input.
`core.source.v1` exposes this capability on a live anchor and uses the Source row binding
to select the implementation. The caller explicitly names the anchor through an admitted
entrance. The Source owns its native access scope, provider semantics and credentials.
- Source retrieval returns bounded, live previews with native locators and coverage.
Existing Block references require evidence of exact correspondence. Search leaves the
shared graph, collection state, indexes and source-native state untouched. Discovering
capabilities or reading an anchor does not execute native retrieval.
- Adding a searchable Source uses the same host capability contract without a per-Source Core
change. When execution is on another Peer, delegation uses a shared capability path and
the execution Peer enforces the Source's own access context.

## Info-Base Navigation And Solved Content

- Hydrated content is the inline value or Storage-loaded bytes behind one Block. Solved
Expand Down