feat(core): initialize hyperstitionstudio-core (hyperstitionstud_io.* / urn:io:hyperstitionstud:*) shared library, 4897-entry offline CMUdict fallback, local-config citation resolver, CLI entrypoints, and test suite (v1.2.0)
This commit is contained in:
commit
f8235a2037
32 files changed
+6646
No files matched your search
@@ -0,0 +1,39 @@
|
||||
# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v1.2.0`)
|
||||
|
||||
Shared PEP 420 Python common library (`hyperstitionstud_io.*`), offline `URN:` JSON Schema registry (`urn:io:hyperstitionstud:schema:v1:*`), and offline browser/ESM modules (`@hyperstitionstud.io/*` / `window.HyperstitionStudio.*`) across all `/workspace` projects.
|
||||
|
||||
---
|
||||
|
||||
## Key Features (`v1.2.0`)
|
||||
|
||||
1. **100% Offline & Portable Namespace Architecture (Zero `https://` Network Calls):**
|
||||
- Python PEP 420 namespace: `hyperstitionstud_io.{config,ciphers,phonetics,publishing,glossary,graph,ci,audio}`
|
||||
- Offline JSON Schema `$id` URNs: `urn:io:hyperstitionstud:schema:v1:*` (local relative `$schema` resolution)
|
||||
- GraphML / GEXF XML namespace: `xmlns:hs="urn:io:hyperstitionstud:ns:kg:1.0"`
|
||||
- Browser global & ESM scope: `window.HyperstitionStudio.*` and `@hyperstitionstud.io/*`
|
||||
2. **Local-Configuration Citation URL Resolution (`[citations.path_mounts]` in `/workspace/workspace.toml`):**
|
||||
- Resolves local dossier paths into remote citation URLs **only** when explicitly configured in local `workspace.toml`, falling back deterministically to the verified local filesystem path (`/workspace/...`).
|
||||
- Zero version-control subprocess calls; zero global package namespace URL synthesis.
|
||||
3. **4,897-Entry Offline `CMUdict` Phonetics Lookup (`cmudict_fallback.json`):**
|
||||
- Translates `Gen 0` English tokens to `Gen 1` Ingglish 100% offline without requiring `--workdir /workspace/ingglish-hyperdope-gematria`.
|
||||
4. **Dual Deployment Support (`Scenario A: file://` Offline Browser & `Scenario B: http://` Static Server):**
|
||||
- Supports both direct `file://` browser execution and static HTTP server hosting (either rooted at `/workspace` or rooted inside `/workspace/encyclopedia-knowledge-graph` via `--bundle-encyclopedia`).
|
||||
|
||||
---
|
||||
|
||||
## Quickstart & Diagnostics
|
||||
|
||||
```bash
|
||||
# 1. Install in editable mode
|
||||
pip install --no-deps -e /workspace/hyperstitionstudio-core
|
||||
|
||||
# 2. Run single-command environment, font, schema & SHA-256 isolation check
|
||||
hs-doctor
|
||||
|
||||
# 3. Verify grounded citations against local configuration & evidence quotes
|
||||
hs-citations --ledger /workspace/technocapital-singularity-zoology/taxonomy/citations-ledger-common.json \
|
||||
verify /workspace/technocapital-singularity-zoology/proposal-corporate-board-technocapital-allocation.md --evidence
|
||||
|
||||
# 4. Run full pytest suite
|
||||
pytest /workspace/hyperstitionstudio-core/tests/
|
||||
```
|
||||
Reference in new issue
Block a user