Repository navigation
A01: design Loom's semantic engineering knowledge architecture - #269
Conversation
A01.1 — C01 reconciliationCandidate:
Observed feasibility: read-only GitHub query by full head_sha at 081d779 reproduced nine runs, all reporting the exact SHA and repository/head repository 1378151150. Returned run 46400356308 attempt 1 yielded exact job 141784919687 through its attempt-specific collection. This is API evidence, not installed Loom/gh or source-recipient qualification; tested checkout remains a distinct fact. Inspected source-owner and permission contracts plus existing whole-scope regression tests. D01 handoff: ARD-019 §9 contains the reconciliation boundary. Render the shared attributed decision foundation, with missing-interpretation and insufficient-basis states; navigate qualified subject/relationship references; fresh selection from the original safe question and independently authorized surviving domains, not the old contributor union. Retain both actual human/fresh-agent QS outcomes, native/ARS-003 limits and no mandatory reporting. Final integrated diff: six Markdown files, four changed by A01.1; no runtime, requirements or policy changes. Current CI is not yet complete. Targeted independent C01 re-review, composed runtime/authorization qualification and actual consumer evidence remain open. |
## 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](https://github.com/bateau84/loom/actions/runs/46400356308/job/141784919687) 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 363ba46](https://github.com/bateau84/loom/blob/363ba460fb6ce631a38ae8d7abfedcd0501c30d6/docs/architecture/design/ard-019-semantic-engineering-knowledge.md) 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.**
## 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 - 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.**
Purpose
Documentation-only architecture candidate for independent review against the accepted R01/S01 baseline (#265/#266). Base:
1e4a89022bf275ba8146ff93d7b42b91ebb91fe3. Head before PR:8d0e366f0ac5083b2321304bf7c86d1f71c403c9.081d779a(44/44): complementary native historical discovery, not authoritative exact source resolution or protected recipient release. No duplicate transcript index.Review boundary
Review architecture and selected decision against the accepted requirements and technical evidence, especially positive automatic non-native association, distinct native admission/delivery/participation and shared turns, authorization before discovery/disclosure, actual human/fresh-agent QS-001/002 outcomes, and fresh selection after invalidation. No requirements reopened, native wrapper mechanism selected, production code, implementation tasks, public API schemas, or new policy.
Verification
Compared the integrated candidate against the pinned baseline: six Markdown documentation files only. New/updated local links resolve against the integrated Git tree; changed design/decision indexes cover their direct documents; exact profile types and current log entries retained. R06.1 run success, revision and relevant logs checked; experiment not rerun. Live OKF graph validation, runtime/consumer tests and independent architecture review have not been performed.
Do not merge as part of A01.