Skip to content

Query QRY0 -- Query schema including split from Dance adapter Issue 645 - #648

Merged
evomimic merged 1 commit into
mainfrom
645-query-qry0----define-authoritative-map-query-schema
Aug 18, 2026
Merged

Query QRY0 -- Query schema including split from Dance adapter Issue 645#648
evomimic merged 1 commit into
mainfrom
645-query-qry0----define-authoritative-map-query-schema

Conversation

@evomimic

Copy link
Copy Markdown
Owner

Summary

Implements QRY0 / #645 by extracting the authoritative Query schema from the retired Core-owned Query artifact and introducing a separate QueryDance adapter package.

Query remains directly invocable without Dance types. QueryDance is a Dance-layer adapter over that same direct Query entry point.

Changes

  • Added independently loadable MAP Query Schema-v0.0.2.
  • Added MAP Query Dance Adapter Schema-v0.1.0.
  • Retired the Core-owned Query schema source and generated artifact.
  • Moved Query definitions, parameter declarations and bindings, execution state, and Query-owned relationships into map-query-schema.tdl.
  • Added QueryDance request and response contracts, adapter-owned MetaQueryDanceType, and the concrete DanceAffordedBy / AffordsDance affordance pair.
  • Ensured ExecutionInstance executes Query directly rather than a Dance request.
  • Updated schema loading fixtures and generated-schema expectations.

Dependency boundary

  • Query schema depends only on Core.
  • Query schema defines no Dance types or Dance imports.
  • QueryDance depends on Query and the currently Core-packaged Dance descriptors.
  • The Core-packaged Dance artifact remains transitional; standalone Dance-package extraction is intentionally outside this PR.
  • QueryCore remains an internal direct-execution module of map-query-schema, not a loadable package.

Validation

  • npm run map-schema:compile:coreschema
  • npm run map-schema:check:coreschema
  • npm run fmt:check
  • git diff --check
  • Sweettest Dance suite passed.
  • Full schema upload passed: 536 holons committed, 2,267 links created, 0 errors.

Extract the Core-owned Query schema into independently loadable Query and
QueryDance adapter packages.

Keep Query directly invocable without Dance imports, add the adapter-owned
MetaQueryDance affordance contract, and validate both packages load after Core.
@evomimic evomimic linked an issue Aug 18, 2026 that may be closed by this pull request
8 tasks
@evomimic evomimic changed the title Query schema including split from Dance adapter Issue 645 Query QRY0 -- Query schema including split from Dance adapter Issue 645 Aug 18, 2026
@evomimic

Copy link
Copy Markdown
Owner Author

Approve

Reviewed PR #648 against #645 and the updated normative Query/Dance specifications.

The PR cleanly separates the Core-dependent Query schema from the Dance-layer QueryDance adapter, retires the Core-owned legacy Query artifact, and proves the intended load order: Core → Query → QueryDance. ExecutionInstance executes Query directly, and the adapter owns its concrete DanceAffordedBy affordance contract.

CI passed on the reviewed head e0b7c013. Schema checking is clean. Manual verification also passed: happ build, host build, npm test, full-corpus npm start, and both segmented-load dependency checks.

Non-blocking follow-up: #645’s original issue body predates the now-normative Query/Dance split. The PR matches the updated DevDocs and intentionally defers standalone Dance-package extraction to the documented follow-on boundary issue.

Approved for merge; merging closes #645.

@evomimic
evomimic merged commit 86909c4 into main Aug 18, 2026
3 checks passed
@evomimic
evomimic deleted the 645-query-qry0----define-authoritative-map-query-schema branch August 18, 2026 16:46
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.

Query QRY0 -- Define authoritative MAP Query Schema

1 participant