Skip to content

docs: establish core semantic engineering specification (S01/S01.1) - #266

Merged
bateau84 merged 4 commits into
mainfrom
docs/s01-core-semantic-requirements
Nov 30, 2026
Merged

bateau84 merged 4 commits into
mainfrom
docs/s01-core-semantic-requirements

Conversation

@bateau84

@bateau84 bateau84 commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Purpose

Propose the implementation-independent semantic engineering foundation for ordinary work, independently of continuous learning. Reconciled with merged R01 #265 (d9b4f38eb538f95c954025deac43607d2152467d), R05/R06 research, and the independent S01.2 review of 68cf4b12fb5a780f5141164a2596093d8c2f2335.

Complete specification, vocabulary, traceability and D1–D7 disposition.

S01.2 review remediation

Finding Proposed correction
MAJOR-01 BR-001 requires automatic factual relationships from sufficiently supported, already-authorized non-native as well as native sources. Positive assessment/CI shared-subject witness and wrong-revision, uncertain-identity, unsupported-verification and denied-association controls.
MAJOR-02 QS-001/002 require actual task-specific human and fresh-agent outcomes, including explanations, a justified next investigation and recovery through necessary reselection when sufficient authorized evidence remains. Retrieval-only success or a safe restart instruction alone cannot pass. No numerical targets or universal comprehension promise.
MINOR-01 Proposed learning OC-001/QS-001 amendments and vocabulary distinguish positive admission, delivery and actual participation; admitted-only and delivery-only controls cannot certify unsupported work. Shared-turn outcomes and original accepted learning wording preserved.
MINOR-02 R06.1 initial attempt explicitly environment-blocked before execution; not a host capability failure. D2 remains a qualification dependency; no completed resumed result is established here.

Preserved scope and authority

Three BRs, two OCs and two QSs; no additional requirement documents. Versioned documentary identity, continuity, authority/applicability, original-source representation and distinct access operations retain S01.1 meaning. Merged Anchor and profile unchanged by the remediation. Existing source/recipient authority, accepted learning requirements and #227 obligations remain controlling. R04 metrics are proposals; R03/R05/R06 research is not production qualification.

D1/D2 remain native feasibility/qualification dependencies. D3 source-specific revision and discovery consistency remain technical work; D4/D6 do not block bounded architectural investigation. D5/D7 are reserved maintainer decisions. No architecture, implementation, persistent IDs, automatic applicability, upstream interfaces, additional gates or expanded collection/disclosure are selected or assumed.

Verification and limits

  • Reviewed baseline: 68cf4b12fb5a780f5141164a2596093d8c2f2335, tree bb1dea868018a28b2b7ee104ce8cd7e5cf43cbb3; S01.2 review reported eight successful workflows, ten jobs, and five passing repository OKF tests. Those results apply to that prior tree, not this correction.
  • Remediation head: 329e933aab53a6efd0148b060c7f54dbe0653d2d, tree ee05f26bb1ada8e9e23b37135803787b422b5346. Nine existing documentation files modified relative to reviewed head; no additions/deletions, production code, Anchor or profile change. Direct metadata, log ordering/history, 23 concept links, 31 index/log links and accepted-learning-prefix checks passed. All prior document identities and index inventory remain intact.
  • These checks are author self-checks, not independent acceptance or live runtime qualification. No local Bun or configured OKF MCP execution; fresh CI remains separate. Previously observed repository rulesets query returned none; branch protection was inaccessible (403). Connector-created commits are unsigned, no human DCO sign-off asserted; confirm applicable merge policy.

Ready for targeted independent re-review of the four findings. Do not merge or treat the specification as accepted based on the remediation alone.

Preserve accepted learning and concern obligations, clarify shared native turns,
and specify ordinary evidence discovery, qualified assertions and applicability.
Keep unresolved source and policy decisions explicit; no runtime changes.
Require positive native lineage evidence while preserving shared-turn semantics, source inspection boundaries and outstanding #227 obligations.
…1.1)

Integrate merged R01, clarify documentary identity, source representation and
authority boundaries, and disposition dependent specification questions.
Preserve three BRs, two OCs, two QSs and existing shared-turn amendments.
Correct Anchor integration status without expanding acceptance.
@bateau84 bateau84 changed the title docs: propose Loom core semantic requirements (S01) docs: establish core semantic engineering specification (S01/S01.1) Nov 30, 2026
@bateau84
bateau84 marked this pull request as ready for review November 30, 2026 00:02
Require automatic supported non-native factual joins and actual consumer
outcomes, including recovery after reselection. Distinguish admission,
delivery and participation without changing shared-turn semantics.
Record the initial unexecuted R06.1 qualification and preserve accepted policy.
@bateau84
bateau84 merged commit 1e4a890 into main Nov 30, 2026
10 checks passed
@bateau84
bateau84 deleted the docs/s01-core-semantic-requirements branch November 30, 2026 09:55
bateau84 added a commit that referenced this pull request Nov 30, 2026
## Purpose

Documentation-only architecture candidate for independent review against
the accepted R01/S01 baseline (#265/#266). Base:
`1e4a89022bf275ba8146ff93d7b42b91ebb91fe3`. Head before PR:
`8d0e366f0ac5083b2321304bf7c86d1f71c403c9`.

- ARD-019: extend existing source owners, EngineeringConnections and
EngineeringHistory for qualified ordinary engineering knowledge; direct
original inspection independent of retrospective admission, documentary
associations, bounded discovery/recovery, explicit trust boundaries and
BR/QS/OC allocation.
- ADR-002: select qualified source-owner composition over a new
canonical semantic graph or caller-side reconstruction.
- Incorporate the successful [R06.1 installed
qualification](https://github.com/bateau84/loom/actions/runs/46400356308/job/141784919687)
at `081d779a` (44/44): complementary native historical discovery, not
authoritative exact source resolution or protected recipient release. No
duplicate transcript index.
- Preserve existing native execution, review and learning
isolation/eligibility, frozen membership and ARS-003. Native lineage
mechanism (D1) and stronger exact historical access/release (D2) remain
appropriately unqualified; neither blocks independently feasible
retained-knowledge access.

## 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.**
bateau84 added a commit that referenced this pull request Nov 30, 2026
## 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.**
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