Repository navigation
docs: propose semantic knowledge experience (D01) - #268
Merged
Merged
Conversation
bateau84
marked this pull request as ready for review
November 30, 2026 12:32
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
force-pushed
the
design/d01-semantic-knowledge-experience
branch
from
November 30, 2026 12:32
efa1fea to
751c2a5
Compare
This was referenced Nov 30, 2026
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.**
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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
9520e8a51b16d48dbe36b8bb38f432a3ac730739; two commits, 20 changed Markdown files entirely under docs/design (15 added, five modified).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.
D01.1 head:
efa1feac1b14cd39037c789d84d796802613fcd1; one commit atop0e0b4845, 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.