Skip to content

Add deterministic Core primitives for issue #2 - #10

Merged
knqiufan merged 4 commits into
feat/m1-typed-clientfrom
feat/issue-2-deterministic-core
Aug 27, 2026
Merged

Add deterministic Core primitives for issue #2#10
knqiufan merged 4 commits into
feat/m1-typed-clientfrom
feat/issue-2-deterministic-core

Conversation

@knqiufan

@knqiufan knqiufan commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Ship @powercontext/core JCS, NFC, domain hash, refs, UTF-8 budgets, and fake-store revision/head traces for the sqlite-fts / C2 profile.
  • Keep IEEE floats such as 1e30 on the domain path, reject unsafe Python-int tokens before parse, and hash identity values through hashDomain.
  • Validate Artifact lineage refs, make Source fake-store identity idempotent, implement ArtifactCatalog on the fake store, and project typed refs to snake-case wire JSON.
  • Move shared canonical fixtures through the Core package and keep Python rfc8785 as the oracle.
  • Record the IEEE versus Python-int split in ADR 0006.

Test plan

  • pnpm exec vitest run packages/core (114 passed)
  • pnpm exec vitest run packages/conformance-runner (10 passed)
  • Confirm C2 canonical fixtures still match conformance/expected/canonical.json, including domain.float-1e30
  • Read ADR 0006 and confirm the IEEE / Python-int split is explicit

Closes #2

Ship JCS, NFC, hash, refs, UTF-8 budgets, and fake-store traces for issue #2, and record the raw JCS versus domain integer split in ADR 0006.
…cle.

Keep IEEE floats such as 1e30 on the domain path, reject unsafe integer tokens before parse, and hash identity values through canonicalizeDomain. Validate lineage refs, make Source fake-store identity idempotent, and project typed refs to snake-case wire JSON.
…2 snapshot digests and resolve unpublished sibling tarballs through pnpm-workspace overrides.
@knqiufan
knqiufan merged commit e5ce23f into feat/m1-typed-client Aug 27, 2026
10 checks passed
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