Skip to content

docs: propose semantic knowledge experience (D01) - #268

Merged
bateau84 merged 4 commits into
mainfrom
design/d01-semantic-knowledge-experience
Nov 30, 2026
Merged

bateau84 merged 4 commits into
mainfrom
design/d01-semantic-knowledge-experience

Conversation

@bateau84

@bateau84 bateau84 commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Purpose

D01 proposes question-led, relationship-based engineering knowledge discovery with qualified decision foundations, evidence inspection and recovery for humans and agents in ordinary Sessions. Reconcile with A01 before detailed surface design or API specifications.

Baseline: 1e4a89022bf275ba8146ff93d7b42b91ebb91fe3 (accepted #265/#266). R04 EG01–04, US01–07 and SC01–07 are reconciled to the accepted semantic BR/QS/OC and learning amendments; no unapproved numerical targets.

Candidate

  • DS-002: information architecture, vocabulary, navigation, progressive disclosure, human/agent interactions, recovery, accessibility, actual QS-001/002 consumer validation design and D1–D7/A01 dependencies.
  • US-001–007 and SC-001–007: traceable stories and scenarios.
  • Design indexes and change log updated. Existing OKF profile, DS-001, requirements, production code and learning contracts unchanged.
  • Native and reconstructed acceptance HTML informed the design; no private source artifacts are included.

R06.1

Incorporated the successful installed OpenCode 2.4.2 qualification at 081d779a (44/44 assertions). Native search/read support complementary historical context recovery, not authoritative original resolution. Preserves sqlite_fts/tool permission dependencies, no tool-output search indexing, qualified projections without exact tool-part identities, unqualified search completeness/recipient authorization, non-security project filters, and external SDK vs plugin boundaries. ARS-003 unchanged. No duplicate transcript index or stronger upstream prerequisite for independent semantic access.

Verification

  • Final candidate: 9520e8a51b16d48dbe36b8bb38f432a3ac730739; two commits, 20 changed Markdown files entirely under docs/design (15 added, five modified).
  • Checked integrated Git tree, all 126 internal Markdown links in changed documents, design inventories, frontmatter metadata/type shape, profile vocabulary and change log; no issues in these checks. 98 internal links occur under existing mapped relationship headings. This is not executed OKF MCP graph/inverse validation.
  • Verified R06.1 run identity and logs; did not rerun the qualification.
  • No actual consumer outcome trial, assistive-technology test, production/runtime change or qualification of this design. No new authority, tool schema, backend architecture, requirement, inference activation or learning gate.

D01.1 — targeted combined C01 re-review

Reconciled against A01.1 ARD-019 at 363ba460 in #269. A01.1 remains proposed architecture awaiting independent re-review.

  • MAJOR-01: shared decision foundation from ordinary attributed judgments, source facts and qualified relationships; bounded missing-interpretation basis, not an invented conclusion or record inventory (DS-002 §§3–4, SC-001/002).
  • MAJOR-02: independently discovered exact common-subject CI and documentary associations and reverse navigation, with workflow head, tested checkout, inspection, verification and satisfaction distinct (DS-002 §§2–4, SC-003/005).
  • MAJOR-03: independently authorized source-domain selection before matching and composition; distinction between recoverable independent refusal, step-ending decline/cancellation and indivisible whole-scope denial; actual fresh A/B/C selection from safe question, no protected influence or dependency-derived conclusion (DS-002 §§2, 5–7, SC-002/006).
  • MINOR-01: prior indexed-link correction retained.

D01.1 head: efa1feac1b14cd39037c789d84d796802613fcd1; one commit atop 0e0b4845, seven documentation files (DS-002, five affected scenarios, design log). Seven stories, SC-004/007, existing requirements, R06.1 limitations, profile, validator and production code unchanged. Integrated-tree static checks: 15 added indexed concepts, 97 indexed prose links, four reserved indexes, log and changed-file scope; zero violations. No live OKF graph validation, runtime implementation or actual human/agent outcome trial. Prior D01 and pinned A01.1 heads each have eight successful workflows; new-head CI is separate.

Draft — return for targeted combined C01 re-review. Do not merge.

Reconcile R04 stories and scenarios with accepted S01 and QS consumer witnesses. Keep experience surface-independent pending A01. Preserve existing authority and learning boundaries.
Address C01 MINOR-01 while preserving direct S01 concept links and existing OKF validation.
Preserve ordinary authored judgment, common-subject evidence roles and independently authorized discovery/reselection. Keep story goals, source authority, validation and R06.1 boundaries unchanged.
@bateau84
bateau84 force-pushed the design/d01-semantic-knowledge-experience branch from efa1fea to 751c2a5 Compare November 30, 2026 12:32
@bateau84
bateau84 merged commit 9e7729a into main Nov 30, 2026
10 checks passed
@bateau84
bateau84 deleted the design/d01-semantic-knowledge-experience branch November 30, 2026 12:36
bateau84 added a commit that referenced this pull request Nov 30, 2026
## Objective

Implementation-facing contracts for the accepted first semantic
engineering increment, without production code, downstream task
decomposition or merge. Relates to #227 and its [C01.1
checkpoint](#227 (comment)).

## Integrated baseline

Main `9e7729a4ba7effd37b0b268276bd96eda1917da5`: #265, #266, #269 and
#268 merged. All architecture documentation is byte-identical to the
reviewed A01.1 head `363ba460`; all experience documentation is
byte-identical to the reviewed D01.1 head `efa1feac1`, including after
#268's rebase. Source, tests and OKF profile unchanged by experience
merge. Candidate `80500794903ed891797681eb7c52d7842a00c1d5`.

## Contracts

- ARS-016: owner-qualified identities, revisions and representations;
optional ordinary authored recording and validated draft/owner
distinction; attributed evidence roles/stages and dependency closure;
independent GitHub CI and versioned documentary association and inverse
lookup. Preserve existing source owner/reference semantics, legacy
evidence validation and release compatibility.
- ARS-017: independent identity preflight and source/slot admission
before matching; per-contribution permission staging/commit and fresh
selected union (C01.1); bounded distinct
significance/dependency/subject/chronology lanes; common decision
foundation, separately authorized exact inspection, pinned selection,
invalidation and explicit fresh discovery.
- K1–K4/A1–A4 and actual assembled QS-001/QS-002 witnesses, including
ordinary production, real human/fresh-agent usefulness, actual native
refusal vs termination and A/B/C noninterference/recovery. D02 consumer
seam remains open for reconciliation.

## Verification and limits

- Verified pinned integrated baseline and exact changed-file inventory:
two ARS concepts, spec index, architecture/root logs only.
- Readback static checks: 196 internal links, 34 mapped links to indexed
concepts, specification type, spec inventory and dated logs; no errors
in these checks. Not execution of repository OKF tests or live OKF graph
validation.
- Candidate specifies internal safety ceilings (not approved performance
SLOs), strict draft/normalized record shape and opaque selection
binding; final public tool grammar/transport remains D02.
- D1 native lineage, D2 historical exact originals/protected release
(ARS-003), D3 actual corpus binding/continuity/scan consistency and D4
actual consumer usefulness retain precise independent limits; D5/D7
policy/learning expansion and D6 qualified grouping remain
reserved/separate. Installed permission adapter, original transport,
actual consumer and compatibility proofs remain outstanding.
- No change to production code, existing canonical records, frozen
populations, review/learning isolation, requirements, ARD-019/ADR-002,
DS-002, profile or native permissions. CI and independent review
outstanding. Do not merge as part of A02.

Review against accepted first-increment semantics and reconcile with D02
before downstream implementation planning.

## A02.1 — Interface reconciliation

Candidate: `e80f2acea09379693aebfd52dfb7da929a056bab`; DS-003 input:
[#270 at
5f168c0](5f168c0).
Integrated main remains `9e7729a4`.

- Reconciled ARS-016/017 and added [ARS-018 — public
interfaces](https://github.com/bateau84/loom/blob/e80f2acea09379693aebfd52dfb7da929a056bab/docs/architecture/spec/ars-018-semantic-engineering-interfaces.md).
Existing record add accepts optional sparse semantic input; history adds
discover/expand/compare/inspect/continue/open-report. Specify strict
normalization, shared JSON/Markdown meaning, exact original fragments,
typed named navigation, recipient/operation-bound transient handles,
explicit fresh discovery, producer compatibility before append, and
unchanged specialized/legacy semantics.
- Actual OpenCode 2.4.2 source supports native file content and Code
Mode base64 file collection. Select conditional same-Session HTML file
transport for H1 qualification, **not a claim of actual opening or
recipient-safe release**. Native experimental artifact storage/view is
project/server-scoped, not recipient authorization; default provider may
publish to Console. Reject that ordinary protected delivery route. H1
exercises actual installed host/client opening, native inner/outer
result, authorized retention/model exposure, accessibility and further
reads. Equivalent text/agent interface independent; no fake HTML opening
or broader publication.
- Replace proposed 10,000/64/100,000 foreground caps with 24 potentially
interactive native assertions (one in flight; final reserved), 16
aggregate owner calls (existing 8/source, 40s noninteractive allowance),
10,000 total relation/dependency visits (separate metadata preflight
reservation), 32 KiB new text response. Distinguish actual
Permission.Event.Asked from assertion calls; Promise API has no
supported non-prompt allows. Core host default output cap 50 KiB/2,000
lines; lower configured limits/retention and outer Code Mode must be
qualified. These are proposed safety bounds, not performance targets.
Wide-corpus coherent admission at representative scale is an explicit
host/usability dependency, not guaranteed by a small allowed fixture; no
arbitrary prefix, private policy API or protected matching.
- Preserve A/B/C noninterference and native refusal/termination,
ARS-003, D1/D2, specialized mandates, frozen membership, legacy bytes,
learning isolation and actual assembled QS-001/QS-002. I1–I5/H1 add
decisive public composition proof obligations. No implementation or
downstream assignments.
- Verified exact candidate/main/D02 heads and six changed Markdown files
only; 222 internal link occurrences, 52 mapped links to indexed
concepts, index/type/log checks, no errors. Static checks only; actual
host/consumer and live OKF conformance unrun. CI on candidate: eight
workflows started (3 queued/5 in progress at last read). D02 corrections
are in ARS-018 §8; no change to #270 branch. Ready for independent
combined specification/interface review, not runtime or merge
acceptance.
bateau84 added a commit that referenced this pull request Nov 30, 2026
## Purpose

D02 refines the accepted DS-002 experience into implementation-facing
human and agent interaction design for the first semantic engineering
increment (#227). Integrated baseline:
`9e7729a4ba7effd37b0b268276bd96eda1917da5` (#265/#266/#269/#268 merged);
C01.1 approved. Candidate: `5f168c0c214f7f2c594c344605b3d528c5dc2e45`.

## Design

- DS-003 selects conversation-first entry/continuation, shared bounded
decision foundation and a read-only human companion report with
equivalent text access. Supported end-to-end report opening and named
further reads are explicit realization dependencies; no temporary
servers/scripts, new live dashboard or fake source links.
- Ordinary recording retains consequential judgment, scope and known
support in one natural act. Question-led agent discovery, meaningful
expansion, known-reference inspection and safe continuation avoid HTML
parsing, exhaustive pages and manual relationship bookkeeping.
- Detailed information hierarchy, source/authority/representation
qualifications, independent CI/document association and inverse
journeys, A/B/C actual fresh selection, terminal refusal versus
independent exclusion, and insufficient-basis states.
- WCAG 2.2 AA design expectations, actual QS-001/QS-002 unfamiliar-human
and fresh-agent outcome witnesses, ordinary production, noninterference
and association validation. Illustrations are not qualification.
- A02 seam table: required shared semantic information, supported
invocation/continuation/report delivery, authority and transport
dependencies; exact schemas and realization remain Architect
responsibility. D1/D2 and existing protected release, learning and
native execution limits unchanged.

## Verification and limits

Static inspection of existing renderer, tool/help, context/record paths,
browser qualification and repository OKF profile. Candidate comparison
against pinned baseline: three Markdown files only, one new Design
Specification and index/log updates. Local static checks: 42 internal
link occurrences, 24 under mapped relationship headings, no missing
targets or reserved concept links. Metadata/index/log checks pass. No
live OKF graph validation, installed report opening, runtime,
accessibility or actual consumer trials performed. CI and independent
A02/D02 seam reconciliation outstanding. No production code,
requirement, authority, mandatory workflow or profile change.

**Draft for reconciliation; do not merge.**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant