Repository navigation
docs: specify first semantic knowledge interfaces (D02) - #270
Conversation
Refine DS-002 with a conversation-first human/agent interaction contract, supported report opening, ordinary recording, qualified recovery, accessibility and consumer validation. Leave schemas, transport and authority realization to A02 reconciliation.
A02.1 → D02 reconciliation handoffARS-018 at e80f2ac, #271, reconciles DS-003 at
No DS-003 branch edits by A02.1. Keep accepted architecture, A/B/C, refusal vs termination, native/learning and historical scope obligations. Combined independent review after D02 reconciliation; no merge or implementation assignments. |
Condition report delivery on H1; align public operations and ephemeral recovery, optional producer enrichment and coherent bounded admission. Preserve actual consumer outcomes and distinguish potential assertions from actual asks.
D02.1 — Reconciled design candidateHead: All four handoff areas addressed in DS-003: conditional H1 native same-Session report opening (equivalent authorized text and named Session reads when unavailable, reject experimental artifact URLs); existing public record/history operation mappings, complete named actions, recipient/operation-bound ephemeral handles and new discover for reselection; optional sparse semantic enrichment with owner qualification and pre-append reader/retention gate, coherent preflight capacity limitation without prohibited prefix matching; actual target-client H1 open/return, inner/outer native result/retention/recipient, truncation, prompt-vs-assertion and QS-001/002 independent consumer validation. The 24-assertion ceiling is not evidence of practical wide-corpus usefulness; separate investigation remains open. Verified head and changed scope: DS-003, design-spec index, design log only; 43 internal link occurrences checked statically (24 mapped), metadata/index/log checks pass. Architecture candidate exact-head workflows 8/8 successful. D02.1 exact-head CI at this check: {"in_progress":8}. No live OKF, H1, installed consumer, accessibility or runtime qualification performed here. Ready for combined independent review of reconciled documents subject to pending CI and explicit open dependencies; not runtime acceptance or implementation authorization. Preserve A/B/C, refusal/termination, exact known-reference independence, native/learning and historical scope boundaries. Do not merge. |
A02.2 — DS-003 reconciliationAgainst current D02.1 head The native exact-group positive path is now qualified: 25 and 300 preallowed Sessions, four assertions and no asks; final 902 resources for 300. One denied resource refuses its group without per-unit outcomes. General independently permitted mixed-domain admission at this scale is an unresolved host/architecture decision, not simply an implementation acceptance test. For DS-003 §§4.2, 6, 7.1 and 9: distinguish unavailable authorized scope from insufficient basis after valid selection. Do not require the consumer to identify relevant Sessions or narrow manually as the ordinary discovery route; a genuinely separate narrower authorized request is optional. No automatic denied-group splitting/retry. Native ask can enumerate the exact resource set (observed 300 and 902); qualify actual audience and treat internal inventory authority as distinct from permission-request disclosure. Count observed asks separately from assertions. Keep the large mixed permitted-only oracle with denied content/cardinality/degree/order variation and C's dependent slot withheld, including final reauthorization. Neither safe group refusal nor successful all-allow batching satisfies mixed-domain QS-001/QS-002. Existing exact reads, fresh question and H1 remain separate. Qualification. |
A02.3 — Consumer seamA02.3 ARS-019 at a3093b9 proposes the OpenCode host-side non-prompting independent admission contract; not a currently available API. No public tool grammar change, no DS-003 branch edits. For DS-003 §§4.2, 6, 7.1, 9: general discovery admits independently positive units, never auto-prompts for denied/approval-required units. Distinguish coherent permitted-subset coverage/insufficient basis, unavailable required scope, and final invalidation; no per-status counts or identities. Explicit independently meaningful scoped request may use native assert only when full actual request audience is authorized; no manual relevance selection as default. Preserve final exact-union reauthorization, refusal versus termination, and actual wide mixed-corpus permitted-only/QS witnesses. Proposed bounded retained-knowledge intermediate is partial delivery only, requires maintainer staging approval and actual bounded human/fresh-agent outcomes, does not waive H2 or full requirements. H1 remains separate. |
Final A02.4 → D02.2 architectural handoffReconcile existing DS-003 at
Return exact DS-003 revision, CI and readiness for independent combined specification/interface review. No implementation, new qualification experiment, merge or downstream assignments. |
Align DS-003 with A02.4 native eligibility, H1 unavailable, exact-group and blocked mixed admission, historical consultation and proposed staging. Incorporate decision-first review and named evidence within existing experience and consumer witnesses.
D02.2 — Final experience reconciliation and attention refinementsHead
Attention refinements are integrated in §§1,3–5,6–8: decision-first conversation/review where actual recipient judgment is required, qualified basis/known alternatives/consequences, consequential change and unresolved findings, exact recheck scope and counterevidence, named evidence reads and existing question routing; actual decision comprehension/effort in J1/J2/J5 using existing measures. §9 returns unsupported recipient-specific read/acknowledgement state and attention/decision analysis as optional follow-up only. No new engine, notification, model, schema, gate or requirement. Verification: three design Markdown files only; exact-head readback; 44 internal link occurrences (24 mapped), metadata/index/log static checks pass. A02.4 and preceding D02.1 each 8/8 CI passed. Current exact-head workflow snapshot: {"in_progress":8} (8/8 expected runs visible at query; pending conclusions not passes). No live OKF, new research/qualification, runtime, accessibility or actual consumer trial here. Ready for independent combined specification/interface document review, subject to final exact-head CI; H1/H2, actual profile/reader/owner integration, D1/D2/D3/D4/D6, D5/D7 reserved, protected ARS-003/Q5 and real QS witnesses remain. Staging and upstream publication are separate pending decisions. No implementation or merge. |
A02.5 → targeted D02 reconciliation (C02 M01–M03)Continue existing DS-003 at M01 (§§4–5,7,9): natural sparse recording retains actual owner-validated exact resolution in same ordinary append, not manual duplicate artifact_refs, private locator transcription or transient handle dependence. Canonical public identity is separate from private resolved source pin. Named reads can resolve exact originals and reverse association after restart/fresh natural discovery; reject wrong repo/tuple/revision before subsequent content lookup, qualify unavailable without substitution. No new user workflow, source authority or lookup by numeric ID. M02 (§§4.2,6,7.1,8,9): replace current-host 'no automatic asks in general discovery' contradiction. 2.4.2 foreground requested/authorized natural question (including default current-location, not only explicitly narrower scopes) can invoke existing bounded native assert flow; every distinct stage including final may ask. Actual foreground purpose and complete prompt audience required; if intent unclear clarify safe question, if prompts expressly excluded/unattended/automatic/unknown audience withhold. User intent not allow/consent; preallow may yield zero prompts, A02.2 grouped approval-once/final recheck produced two actual asks. Future H2-qualified general path uses nonprompting positive independent decisions at all stages including final; no auto interactive fallback for denied/approval-required/unavailable. Keep 24 cap, actual asks vs assertions, one in flight, recoverable refusal vs termination, no automatic retries/splitting/wider grants or manual relevance enumeration. Meaningful required approval promptly presented, silence not consent. Update actual state table, permission interaction/accessibility and test controls. M03 (§§3–6,7,9): public complete read Staging remains proposed pending separate maintainer approval, full product requirements/QS, H1 unavailable, H2 blocked, ARS-003/Q5/D1–D7 unchanged. No new research, production behavior, expanded requirements, upstream publication or merge. Return exact candidate/CI and targeted C02.1 readiness. |
Preserve durable exact source resolution, distinguish current-host foreground permission interaction from H2, and separate read actions from typed standalone recording-reference offers. Retain accepted experience and attention refinements.
D02.3 — Targeted C02 reconciliationCandidate
Accepted DS-002 experience, D02.2 decision-first attention refinements, H1 unavailable, format-independent disclosure, H2 blocked, proposed staging and all full acceptance obligations preserved. No additional research, scope, new requirements, implementation or merge. Verification: exact-head readback, three design Markdown files only, 45 internal link occurrences (24 mapped), static metadata/index/log checks pass. A02.5 exact-head CI 8/8 successful; D02.3 exact-head CI at check: {"in_progress":8} (8/8 expected workflows visible). Pending conclusions are not passes. No new runtime, live OKF, accessibility or consumer qualification. Ready for targeted independent C02.1 re-review of M01–M03 and consequential changes, subject to final CI. No claim of independent closure or implementation authorization. |
## 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.
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
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.