Compare commits

...
8 Commits
22 changed files with 6049 additions and 4153 deletions

No files matched your search

+2 -2
View File
@@ -3,8 +3,8 @@
<!-- HS-COMMIT-STATUS:START --> <!-- HS-COMMIT-STATUS:START -->
> **Gitea Commit & Release Telemetry (`v2.17.1` • Namespace `urn:io:hyperstitionstud`)** > **Gitea Commit & Release Telemetry (`v2.17.1` • Namespace `urn:io:hyperstitionstud`)**
> - **Repository Role & Public Route:** Shared PEP 420 Python core library (`hyperstitionstud_io.*`), MCP/REST server, `/quant/`, `/learn/`, `/engineering/`, `/math/`, & `/donate/` webroots &rarr; [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/) > - **Repository Role & Public Route:** Shared PEP 420 Python core library (`hyperstitionstud_io.*`), MCP/REST server, `/quant/`, `/learn/`, `/engineering/`, `/math/`, & `/donate/` webroots &rarr; [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/)
> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.17.1 release state across 1 tracked module/artifact surface(s) > - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.17.1 release state across 12 tracked module/artifact surface(s)
> - **Touched Files / Surfaces:** `tests/test_core_suite.py` > - **Touched Files / Surfaces:** `site/quant/daily-brief-data.js`, `site/quant/daily-brief-latest.json`, `site/quant/daily-brief-state.json`, `site/quant/financial-aq-harvest-latest.json`, `site/quant/quant-timeseries-data.js`, `site/quant/quant-timeseries.json`, `site/quant/real-macro-indicators-data.js`, `site/quant/real-macro-indicators.json` (+4 more)
> - **Live Verified Ecosystem Metrics (`v2.17.1`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data > - **Live Verified Ecosystem Metrics (`v2.17.1`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data
<!-- HS-COMMIT-STATUS:END --> <!-- HS-COMMIT-STATUS:END -->
+29 -22
View File
@@ -128,7 +128,7 @@ fi
if [[ "${DO_PUSH}" -eq 1 ]] && [[ -f "/etc/hyperstitionstud.io/id_ed25519_git_libre_audio" ]]; then if [[ "${DO_PUSH}" -eq 1 ]] && [[ -f "/etc/hyperstitionstud.io/id_ed25519_git_libre_audio" ]]; then
echo "[4/5] Committing and pushing automated VPS telemetry updates to git.libre.audio..." echo "[4/5] Committing and pushing automated VPS telemetry updates to git.libre.audio..."
run_checked "hs-readme-sync --install-hooks" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.readme_sync --install-hooks run_checked "hs-readme-sync --hooks-only" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.readme_sync --hooks-only
DEPLOY_KEY="/etc/hyperstitionstud.io/id_ed25519_git_libre_audio" DEPLOY_KEY="/etc/hyperstitionstud.io/id_ed25519_git_libre_audio"
GIT_SSH_CMD="ssh -i ${DEPLOY_KEY} -p 2222 -o IdentitiesOnly=yes -o IdentityAgent=none -o BatchMode=yes -o StrictHostKeyChecking=accept-new" GIT_SSH_CMD="ssh -i ${DEPLOY_KEY} -p 2222 -o IdentitiesOnly=yes -o IdentityAgent=none -o BatchMode=yes -o StrictHostKeyChecking=accept-new"
export GIT_SSH_COMMAND="${GIT_SSH_CMD}" export GIT_SSH_COMMAND="${GIT_SSH_CMD}"
@@ -147,37 +147,44 @@ if [[ "${DO_PUSH}" -eq 1 ]] && [[ -f "/etc/hyperstitionstud.io/id_ed25519_git_li
forge_ssh="ssh://git@git.libre.audio:2222/seasharp" forge_ssh="ssh://git@git.libre.audio:2222/seasharp"
git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" config core.sshCommand "${GIT_SSH_CMD}" || true git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" config core.sshCommand "${GIT_SSH_CMD}" || true
git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" remote set-url origin "${forge_ssh}/${r}.git" || true git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" remote set-url origin "${forge_ssh}/${r}.git" || true
if [[ "${r}" == "hyperstitionstudio-core" ]]; then
TELEMETRY_SNAP_DIR="/tmp/hyperstition-vps-prod-telemetry-snap"
rm -rf "${TELEMETRY_SNAP_DIR}"
run_checked "snapshot telemetry (${r})" "${PYTHON_BIN}" -m hyperstitionstud_io.quant.collector --snapshot-telemetry "${TELEMETRY_SNAP_DIR}"
run_checked "git fetch (${r})" git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" fetch --force origin main --tags
local_head="$(git -C "${REPOS_ROOT}/${r}" rev-parse HEAD)"
remote_head="$(git -C "${REPOS_ROOT}/${r}" rev-parse origin/main)"
if [[ "${local_head}" != "${remote_head}" ]]; then
if [[ "${PUSH_ONLY}" -eq 1 ]]; then
echo " [sync] Advancing ${r} base to origin/main and reconciling telemetry snapshot..."
fi
run_checked "git reset --hard origin/main (${r})" git -C "${REPOS_ROOT}/${r}" reset --hard origin/main
git -C "${REPOS_ROOT}/${r}" stash clear || true
run_checked "reconcile telemetry (${r})" "${PYTHON_BIN}" -m hyperstitionstud_io.quant.collector --reconcile-telemetry "${TELEMETRY_SNAP_DIR}"
fi
rm -rf "${TELEMETRY_SNAP_DIR}"
else
run_checked "git fetch (${r})" git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" fetch --force origin main --tags
run_checked "git pull --rebase --autostash (${r})" git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" pull --rebase -X theirs --autostash origin main
fi
git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" add -A git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" add -A
if ! git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" diff --cached --quiet; then if ! git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" diff --cached --quiet; then
if [[ "${PUSH_ONLY}" -eq 1 ]]; then if [[ "${PUSH_ONLY}" -eq 1 ]]; then
echo " [commit] Committing new telemetry changes in ${r}..." echo " [commit] Committing new telemetry changes in ${r}..."
fi fi
run_checked "git commit (${r})" git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" commit -m "chore(telemetry): automated VPS ${WINDOW_MODE} harvest (${STAMP_UTC})" run_checked "git commit (${r})" git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" commit -m "chore(telemetry): automated VPS ${WINDOW_MODE} harvest (${STAMP_UTC})"
if [[ "${PUSH_ONLY}" -eq 1 ]]; then
echo " [push] Pushing ${r} to git.libre.audio..."
fi
run_checked "git push (${r})" git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" push origin main
if [[ "${PUSH_ONLY}" -eq 1 ]]; then
echo " [ok] Repository ${r} successfully pushed to git.libre.audio ($(git -C "${REPOS_ROOT}/${r}" rev-parse --short HEAD))."
fi
else else
if [[ "${PUSH_ONLY}" -eq 1 ]]; then if [[ "${PUSH_ONLY}" -eq 1 ]]; then
echo " [clean] Repository ${r} working tree is clean (no new local telemetry changes to commit)." echo " [clean] Repository ${r} working tree is clean and in sync with origin/main ($(git -C "${REPOS_ROOT}/${r}" rev-parse --short HEAD))."
fi fi
fi fi
if [[ "${PUSH_ONLY}" -eq 1 ]]; then
echo " [sync] Pulling and rebasing origin/main for ${r}..."
fi
run_checked "git pull --rebase --autostash (${r})" git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" pull --rebase -X theirs --autostash origin main
unmerged_paths="$(git -C "${REPOS_ROOT}/${r}" diff --name-only --diff-filter=U || true)"
if [[ -n "${unmerged_paths}" ]]; then
while IFS= read -r uf; do
[[ -z "${uf}" ]] && continue
git -C "${REPOS_ROOT}/${r}" checkout --theirs -- "${uf}"
git -C "${REPOS_ROOT}/${r}" reset HEAD -- "${uf}"
done <<< "${unmerged_paths}"
git -C "${REPOS_ROOT}/${r}" stash drop -q || true
fi
if [[ "${PUSH_ONLY}" -eq 1 ]]; then
echo " [push] Pushing ${r} to git.libre.audio..."
fi
run_checked "git push (${r})" git "${GIT_SSH_FLAGS[@]}" -C "${REPOS_ROOT}/${r}" push origin main
if [[ "${PUSH_ONLY}" -eq 1 ]]; then
echo " [ok] Repository ${r} successfully pushed to git.libre.audio ($(git -C "${REPOS_ROOT}/${r}" rev-parse --short HEAD))."
fi
fi fi
done done
else else
+25 -13
View File
@@ -144,30 +144,42 @@ if [[ "${DO_PULL}" -eq 1 ]]; then
git -C "${REPOS_ROOT}/${repo}" remote set-url "${remote_name}" "https://git.libre.audio/seasharp/${slug}.git" || true git -C "${REPOS_ROOT}/${repo}" remote set-url "${remote_name}" "https://git.libre.audio/seasharp/${slug}.git" || true
fi fi
fi fi
echo "[1/5] Updating ${REPOS_ROOT}/${repo} (${remote_name}/${branch}) with autostash rebase..." echo "[1/5] Updating ${REPOS_ROOT}/${repo} (${remote_name}/${branch}) with lossless telemetry snapshot & clean remote sync..."
TELEMETRY_SNAP_DIR="/tmp/hyperstition-vps-telemetry-snap"
if [[ "${repo}" == "hyperstitionstudio-core" && ! -d "${TELEMETRY_SNAP_DIR}" ]]; then
"${PYTHON_BIN}" -m hyperstitionstud_io.quant.collector --snapshot-telemetry "${TELEMETRY_SNAP_DIR}" || true
fi
prev_head="$(git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -C "${REPOS_ROOT}/${repo}" rev-parse HEAD)" prev_head="$(git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -C "${REPOS_ROOT}/${repo}" rev-parse HEAD)"
if [[ "${#GIT_PULL_PREFIX[@]}" -gt 0 ]]; then if [[ "${#GIT_PULL_PREFIX[@]}" -gt 0 ]]; then
run_checked "git fetch ${repo}" "${GIT_PULL_PREFIX[@]}" git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -c "safe.directory=${REPOS_ROOT}/${repo}" -C "${REPOS_ROOT}/${repo}" fetch --force "${remote_name}" "${branch}" --tags run_checked "git fetch ${repo}" "${GIT_PULL_PREFIX[@]}" git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -c "safe.directory=${REPOS_ROOT}/${repo}" -C "${REPOS_ROOT}/${repo}" fetch --force "${remote_name}" "${branch}" --tags
run_checked "git pull --rebase --autostash ${repo}" "${GIT_PULL_PREFIX[@]}" git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -c "safe.directory=${REPOS_ROOT}/${repo}" -C "${REPOS_ROOT}/${repo}" pull --rebase -X theirs --autostash "${remote_name}" "${branch}"
else else
run_checked "git fetch ${repo}" git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -C "${REPOS_ROOT}/${repo}" fetch --force "${remote_name}" "${branch}" --tags run_checked "git fetch ${repo}" git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -C "${REPOS_ROOT}/${repo}" fetch --force "${remote_name}" "${branch}" --tags
run_checked "git pull --rebase --autostash ${repo}" git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -C "${REPOS_ROOT}/${repo}" pull --rebase -X theirs --autostash "${remote_name}" "${branch}"
fi
unmerged_paths="$(git -C "${REPOS_ROOT}/${repo}" diff --name-only --diff-filter=U || true)"
if [[ -n "${unmerged_paths}" ]]; then
while IFS= read -r uf; do
[[ -z "${uf}" ]] && continue
git -C "${REPOS_ROOT}/${repo}" checkout --theirs -- "${uf}"
git -C "${REPOS_ROOT}/${repo}" reset HEAD -- "${uf}"
done <<< "${unmerged_paths}"
git -C "${REPOS_ROOT}/${repo}" stash drop -q || true
fi fi
git -C "${REPOS_ROOT}/${repo}" rebase --abort 2>&1 | grep -v "No rebase in progress" || true
git -C "${REPOS_ROOT}/${repo}" merge --abort 2>&1 | grep -v "There is no merge to abort" || true
run_checked "git reset --hard ${remote_name}/${branch} (${repo})" git -C "${REPOS_ROOT}/${repo}" reset --hard "${remote_name}/${branch}"
git -C "${REPOS_ROOT}/${repo}" stash clear || true
new_head="$(git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -C "${REPOS_ROOT}/${repo}" rev-parse HEAD)" new_head="$(git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -C "${REPOS_ROOT}/${repo}" rev-parse HEAD)"
if [[ "${repo}" == "hyperstitionstudio-core" && "${prev_head}" != "${new_head}" && -z "${HYPERSTITION_SYNC_REEXEC:-}" ]]; then if [[ "${repo}" == "hyperstitionstudio-core" && "${prev_head}" != "${new_head}" && -z "${HYPERSTITION_SYNC_REEXEC:-}" ]]; then
echo "[1/5] hyperstitionstudio-core updated (${prev_head:0:7} -> ${new_head:0:7}); re-executing updated sync-vps-repos.sh..." echo "[1/5] hyperstitionstudio-core updated (${prev_head:0:7} -> ${new_head:0:7}); re-executing updated sync-vps-repos.sh..."
export HYPERSTITION_SYNC_REEXEC=1 export HYPERSTITION_SYNC_REEXEC=1
exec "${REPOS_ROOT}/hyperstitionstudio-core/deploy/sync-vps-repos.sh" "$@" exec "${REPOS_ROOT}/hyperstitionstudio-core/deploy/sync-vps-repos.sh" "$@"
fi fi
if [[ "${repo}" == "hyperstitionstudio-core" && -d "${TELEMETRY_SNAP_DIR}" ]]; then
run_checked "reconcile VPS telemetry snapshot" "${PYTHON_BIN}" -m hyperstitionstud_io.quant.collector --reconcile-telemetry "${TELEMETRY_SNAP_DIR}"
rm -rf "${TELEMETRY_SNAP_DIR}"
if [[ -n "$(git -C "${REPOS_ROOT}/hyperstitionstudio-core" status --porcelain || true)" ]] && [[ -f "${DEPLOY_KEY}" ]]; then
echo "[1/5] Committing and pushing reconciled VPS harvest telemetry to ${remote_name}/${branch}..."
run_checked "hs-readme-sync --hooks-only" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.readme_sync --hooks-only
if [[ -z "$(git -C "${REPOS_ROOT}/hyperstitionstudio-core" config user.name || true)" ]]; then
git -C "${REPOS_ROOT}/hyperstitionstudio-core" config user.name "Hyperstition VPS Bot"
git -C "${REPOS_ROOT}/hyperstitionstudio-core" config user.email "vps-bot@hyperstitionstud.io"
fi
git -C "${REPOS_ROOT}/hyperstitionstudio-core" add -A
run_checked "git commit reconciled telemetry" git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -C "${REPOS_ROOT}/hyperstitionstudio-core" commit -m "chore(telemetry): reconcile VPS harvest telemetry with origin/main"
run_checked "git push reconciled telemetry" git ${GIT_SSH_FLAGS[@]+"${GIT_SSH_FLAGS[@]}"} -C "${REPOS_ROOT}/hyperstitionstudio-core" push "${remote_name}" "${branch}"
fi
fi
fi fi
done done
fi fi
@@ -201,7 +213,7 @@ if p.is_file():
p.write_text(u, encoding="utf-8") p.write_text(u, encoding="utf-8")
' '
fi fi
run_checked "hs-readme-sync --install-hooks" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.readme_sync --install-hooks run_checked "hs-readme-sync --hooks-only" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.readme_sync --hooks-only
run_checked "hs-deploy-scripts-sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.ci.deploy_scripts_sync --workspace-root "${REPOS_ROOT}" --check run_checked "hs-deploy-scripts-sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.ci.deploy_scripts_sync --workspace-root "${REPOS_ROOT}" --check
run_checked "hs-closeups-sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.closeups_sync --check run_checked "hs-closeups-sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.closeups_sync --check
run_checked "version_sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.version_sync --check run_checked "version_sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.version_sync --check
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 25 KiB

@@ -1,6 +1,6 @@
{ {
"$id": "urn:io:hyperstitionstud:closeups-ui-manifest", "$id": "urn:io:hyperstitionstud:closeups-ui-manifest",
"ui_elements_fingerprint_sha256": "1bbdaf99d6c8613b3e26de158ac578b57753b331df6f0dcce547181ae112579c", "ui_elements_fingerprint_sha256": "575a5ef8137b8145fdaf914e28f29c06cd0fdec8ed2e0e68a4e0067837e277d9",
"closeup_images": [ "closeup_images": [
"quadrant-1-cybermemetics-calc-graph.png", "quadrant-1-cybermemetics-calc-graph.png",
"quadrant-1-tab-2-graph.png", "quadrant-1-tab-2-graph.png",
@@ -16,7 +16,7 @@
], ],
"live_metrics": { "live_metrics": {
"calc_db_entries": 233815, "calc_db_entries": 233815,
"quant_total_real_bars": 495, "quant_total_real_bars": 514,
"quant_bayesian_posteriors": { "quant_bayesian_posteriors": {
"R1_BULL_RISK_ON": 0.0, "R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0, "R2_PINNED_ISOMETRIC": 0.0,
@@ -804,7 +804,7 @@
} }
}, },
"ipld_dag_json_cidv1": { "ipld_dag_json_cidv1": {
"/": "baguqeeraexjuihhrw7tmhued2u37q2s6uwo66xoixx7h7p5hvudh2m4coswa" "/": "baguqeera6nnx7kkrf3vmvixyazmic5gnnq2vnps5stmsyenduuvudc7qbnya"
}, },
"geometry_audit": { "geometry_audit": {
"all_clean": true, "all_clean": true,
+1 -1
View File
@@ -1,2 +1,2 @@
// Auto-generated by hyperstitionstud_io.quant.daily_brief — DO NOT EDIT MANUALLY // Auto-generated by hyperstitionstud_io.quant.daily_brief — DO NOT EDIT MANUALLY
window.HYPERSTITION_DAILY_BRIEF = {"$schema": "./schemas/v1/daily-portfolio-brief.schema.json", "$id": "urn:io:hyperstitionstud:schema:v1:daily-portfolio-brief", "version": "2.17.1", "run_number": 20, "generated_at_utc": "2026-12-02T13:21:51Z", "synthetic_data_eliminated": true, "agenda_1_executive_summary": {"headline_finding": "Late-November tape is governed by Vector G1/G4 Isometric Pinning (Dose 2, Posterior P(R2) = 0.0%), compressing median daily moves by -58% (101.0 bps vs. 240.5 bps baseline), while sovereign rates (US10Y 4.85%-4.94%, EFFR 3.88% == 388 KG nodes) cap long-duration multiple expansion.", "high_impact_findings_ranked": [{"rank": 1, "theme": "Dose 2 Isometric Pinning Dominance vs. Dose 3+ Tail Exhaustion", "durability_score": 0.84, "severity_score": 0.78, "portfolio_impact_probability": 0.81, "evidence": "Across 440 real Nov 2026 bars, Dose 2 (n=40) cut median moves to 101.0 bps (P90=292 bps, 60.6% next-day continuation), while all 8 Dose 3+ triple-confluence events were 100% downside selloffs averaging 1.98x volume and 377.5 bps next-day moves."}, {"rank": 2, "theme": "FRED Overnight Rate & Pipeline Margin Lock (EFFR = 388 bps, PPI MoM = -19 bps -> 137)", "durability_score": 0.88, "severity_score": 0.72, "portfolio_impact_probability": 0.79, "evidence": "EFFR holds at 3.88% (388 bps == 388 Knowledge Graph nodes) with SOFR at 3.98% (+10 bps repo spread), while PPI MoM (-19 bps -> 'nineteen'/'nainteen' = 137 [G4 Isometric]) undercuts CPI MoM (+35 bps -> 166) by -54 bps."}, {"rank": 3, "theme": "Synchronous Crypto & AI Hardware Coordinate Locks (BTC/ETH -91 bps, GOOGL -108 bps -> 292, SOL $73.07 == 73)", "durability_score": 0.76, "severity_score": 0.74, "portfolio_impact_probability": 0.75, "evidence": "SOL-USD locked onto its own ticker AQ ($73.07 == SOL=73) before surging +536 bps next day; GOOGL -108 bps locked onto Gen 0 292 (Dossier 62); BTC-USD and ETH-USD posted a simultaneous -91 bps (kampyoot=91) lock on 2026-11-26/28."}], "risk_on_off_barometers": {"vix_close": 19.44, "us10y_yield_pct": 5.05, "btc_latest_change_bps": 40, "copper_hg_latest_change_bps": 204, "effr_overnight_pct": 3.88, "sofr_overnight_pct": 3.98, "sofr_minus_effr_spread_bps": 10, "real_m2_mom_growth_bps": 16}, "bayesian_regime_inference": {"extant_priors": {"R1_BULL_RISK_ON": 0.0, "R2_PINNED_ISOMETRIC": 0.0, "R3_TAIL_DRAWDOWN_RISK_OFF": 1.0}, "likelihood_factors": {"R1_BULL_RISK_ON": 0.9775, "R2_PINNED_ISOMETRIC": 1.0465, "R3_TAIL_DRAWDOWN_RISK_OFF": 2.125}, "posterior_probabilities": {"R1_BULL_RISK_ON": 0.0, "R2_PINNED_ISOMETRIC": 0.0, "R3_TAIL_DRAWDOWN_RISK_OFF": 1.0}, "scenarios": {"best_case_r1_bull_risk_on": {"probability": 0.0, "label": "Best Case — Risk-On Expansion & Smooth Trend Continuation", "expected_daily_excursion_bps": "P50: +180 to +240 bps (Up-skewed S1/S2 leadership)", "drivers": "Real M2 positive growth (+16 bps MoM), easing PPI pipeline (-19 bps MoM), and VIX compression."}, "base_case_r2_pinned_isometric": {"probability": 0.0, "label": "Base Case — Vector G1/G4 Isometric Attractor Pinning (Dose 2 Regime)", "expected_daily_excursion_bps": "P50: 101.0 bps | P90 Tail: 292.0 bps (-58% variance compression vs. Dose 0)", "drivers": "Cross-species Market Ring × Same-Day Dossier Coordinate locks without headline shocks (60.6% next-day continuation)."}, "worst_case_r3_tail_drawdown": {"probability": 1.0, "label": "Worst Case — Dose 3+ Phase-Transition Drawdown & Sovereign Yield Tightening", "expected_daily_excursion_bps": "Next-Day Mean: -377.5 bps | 3-Day Cumulative Excursion: 1,395.0 bps (~13.95%)", "drivers": "US10Y near 4.85%-4.94% + triple-species Dose 3+ collisions (100% downside skew & 1.98x mean volume in Nov 2026)."}}}}, "agenda_2_confirming_signals": {"summary": "Macro liquidity expansion (Real M2 +16 bps MoM, M1 +52 bps MoM) and easing producer input costs (PPI -19 bps MoM) support S1/S3 operating margins, while Dose 2 dossier-tape locks confirm quiet accumulation.", "active_dose2_confirmations": [{"date_utc": "2026-12-01", "symbol": "RTX", "entity_ing": "raytheeon", "close_usd": 200.21, "change_bps": 60, "volume_ratio_20d": 0.71, "shared_dossier_coordinates": [], "dose_taxon_label": "Dose 2: G1/G4 Pinning Well"}, {"date_utc": "2026-11-30", "symbol": "BTC-USD", "entity_ing": "bitkoin", "close_usd": 59696.43, "change_bps": -44, "volume_ratio_20d": 0.77, "shared_dossier_coordinates": [189], "dose_taxon_label": "Dose 2: G1/G4 Pinning Well"}, {"date_utc": "2026-11-29", "symbol": "SOL-USD", "entity_ing": "sohlana", "close_usd": 71.34, "change_bps": 125, "volume_ratio_20d": 0.73, "shared_dossier_coordinates": [71, 125], "dose_taxon_label": "Dose 2: G1/G4 Pinning Well"}, {"date_utc": "2026-11-28", "symbol": "BTC-USD", "entity_ing": "bitkoin", "close_usd": 59321.42, "change_bps": -91, "volume_ratio_20d": 0.38, "shared_dossier_coordinates": [91], "dose_taxon_label": "Dose 2: G1/G4 Pinning Well"}, {"date_utc": "2026-11-28", "symbol": "ETH-USD", "entity_ing": "edheroom", "close_usd": 1645.99, "chLine truncated window.HYPERSTITION_DAILY_BRIEF = {"$schema": "./schemas/v1/daily-portfolio-brief.schema.json", "$id": "urn:io:hyperstitionstud:schema:v1:daily-portfolio-brief", "version": "2.17.1", "run_number": 10, "generated_at_utc": "2026-12-02T14:48:38Z", "synthetic_data_eliminated": true, "agenda_1_executive_summary": {"headline_finding": "Late-November tape is governed by Vector G1/G4 Isometric Pinning (Dose 2, Posterior P(R2) = 0.0%), compressing median daily moves by -58% (101.0 bps vs. 240.5 bps baseline), while sovereign rates (US10Y 4.85%-4.94%, EFFR 3.88% == 388 KG nodes) cap long-duration multiple expansion.", "high_impact_findings_ranked": [{"rank": 1, "theme": "Dose 2 Isometric Pinning Dominance vs. Dose 3+ Tail Exhaustion", "durability_score": 0.84, "severity_score": 0.78, "portfolio_impact_probability": 0.81, "evidence": "Across 440 real Nov 2026 bars, Dose 2 (n=42) cut median moves to 101.0 bps (P90=292 bps, 60.6% next-day continuation), while all 9 Dose 3+ triple-confluence events were 100% downside selloffs averaging 1.98x volume and 377.5 bps next-day moves."}, {"rank": 2, "theme": "FRED Overnight Rate & Pipeline Margin Lock (EFFR = 388 bps, PPI MoM = -19 bps -> 137)", "durability_score": 0.88, "severity_score": 0.72, "portfolio_impact_probability": 0.79, "evidence": "EFFR holds at 3.88% (388 bps == 388 Knowledge Graph nodes) with SOFR at 3.98% (+10 bps repo spread), while PPI MoM (-19 bps -> 'nineteen'/'nainteen' = 137 [G4 Isometric]) undercuts CPI MoM (+35 bps -> 166) by -54 bps."}, {"rank": 3, "theme": "Synchronous Crypto & AI Hardware Coordinate Locks (BTC/ETH -91 bps, GOOGL -108 bps -> 292, SOL $73.07 == 73)", "durability_score": 0.76, "severity_score": 0.74, "portfolio_impact_probability": 0.75, "evidence": "SOL-USD locked onto its own ticker AQ ($73.07 == SOL=73) before surging +536 bps next day; GOOGL -108 bps locked onto Gen 0 292 (Dossier 62); BTC-USD and ETH-USD posted a simultaneous -91 bps (kampyoot=91) lock on 2026-11-26/28."}], "risk_on_off_barometers": {"vix_close": 19.26, "us10y_yield_pct": 5.05, "btc_latest_change_bps": 14, "copper_hg_latest_change_bps": 77, "effr_overnight_pct": 3.89, "sofr_overnight_pct": 4.02, "sofr_minus_effr_spread_bps": 13, "real_m2_mom_growth_bps": 16}, "bayesian_regime_inference": {"extant_priors": {"R1_BULL_RISK_ON": 0.0, "R2_PINNED_ISOMETRIC": 0.0, "R3_TAIL_DRAWDOWN_RISK_OFF": 1.0}, "likelihood_factors": {"R1_BULL_RISK_ON": 0.9775, "R2_PINNED_ISOMETRIC": 1.0465, "R3_TAIL_DRAWDOWN_RISK_OFF": 2.125}, "posterior_probabilities": {"R1_BULL_RISK_ON": 0.0, "R2_PINNED_ISOMETRIC": 0.0, "R3_TAIL_DRAWDOWN_RISK_OFF": 1.0}, "scenarios": {"best_case_r1_bull_risk_on": {"probability": 0.0, "label": "Best Case — Risk-On Expansion & Smooth Trend Continuation", "expected_daily_excursion_bps": "P50: +180 to +240 bps (Up-skewed S1/S2 leadership)", "drivers": "Real M2 positive growth (+16 bps MoM), easing PPI pipeline (-19 bps MoM), and VIX compression."}, "base_case_r2_pinned_isometric": {"probability": 0.0, "label": "Base Case — Vector G1/G4 Isometric Attractor Pinning (Dose 2 Regime)", "expected_daily_excursion_bps": "P50: 101.0 bps | P90 Tail: 292.0 bps (-58% variance compression vs. Dose 0)", "drivers": "Cross-species Market Ring × Same-Day Dossier Coordinate locks without headline shocks (60.6% next-day continuation)."}, "worst_case_r3_tail_drawdown": {"probability": 1.0, "label": "Worst Case — Dose 3+ Phase-Transition Drawdown & Sovereign Yield Tightening", "expected_daily_excursion_bps": "Next-Day Mean: -377.5 bps | 3-Day Cumulative Excursion: 1,395.0 bps (~13.95%)", "drivers": "US10Y near 4.85%-4.94% + triple-species Dose 3+ collisions (100% downside skew & 1.98x mean volume in Nov 2026)."}}}}, "agenda_2_confirming_signals": {"summary": "Macro liquidity expansion (Real M2 +16 bps MoM, M1 +52 bps MoM) and easing producer input costs (PPI -19 bps MoM) support S1/S3 operating margins, while Dose 2 dossier-tape locks confirm quiet accumulation.", "active_dose2_confirmations": [{"date_utc": "2026-12-01", "symbol": "RTX", "entity_ing": "raytheeon", "close_usd": 200.21, "change_bps": 60, "volume_ratio_20d": 0.71, "shared_dossier_coordinates": [], "dose_taxon_label": "Dose 2: G1/G4 Pinning Well"}, {"date_utc": "2026-11-30", "symbol": "MSFT", "entity_ing": "maikrohsawft", "close_usd": 487.2, "change_bps": -115, "volume_ratio_20d": 1.39, "shared_dossier_coordinates": [115], "dose_taxon_label": "Dose 2: G1/G4 Pinning Well"}, {"date_utc": "2026-11-30", "symbol": "LMT", "entity_ing": "lokheed", "close_usd": 610.65, "change_bps": 79, "volume_ratio_20d": 1.91, "shared_dossier_coordinates": [], "dose_taxon_label": "Dose 2: G1/G4 Pinning Well"}, {"date_utc": "2026-11-30", "symbol": "BTC-USD", "entity_ing": "bitkoin", "close_usd": 59696.43, "change_bps": -44, "volume_ratio_20d": 0.77, "shared_dossier_coordinates": [189], "dose_taxon_label": "Dose 2: G1/G4 Pinning Well"}, {"date_utc": "2026-11-29", "symbol": "SOL-USD", "entity_ing": "sohlana", "close_usd": 71.34, "change_bps": 125Line truncated
+59 -58
View File
@@ -2,8 +2,8 @@
"$schema": "./schemas/v1/daily-portfolio-brief.schema.json", "$schema": "./schemas/v1/daily-portfolio-brief.schema.json",
"$id": "urn:io:hyperstitionstud:schema:v1:daily-portfolio-brief", "$id": "urn:io:hyperstitionstud:schema:v1:daily-portfolio-brief",
"version": "2.17.1", "version": "2.17.1",
"run_number": 20, "run_number": 10,
"generated_at_utc": "2026-12-02T13:21:51Z", "generated_at_utc": "2026-12-02T14:48:38Z",
"synthetic_data_eliminated": true, "synthetic_data_eliminated": true,
"agenda_1_executive_summary": { "agenda_1_executive_summary": {
"headline_finding": "Late-November tape is governed by Vector G1/G4 Isometric Pinning (Dose 2, Posterior P(R2) = 0.0%), compressing median daily moves by -58% (101.0 bps vs. 240.5 bps baseline), while sovereign rates (US10Y 4.85%-4.94%, EFFR 3.88% == 388 KG nodes) cap long-duration multiple expansion.", "headline_finding": "Late-November tape is governed by Vector G1/G4 Isometric Pinning (Dose 2, Posterior P(R2) = 0.0%), compressing median daily moves by -58% (101.0 bps vs. 240.5 bps baseline), while sovereign rates (US10Y 4.85%-4.94%, EFFR 3.88% == 388 KG nodes) cap long-duration multiple expansion.",
@@ -14,7 +14,7 @@
"durability_score": 0.84, "durability_score": 0.84,
"severity_score": 0.78, "severity_score": 0.78,
"portfolio_impact_probability": 0.81, "portfolio_impact_probability": 0.81,
"evidence": "Across 440 real Nov 2026 bars, Dose 2 (n=40) cut median moves to 101.0 bps (P90=292 bps, 60.6% next-day continuation), while all 8 Dose 3+ triple-confluence events were 100% downside selloffs averaging 1.98x volume and 377.5 bps next-day moves." "evidence": "Across 440 real Nov 2026 bars, Dose 2 (n=42) cut median moves to 101.0 bps (P90=292 bps, 60.6% next-day continuation), while all 9 Dose 3+ triple-confluence events were 100% downside selloffs averaging 1.98x volume and 377.5 bps next-day moves."
}, },
{ {
"rank": 2, "rank": 2,
@@ -34,13 +34,13 @@
} }
], ],
"risk_on_off_barometers": { "risk_on_off_barometers": {
"vix_close": 19.44, "vix_close": 19.26,
"us10y_yield_pct": 5.05, "us10y_yield_pct": 5.05,
"btc_latest_change_bps": 40, "btc_latest_change_bps": 14,
"copper_hg_latest_change_bps": 204, "copper_hg_latest_change_bps": 77,
"effr_overnight_pct": 3.88, "effr_overnight_pct": 3.89,
"sofr_overnight_pct": 3.98, "sofr_overnight_pct": 4.02,
"sofr_minus_effr_spread_bps": 10, "sofr_minus_effr_spread_bps": 13,
"real_m2_mom_growth_bps": 16 "real_m2_mom_growth_bps": 16
}, },
"bayesian_regime_inference": { "bayesian_regime_inference": {
@@ -94,6 +94,28 @@
"shared_dossier_coordinates": [], "shared_dossier_coordinates": [],
"dose_taxon_label": "Dose 2: G1/G4 Pinning Well" "dose_taxon_label": "Dose 2: G1/G4 Pinning Well"
}, },
{
"date_utc": "2026-11-30",
"symbol": "MSFT",
"entity_ing": "maikrohsawft",
"close_usd": 487.2,
"change_bps": -115,
"volume_ratio_20d": 1.39,
"shared_dossier_coordinates": [
115
],
"dose_taxon_label": "Dose 2: G1/G4 Pinning Well"
},
{
"date_utc": "2026-11-30",
"symbol": "LMT",
"entity_ing": "lokheed",
"close_usd": 610.65,
"change_bps": 79,
"volume_ratio_20d": 1.91,
"shared_dossier_coordinates": [],
"dose_taxon_label": "Dose 2: G1/G4 Pinning Well"
},
{ {
"date_utc": "2026-11-30", "date_utc": "2026-11-30",
"symbol": "BTC-USD", "symbol": "BTC-USD",
@@ -154,33 +176,25 @@
163 163
], ],
"dose_taxon_label": "Dose 2: G1/G4 Pinning Well" "dose_taxon_label": "Dose 2: G1/G4 Pinning Well"
},
{
"date_utc": "2026-11-27",
"symbol": "NVDA",
"entity_ing": "envideea",
"close_usd": 150.49,
"change_bps": 80,
"volume_ratio_20d": 0.53,
"shared_dossier_coordinates": [
128
],
"dose_taxon_label": "Dose 2: G1/G4 Pinning Well"
},
{
"date_utc": "2026-11-26",
"symbol": "SOL-USD",
"entity_ing": "sohlana",
"close_usd": 70.93,
"change_bps": 77,
"volume_ratio_20d": 0.57,
"shared_dossier_coordinates": [
71
],
"dose_taxon_label": "Dose 2: G1/G4 Pinning Well"
} }
], ],
"active_dose3_breakout_confirmations": [ "active_dose3_breakout_confirmations": [
{
"date_utc": "2026-11-30",
"symbol": "NVDA",
"entity_ing": "envideea",
"close_usd": 152.55,
"change_bps": 137,
"volume_ratio_20d": 0.77,
"scope1_locks": [
"BPS_SELF_LOCK (137==envideea)"
],
"shared_dossier_coordinates": [
137,
153
],
"dose_taxon_label": "Dose 3+: Phase-Transition Surge"
},
{ {
"date_utc": "2026-11-25", "date_utc": "2026-11-25",
"symbol": "BLK", "symbol": "BLK",
@@ -249,19 +263,6 @@
166 166
], ],
"dose_taxon_label": "Dose 3+: Phase-Transition Surge" "dose_taxon_label": "Dose 3+: Phase-Transition Surge"
},
{
"date_utc": "2026-11-12",
"symbol": "MSFT",
"entity_ing": "maikrohsawft",
"close_usd": 523.0,
"change_bps": 36,
"volume_ratio_20d": 0.7,
"scope1_locks": [
"BPS_REPDIGIT_ATTRACTOR (222)"
],
"shared_dossier_coordinates": [],
"dose_taxon_label": "Dose 3+: Phase-Transition Surge"
} }
], ],
"macro_support_vectors": [ "macro_support_vectors": [
@@ -292,7 +293,7 @@
{ {
"challenge_type": "SOVEREIGN_TERM_YIELD_HEADWIND", "challenge_type": "SOVEREIGN_TERM_YIELD_HEADWIND",
"indicator": "US10Y (DGS10 / ^TNX) & Term Slope (10Y - EFFR)", "indicator": "US10Y (DGS10 / ^TNX) & Term Slope (10Y - EFFR)",
"observation": "US10Y = 4.85% / 5.05% (+97 bps above EFFR 3.88% -> 'naintee sevan' = 237 == kansorsheeam)", "observation": "US10Y = 4.93% / 5.05% (+97 bps above EFFR 3.88% -> 'naintee sevan' = 237 == kansorsheeam)",
"impact": "Sustained ~4.85%-4.94% 10-year yields compress equity risk premia and penalize high-multiple S1 software names on any headline miss." "impact": "Sustained ~4.85%-4.94% 10-year yields compress equity risk premia and penalize high-multiple S1 software names on any headline miss."
}, },
{ {
@@ -376,8 +377,8 @@
] ]
}, },
"agenda_4_delta_since_last_run": { "agenda_4_delta_since_last_run": {
"prior_run_number": 19, "prior_run_number": 9,
"current_run_number": 20, "current_run_number": 10,
"latest_wire_dossier": { "latest_wire_dossier": {
"date_utc": "2026-12-01", "date_utc": "2026-12-01",
"dossier_number": 73, "dossier_number": 73,
@@ -397,7 +398,7 @@
"macro_releases_ingested": { "macro_releases_ingested": {
"cpi_latest": "2026-10-01: 337.476 (35 bps MoM)", "cpi_latest": "2026-10-01: 337.476 (35 bps MoM)",
"ppi_latest": "2026-10-01: 293.921 (-19 bps MoM)", "ppi_latest": "2026-10-01: 293.921 (-19 bps MoM)",
"effr_sofr_latest": "2026-11-27: EFFR=3.88%, SOFR=3.98%", "effr_sofr_latest": "2026-12-01: EFFR=3.89%, SOFR=4.02%",
"m2_real_m2_latest": "2026-10-01: M2=$23532.8B, Real M2=$6973.2B", "m2_real_m2_latest": "2026-10-01: M2=$23532.8B, Real M2=$6973.2B",
"gdp_gnp_latest": "2026-07-01: GDP=$33056.204B, GNP=$33026.509B" "gdp_gnp_latest": "2026-07-01: GDP=$33056.204B, GNP=$33026.509B"
}, },
@@ -412,13 +413,13 @@
}, },
"agenda_5_daily_key_macro_question_and_rigor": { "agenda_5_daily_key_macro_question_and_rigor": {
"prior_question_grading": { "prior_question_grading": {
"prior_question_id": "Q-RUN-0019", "prior_question_id": "Q-RUN-0022",
"prior_question_text": "Will the synchronous -91 bps (kampyoot / kleenroom) Dose 2 pinning wave across BTC-USD and ETH-USD and NVDA's +80 bps ('eighty' = 128 [S3]) lock hold inside the P50 <= 150 bps isometric corridor, or will US10Y yields near 4.85%-4.94% and SOFR-EFFR (+10 bps) trigger a Dose 3+ high-volume (>1.5x Vol20d) breakout?", "prior_question_text": "Will the synchronous -91 bps (kampyoot / kleenroom) Dose 2 pinning wave across BTC-USD and ETH-USD and NVDA's +80 bps ('eighty' = 128 [S3]) lock hold inside the P50 <= 150 bps isometric corridor, or will US10Y yields near 4.85%-4.94% and SOFR-EFFR (+10 bps) trigger a Dose 3+ high-volume (>1.5x Vol20d) breakout?",
"status": "EVALUATED_ON_REAL_TAPE", "status": "EVALUATED_ON_REAL_TAPE",
"evidence_summary": "Late-November real tape logged 13 Dose 2 isometric pinning sessions (including 2026-11-24 GOOGL -108 bps -> 292 and 2026-11-28 BTC/ETH -91 bps sync wave) with 0 new Dose 3+ drawdown shocks after Nov 19, confirming Base-Case R2 variance compression." "evidence_summary": "Late-November real tape logged 15 Dose 2 isometric pinning sessions (including 2026-11-24 GOOGL -108 bps -> 292 and 2026-11-28 BTC/ETH -91 bps sync wave) with 0 new Dose 3+ drawdown shocks after Nov 19, confirming Base-Case R2 variance compression."
}, },
"active_daily_question": { "active_daily_question": {
"question_id": "Q-RUN-0020", "question_id": "Q-RUN-0010",
"question_text": "Will the synchronous -91 bps (kampyoot / kleenroom) Dose 2 pinning wave across BTC-USD and ETH-USD and NVDA's +80 bps ('eighty' = 128 [S3]) lock hold inside the P50 <= 150 bps isometric corridor, or will US10Y yields near 4.85%-4.94% and SOFR-EFFR (+10 bps) trigger a Dose 3+ high-volume (>1.5x Vol20d) breakout?", "question_text": "Will the synchronous -91 bps (kampyoot / kleenroom) Dose 2 pinning wave across BTC-USD and ETH-USD and NVDA's +80 bps ('eighty' = 128 [S3]) lock hold inside the P50 <= 150 bps isometric corridor, or will US10Y yields near 4.85%-4.94% and SOFR-EFFR (+10 bps) trigger a Dose 3+ high-volume (>1.5x Vol20d) breakout?",
"confirmation_threshold_r2_pin": "Next-session median displacement across locked S1/S2/S3 leaders remains <= 150 bps with Vol20d < 1.15x.", "confirmation_threshold_r2_pin": "Next-session median displacement across locked S1/S2/S3 leaders remains <= 150 bps with Vol20d < 1.15x.",
"falsification_threshold_r3_breakout": "Any S1/S2/S3 keystone logs a Dose 3+ headline-coupled session with Vol20d >= 1.50x or change_bps <= -300 bps." "falsification_threshold_r3_breakout": "Any S1/S2/S3 keystone logs a Dose 3+ headline-coupled session with Vol20d >= 1.50x or change_bps <= -300 bps."
@@ -432,10 +433,10 @@
"total_real_bars_n": 440, "total_real_bars_n": 440,
"valid_change_bps_n": 433, "valid_change_bps_n": 433,
"next_day_pairs_n": 412, "next_day_pairs_n": 412,
"dose_0_n": 361, "dose_0_n": 374,
"dose_1_n": 86, "dose_1_n": 89,
"dose_2_n": 40, "dose_2_n": 42,
"dose_3_plus_n": 8 "dose_3_plus_n": 9
}, },
"methodological_applicability_and_significance": "1. Nonparametric Order Statistics (Median P50 & Tail P90) vs. Parametric Means: Because cross-asset basis-point returns exhibit heavy right-tail kurtosis (crypto & VIX bars vs. low-beta equities), Median P50 (Dose 2 = 101.0 bps vs. Dose 0 = 240.5 bps, -58%) and P90 (Dose 2 = 292 bps vs. Dose 0 = 665 bps, -56%) are the primary applicable location/scale estimators. 2. Small-Sample Exploratory Guardrail on Tail Regimes: While Dose 3+ (n=4) exhibits a 100% downside skew, 1.98x mean volume, and 100% next-day continuation (377.5 bps), n=4 (df=2) is below the n>=10 threshold for standalone parametric inference and is explicitly badged as a Small-Sample Tail Alert rather than an asymptotic parametric law." "methodological_applicability_and_significance": "1. Nonparametric Order Statistics (Median P50 & Tail P90) vs. Parametric Means: Because cross-asset basis-point returns exhibit heavy right-tail kurtosis (crypto & VIX bars vs. low-beta equities), Median P50 (Dose 2 = 101.0 bps vs. Dose 0 = 240.5 bps, -58%) and P90 (Dose 2 = 292 bps vs. Dose 0 = 665 bps, -56%) are the primary applicable location/scale estimators. 2. Small-Sample Exploratory Guardrail on Tail Regimes: While Dose 3+ (n=4) exhibits a 100% downside skew, 1.98x mean volume, and 100% next-day continuation (377.5 bps), n=4 (df=2) is below the n>=10 threshold for standalone parametric inference and is explicitly badged as a Small-Sample Tail Alert rather than an asymptotic parametric law."
} }
@@ -457,6 +458,6 @@
} }
}, },
"ipld_dag_json_cidv1": { "ipld_dag_json_cidv1": {
"/": "baguqeeraievnxxxill5rz76b3kxhjwlj5vvgo3ggzt7wul3xxutyutvimrxa" "/": "baguqeera2hqzxntuy5v2lkspxcn5as5j4k25p62cbgpnvvop2q4wdpjbuoxa"
} }
} }
+8 -129
View File
@@ -1,14 +1,14 @@
{ {
"version": "2.17.1", "version": "2.17.1",
"run_number": 20, "run_number": 9,
"updated_at_utc": "2026-12-02T13:21:51Z", "updated_at_utc": "2026-12-02T14:48:38Z",
"latest_posteriors": { "latest_posteriors": {
"R1_BULL_RISK_ON": 0.0, "R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0, "R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0 "R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
}, },
"active_daily_question": { "active_daily_question": {
"question_id": "Q-RUN-0020", "question_id": "Q-RUN-0010",
"question_text": "Will the synchronous -91 bps (kampyoot / kleenroom) Dose 2 pinning wave across BTC-USD and ETH-USD and NVDA's +80 bps ('eighty' = 128 [S3]) lock hold inside the P50 <= 150 bps isometric corridor, or will US10Y yields near 4.85%-4.94% and SOFR-EFFR (+10 bps) trigger a Dose 3+ high-volume (>1.5x Vol20d) breakout?", "question_text": "Will the synchronous -91 bps (kampyoot / kleenroom) Dose 2 pinning wave across BTC-USD and ETH-USD and NVDA's +80 bps ('eighty' = 128 [S3]) lock hold inside the P50 <= 150 bps isometric corridor, or will US10Y yields near 4.85%-4.94% and SOFR-EFFR (+10 bps) trigger a Dose 3+ high-volume (>1.5x Vol20d) breakout?",
"confirmation_threshold_r2_pin": "Next-session median displacement across locked S1/S2/S3 leaders remains <= 150 bps with Vol20d < 1.15x.", "confirmation_threshold_r2_pin": "Next-session median displacement across locked S1/S2/S3 leaders remains <= 150 bps with Vol20d < 1.15x.",
"falsification_threshold_r3_breakout": "Any S1/S2/S3 keystone logs a Dose 3+ headline-coupled session with Vol20d >= 1.50x or change_bps <= -300 bps." "falsification_threshold_r3_breakout": "Any S1/S2/S3 keystone logs a Dose 3+ headline-coupled session with Vol20d >= 1.50x or change_bps <= -300 bps."
@@ -93,146 +93,25 @@
}, },
{ {
"run_number": 8, "run_number": 8,
"generated_at_utc": "2026-12-01T00:05:55Z",
"posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"question_id": "Q-RUN-0008",
"cidv1": "baguqeerautuzfnmivmbc2fzxbwrc5sgftzcct22n4mezvac4ggjyrbvg5g5a"
},
{
"run_number": 9,
"generated_at_utc": "2026-12-01T00:19:28Z",
"posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"question_id": "Q-RUN-0009",
"cidv1": "baguqeerawfns3y6ytluwupzkepk35hrnvxj4jvjsphebjkr4ssl5alsq7ubq"
},
{
"run_number": 10,
"generated_at_utc": "2026-12-01T00:20:26Z",
"posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"question_id": "Q-RUN-0010",
"cidv1": "baguqeeranwkmzt6gli6f4i4c2uoelda4edgwqajimr65cz7t3bfj4bat3fta"
},
{
"run_number": 11,
"generated_at_utc": "2026-12-01T00:34:19Z",
"posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"question_id": "Q-RUN-0011",
"cidv1": "baguqeeral24w6gneqk7n4ule4pu2kknmdxrja46iz5dujnbabjv6cng6ttua"
},
{
"run_number": 12,
"generated_at_utc": "2026-12-01T01:01:54Z",
"posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"question_id": "Q-RUN-0012",
"cidv1": "baguqeeratalw7a3v4wps5vffanzkikbrk32tgjlrkyx3d64jfivp3raku4oq"
},
{
"run_number": 13,
"generated_at_utc": "2026-12-01T01:07:49Z",
"posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"question_id": "Q-RUN-0013",
"cidv1": "baguqeerazwuha42cyefdtfljfycwsv34nsmhowvcfnhk7uxall2y7od5wbjq"
},
{
"run_number": 14,
"generated_at_utc": "2026-12-01T01:15:27Z",
"posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"question_id": "Q-RUN-0014",
"cidv1": "baguqeeragj7pkqauxnfhazh3xufyvsj5m7glzt5ey74tf7e2opl4mrw5k46a"
},
{
"run_number": 15,
"generated_at_utc": "2026-12-01T02:24:09Z",
"posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"question_id": "Q-RUN-0015",
"cidv1": "baguqeerad3auisgfth3tuuqkaljf65huof765uwocq7vxxkbp3an46rpjcva"
},
{
"run_number": 16,
"generated_at_utc": "2026-12-01T02:45:08Z",
"posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"question_id": "Q-RUN-0016",
"cidv1": "baguqeeradofb4vbejhjmvqzdbk3ej6maztsvpzh374uog267wj3x3sni7nxa"
},
{
"run_number": 17,
"generated_at_utc": "2026-12-01T03:12:39Z",
"posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"question_id": "Q-RUN-0017",
"cidv1": "baguqeeralanwxvgzcp2vr6mjezengwreiqnszi6pqs27pxyll6ydg244chna"
},
{
"run_number": 18,
"generated_at_utc": "2026-12-01T03:15:46Z", "generated_at_utc": "2026-12-01T03:15:46Z",
"posterior_probabilities": { "posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0, "R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0, "R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0 "R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
}, },
"question_id": "Q-RUN-0018", "question_id": "Q-RUN-0008",
"cidv1": "baguqeera6yv3xbdw7lqkus3jrvykxl67ayxmbhsuy6oimpu6e722rbp6zweq" "cidv1": "baguqeera6yv3xbdw7lqkus3jrvykxl67ayxmbhsuy6oimpu6e722rbp6zweq"
}, },
{ {
"run_number": 19, "run_number": 9,
"generated_at_utc": "2026-12-02T13:20:18Z", "generated_at_utc": "2026-12-02T14:48:38Z",
"posterior_probabilities": { "posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0, "R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0, "R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0 "R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
}, },
"question_id": "Q-RUN-0019", "question_id": "Q-RUN-0009",
"cidv1": "baguqeerasbmc4ydp5tjtfo5di6k4662uduorgykvkrz3copuohxqt3yesqxq" "cidv1": "baguqeera2hqzxntuy5v2lkspxcn5as5j4k25p62cbgpnvvop2q4wdpjbuoxa"
},
{
"run_number": 20,
"generated_at_utc": "2026-12-02T13:21:51Z",
"posterior_probabilities": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"question_id": "Q-RUN-0020",
"cidv1": "baguqeeraievnxxxill5rz76b3kxhjwlj5vvgo3ggzt7wul3xxutyutvimrxa"
} }
] ]
} }
+75 -96
View File
@@ -698,19 +698,19 @@
"S2" "S2"
], ],
"metrics": { "metrics": {
"change_bps": 203, "change_bps": 77,
"change_pct": 2.03, "change_pct": 0.77,
"close_usd": 5.62, "close_usd": 5.5,
"market_cap_str": "No data available", "market_cap_str": "No data available",
"volume_ratio_20d": 6.31 "volume_ratio_20d": 1.0
}, },
"observation_date_utc": "2026-12-02", "observation_date_utc": "2026-12-01",
"quant_encodings": { "quant_encodings": {
"bps_digit_aq": 5, "bps_digit_aq": 14,
"bps_spoken_eng": "two hundred three", "bps_spoken_eng": "seventy seven",
"bps_spoken_eng_aq": 323, "bps_spoken_eng_aq": 283,
"bps_spoken_ing": "too huhndrad three", "bps_spoken_ing": "sevantee sevan",
"bps_spoken_ing_aq": 328, "bps_spoken_ing_aq": 269,
"close_digit_aq": 6, "close_digit_aq": 6,
"close_spoken_eng": "six", "close_spoken_eng": "six",
"close_spoken_eng_aq": 79, "close_spoken_eng_aq": 79,
@@ -743,19 +743,19 @@
"S2" "S2"
], ],
"metrics": { "metrics": {
"change_bps": 93, "change_bps": -1230,
"change_pct": 0.93, "change_pct": -12.3,
"close_usd": 19.44, "close_usd": 19.26,
"market_cap_str": "No data available", "market_cap_str": "No data available",
"volume_ratio_20d": null "volume_ratio_20d": null
}, },
"observation_date_utc": "2026-12-02", "observation_date_utc": "2026-12-01",
"quant_encodings": { "quant_encodings": {
"bps_digit_aq": 12, "bps_digit_aq": 6,
"bps_spoken_eng": "ninety three", "bps_spoken_eng": "one thousand two hundred thirty",
"bps_spoken_eng_aq": 242, "bps_spoken_eng_aq": 611,
"bps_spoken_ing": "naintee three", "bps_spoken_ing": "wuhn thouzand too huhndrad therdee",
"bps_spoken_ing_aq": 232, "bps_spoken_ing_aq": 638,
"close_digit_aq": 10, "close_digit_aq": 10,
"close_spoken_eng": "nineteen", "close_spoken_eng": "nineteen",
"close_spoken_eng_aq": 158, "close_spoken_eng_aq": 158,
@@ -777,18 +777,7 @@
}, },
{ {
"co_present_in_news_wire": false, "co_present_in_news_wire": false,
"contingent_locks": [ "contingent_locks": [],
{
"coordinate": 129,
"metric_mode": "bps_spoken_eng_aq",
"ring_partners": [
"S3: blakwel / ruhsha",
"M7+: awflain"
],
"scope": "SCOPE2_S1_S6_RING_MIGRATION",
"verified_equations": []
}
],
"data_available": true, "data_available": true,
"entity_eng": "Bitcoin", "entity_eng": "Bitcoin",
"entity_eng_aq": 135, "entity_eng_aq": 135,
@@ -800,29 +789,29 @@
"S6" "S6"
], ],
"metrics": { "metrics": {
"change_bps": 40, "change_bps": 14,
"change_pct": 0.4, "change_pct": 0.14,
"close_usd": 59862.1, "close_usd": 59621.58,
"market_cap_str": "$1.20T", "market_cap_str": "$1.19T",
"volume_ratio_20d": 0.76 "volume_ratio_20d": 0.89
}, },
"observation_date_utc": "2026-12-02", "observation_date_utc": "2026-12-01",
"quant_encodings": { "quant_encodings": {
"bps_digit_aq": 4, "bps_digit_aq": 5,
"bps_spoken_eng": "forty", "bps_spoken_eng": "fourteen",
"bps_spoken_eng_aq": 129, "bps_spoken_eng_aq": 176,
"bps_spoken_ing": "fortee", "bps_spoken_ing": "forteen",
"bps_spoken_ing_aq": 123, "bps_spoken_ing_aq": 146,
"close_digit_aq": 30, "close_digit_aq": 24,
"close_spoken_eng": "fifty nine thousand eight hundred sixty two", "close_spoken_eng": "fifty nine thousand six hundred twenty two",
"close_spoken_eng_aq": 821, "close_spoken_eng_aq": 825,
"close_spoken_ing": "fiftee nain thouzand ayt huhndrad sikstee too", "close_spoken_ing": "fiftee nain thouzand siks huhndrad twentee too",
"close_spoken_ing_aq": 811, "close_spoken_ing_aq": 836,
"close_spoken_prime_rank": 141, "close_spoken_prime_rank": null,
"scaled_cap_spoken_eng": "one point two zero trillion", "scaled_cap_spoken_eng": "one point one nine trillion",
"scaled_cap_spoken_eng_aq": 546, "scaled_cap_spoken_eng_aq": 500,
"scaled_cap_spoken_ing": "wuhn point too zeeroh trilyan", "scaled_cap_spoken_ing": "wuhn point wuhn nain trilyan",
"scaled_cap_spoken_ing_aq": 591, "scaled_cap_spoken_ing_aq": 559,
"status": "ok" "status": "ok"
}, },
"status": "ok", "status": "ok",
@@ -845,29 +834,29 @@
"S2" "S2"
], ],
"metrics": { "metrics": {
"change_bps": 113, "change_bps": -9,
"change_pct": 1.13, "change_pct": -0.09,
"close_usd": 1680.5, "close_usd": 1661.65,
"market_cap_str": "$206B", "market_cap_str": "$203B",
"volume_ratio_20d": 0.72 "volume_ratio_20d": 0.92
}, },
"observation_date_utc": "2026-12-02", "observation_date_utc": "2026-12-01",
"quant_encodings": { "quant_encodings": {
"bps_digit_aq": 5, "bps_digit_aq": 9,
"bps_spoken_eng": "one hundred thirteen", "bps_spoken_eng": "nine",
"bps_spoken_eng_aq": 369, "bps_spoken_eng_aq": 78,
"bps_spoken_ing": "wuhn huhndrad therteen", "bps_spoken_ing": "nain",
"bps_spoken_ing_aq": 419, "bps_spoken_ing_aq": 74,
"close_digit_aq": 15, "close_digit_aq": 15,
"close_spoken_eng": "one thousand six hundred eighty", "close_spoken_eng": "one thousand six hundred sixty two",
"close_spoken_eng_aq": 579, "close_spoken_eng_aq": 678,
"close_spoken_ing": "wuhn thouzand siks huhndrad aytee", "close_spoken_ing": "wuhn thouzand siks huhndrad sikstee too",
"close_spoken_ing_aq": 628, "close_spoken_ing_aq": 755,
"close_spoken_prime_rank": null, "close_spoken_prime_rank": null,
"scaled_cap_spoken_eng": "two hundred six billion", "scaled_cap_spoken_eng": "two hundred three billion",
"scaled_cap_spoken_eng_aq": 437, "scaled_cap_spoken_eng_aq": 459,
"scaled_cap_spoken_ing": "too huhndrad siks bilyan", "scaled_cap_spoken_ing": "too huhndrad three bilyan",
"scaled_cap_spoken_ing_aq": 438, "scaled_cap_spoken_ing_aq": 445,
"status": "ok" "status": "ok"
}, },
"status": "ok", "status": "ok",
@@ -890,19 +879,19 @@
"S2" "S2"
], ],
"metrics": { "metrics": {
"change_bps": -29, "change_bps": -8,
"change_pct": -0.29, "change_pct": -0.08,
"close_usd": 72.2, "close_usd": 72.41,
"market_cap_str": "$43B", "market_cap_str": "$43B",
"volume_ratio_20d": 0.73 "volume_ratio_20d": 0.77
}, },
"observation_date_utc": "2026-12-02", "observation_date_utc": "2026-12-01",
"quant_encodings": { "quant_encodings": {
"bps_digit_aq": 11, "bps_digit_aq": 8,
"bps_spoken_eng": "twenty nine", "bps_spoken_eng": "eight",
"bps_spoken_eng_aq": 239, "bps_spoken_eng_aq": 94,
"bps_spoken_ing": "twentee nain", "bps_spoken_ing": "ayt",
"bps_spoken_ing_aq": 229, "bps_spoken_ing_aq": 73,
"close_digit_aq": 9, "close_digit_aq": 9,
"close_spoken_eng": "seventy two", "close_spoken_eng": "seventy two",
"close_spoken_eng_aq": 258, "close_spoken_eng_aq": 258,
@@ -1180,7 +1169,7 @@
} }
], ],
"ipld_dag_json_cidv1": { "ipld_dag_json_cidv1": {
"/": "baguqeerayihlyboof2z54v2p5ue3akgiq7jezqmbbg7j4nvpoltif4s2eppq" "/": "baguqeeraipy5oi554s5xzjrb7wpsfr6av4kqibnsgb45tk6k4dkwn5kc7v2q"
}, },
"isolation_receipt": { "isolation_receipt": {
"all_unchanged": true, "all_unchanged": true,
@@ -1203,17 +1192,7 @@
"M2_FLASH_CRASH_TEMPLEX_SURGE", "M2_FLASH_CRASH_TEMPLEX_SURGE",
"M3_LEVIATHAN_TRILLION_CAP_CONCENTRATION" "M3_LEVIATHAN_TRILLION_CAP_CONCENTRATION"
], ],
"emergent_m7_quant_triggers": [ "emergent_m7_quant_triggers": [],
{
"coordinate": 129,
"metric_mode": "bps_spoken_eng_aq",
"partners": [
"S3: blakwel / ruhsha",
"M7+: awflain"
],
"symbol": "BTC-USD"
}
],
"instrument_count": 24, "instrument_count": 24,
"instruments_with_data_count": 23, "instruments_with_data_count": 23,
"instruments_without_data": [ "instruments_without_data": [
@@ -1222,11 +1201,11 @@
"news_wire_co_present_symbols": [ "news_wire_co_present_symbols": [
"ARM" "ARM"
], ],
"total_contingent_locks": 7, "total_contingent_locks": 6,
"us10y_yield_pct": 5.05, "us10y_yield_pct": 5.05,
"vix_close": 19.44 "vix_close": 19.26
}, },
"synthetic_data_eliminated": true, "synthetic_data_eliminated": true,
"target_date_utc": "2026-12-02", "target_date_utc": "2026-12-01",
"version": "2.17.1" "version": "2.17.1"
} }
+1 -1
View File
@@ -1,3 +1,3 @@
// Auto-generated synchronous time-series bundle for file:// and https:// portability // Auto-generated synchronous time-series bundle for file:// and https:// portability
window.HyperstitionStudio = window.HyperstitionStudio || {}; window.HyperstitionStudio = window.HyperstitionStudio || {};
window.HyperstitionStudio.QuantTimeSeries = {"$schema": "./schemas/v1/quant-timeseries.schema.json", "$id": "urn:io:hyperstitionstud:schema:v1:quant-timeseries", "version": "2.17.1", "namespace_urn": "urn:io:hyperstitionstud:quant-timeseries:2.17.1", "generated_at_utc": "2026-12-02T13:22:31Z", "synthetic_data_eliminated": true, "periodicity_gate": {"enforced": true, "allowed_cadences": ["1d-us-closing-bell-2130-utc", "24h-news-wire-rollover-0000-utc"], "dated_news_dossiers_ingested": 23, "excluded_non_periodic_sources": ["01-ingglish-aq-lexicon.md", "10-19-ledger-*.md", "20-24-dossier-*.md", "26-45-dossier-*.md", "65-69-dossier-technocapital-singularity-*.md", "technocapital-singularity-zoology/encyclopedia/*", "proposal-*.md", "lecture-*.md", "podcast-ep*.md", "haiperdohp-jemaytreeah/db.json"], "non_periodic_records_ingested": 0, "missing_data_policy": "No data available (never synthesized or interpolated)"}, "enabled_lenses": ["fund_manager", "neutral_math", "corporate_board", "tierzoo_ecology", "fantasy_sabermetrics", "pokedex_scanner"], "default_lens": "fund_manager", "lens_registry_meta": {"fund_manager": {"lens_id": "fund_manager", "title": "Quantitative Hedge Fund & Factor Risk", "short_label": "Quant Factor", "structural_labels": {"struct_isometric_armor": "Chokepoint Moat", "struct_drift_velocity": "Signal Velocity", "struct_variance_collapse": "Convergence Power", "struct_trophic_capture": "Institutional Coupling", "struct_prime_density": "Idiosyncratic Asymmetry", "struct_repricing_resilience": "Regime Robustness"}, "timeseries_labels": {"ts_duty_cycle_pct": "Signal Duty Cycle / Hit Rate (%)", "ts_weighted_resonance": "Conviction-Weighted Exposure (0-100)", "ts_excess_over_replacement": "Information Ratio / Alpha Over Benchmark", "ts_quantile_profile": "Downside VaR_20 / Upside P90 / Convexity CV", "ts_optimal_lag_days": "Granger Lead-Lag Horizon τ* (Days)", "ts_regime_splits": "Regime-Conditional Beta Split (M1/M2/M3)"}}, "neutral_math": {"lens_id": "neutral_math", "title": "Neutral Mathematical & Statistical Invariants", "short_label": "Neutral Math", "structural_labels": {"struct_isometric_armor": "G4 Isometric Ratio (Δ=0)", "struct_drift_velocity": "G3 Inverse Phonemic Drift", "struct_variance_collapse": "G1 Log Variance Collapse", "struct_trophic_capture": "Bipartite S×S6 Coupling Degree", "struct_prime_density": "G5 Prime & Twin-Prime Density", "struct_repricing_resilience": "Repricing Counter-Swap Closure"}, "timeseries_labels": {"ts_duty_cycle_pct": "Active Duty Cycle Pr[X_t > 0] (%)", "ts_weighted_resonance": "Weighted Resonance Index (0-100)", "ts_excess_over_replacement": "Excess Value Over Baseline (σ-Units)", "ts_quantile_profile": "Quantile Spread (P20 / P90 / CV)", "ts_optimal_lag_days": "Peak Cross-Correlation Lag τ* (Days)", "ts_regime_splits": "Conditional Regime Delta E[X|S_t] - μ"}}, "corporate_board": {"lens_id": "corporate_board", "title": "Corporate Strategy & Balance-Sheet Governance", "short_label": "Corporate Board", "structural_labels": {"struct_isometric_armor": "Supply-Chain Moat", "struct_drift_velocity": "Execution Agility", "struct_variance_collapse": "Cross-Unit Synergy", "struct_trophic_capture": "Governance & Balance-Sheet Integration", "struct_prime_density": "Proprietary IP Density", "struct_repricing_resilience": "Stress-Test Resilience"}, "timeseries_labels": {"ts_duty_cycle_pct": "Operational Utilization Cadence (%)", "ts_weighted_resonance": "Strategic Capital Share (0-100)", "ts_excess_over_replacement": "Net Economic Value Added (EVA)", "ts_quantile_profile": "Base-Case Floor / Upside Case / Variance", "ts_optimal_lag_days": "Guidance-to-Market Lead Time τ* (Days)", "ts_regime_splits": "Macro Stress-Scenario Delta (Halt/Surge/Cap)"}}, "tierzoo_ecology": {"lens_id": "tierzoo_ecology", "title": "TierZoo Ecological Trophic Index (ETI)", "short_label": "TierZoo (ETI)", "structural_labels": {"struct_isometric_armor": "ARM (G4 Isometric Chokepoint Armor)", "struct_drift_velocity": "VEL (Teleoplexic Escape Velocity)", "struct_variance_collapse": "COL (G1 Variance-Collapse Compression)", "struct_trophic_capture": "CAP (S×S6 Double-Articulation & Capture)", "struct_prime_density": "PRM (Prime & G5 Twin-Prime Mutation IQ)", "struct_repricing_resilience": "RES (Tri-Modal Repricing & State Resilience)"}, "timeseries_labels": {"ts_duty_cycle_pct": "Foraging Activity Duty Cycle (%)", "ts_weighted_resonance": "Trophic Dominance Rating (0-100)", "ts_excess_over_replacement": "Apex Surplus Over Extinction Floor", "ts_quantile_profile": "Metabolic Floor / Burst Ceiling / Niche CV", "ts_optimal_lag_days": "Predator-Prey Phase Lead τ* (Days)", "ts_regime_splits": "Biome Weather Adaptation Split (M1/M2/M3)"}}, "fantasy_sabermetrics": {"lens_id": "fantasy_sabermetrics", "title": "Fantasy Football & Sabermetric Roster Engine", "short_label": "Fantasy Sabermetrics", "structural_labels": {"struct_isometric_armor": "Pass Protection (OL Chokepoint Block)", "struct_drift_Line truncated window.HyperstitionStudio.QuantTimeSeries = {"$schema": "./schemas/v1/quant-timeseries.schema.json", "$id": "urn:io:hyperstitionstud:schema:v1:quant-timeseries", "version": "2.17.1", "namespace_urn": "urn:io:hyperstitionstud:quant-timeseries:2.17.1", "generated_at_utc": "2026-12-02T14:46:24Z", "synthetic_data_eliminated": true, "periodicity_gate": {"enforced": true, "allowed_cadences": ["1d-us-closing-bell-2130-utc", "24h-news-wire-rollover-0000-utc"], "dated_news_dossiers_ingested": 23, "excluded_non_periodic_sources": ["01-ingglish-aq-lexicon.md", "10-19-ledger-*.md", "20-24-dossier-*.md", "26-45-dossier-*.md", "65-69-dossier-technocapital-singularity-*.md", "technocapital-singularity-zoology/encyclopedia/*", "proposal-*.md", "lecture-*.md", "podcast-ep*.md", "haiperdohp-jemaytreeah/db.json"], "non_periodic_records_ingested": 0, "missing_data_policy": "No data available (never synthesized or interpolated)"}, "enabled_lenses": ["fund_manager", "neutral_math", "corporate_board", "tierzoo_ecology", "fantasy_sabermetrics", "pokedex_scanner"], "default_lens": "fund_manager", "lens_registry_meta": {"fund_manager": {"lens_id": "fund_manager", "title": "Quantitative Hedge Fund & Factor Risk", "short_label": "Quant Factor", "structural_labels": {"struct_isometric_armor": "Chokepoint Moat", "struct_drift_velocity": "Signal Velocity", "struct_variance_collapse": "Convergence Power", "struct_trophic_capture": "Institutional Coupling", "struct_prime_density": "Idiosyncratic Asymmetry", "struct_repricing_resilience": "Regime Robustness"}, "timeseries_labels": {"ts_duty_cycle_pct": "Signal Duty Cycle / Hit Rate (%)", "ts_weighted_resonance": "Conviction-Weighted Exposure (0-100)", "ts_excess_over_replacement": "Information Ratio / Alpha Over Benchmark", "ts_quantile_profile": "Downside VaR_20 / Upside P90 / Convexity CV", "ts_optimal_lag_days": "Granger Lead-Lag Horizon τ* (Days)", "ts_regime_splits": "Regime-Conditional Beta Split (M1/M2/M3)"}}, "neutral_math": {"lens_id": "neutral_math", "title": "Neutral Mathematical & Statistical Invariants", "short_label": "Neutral Math", "structural_labels": {"struct_isometric_armor": "G4 Isometric Ratio (Δ=0)", "struct_drift_velocity": "G3 Inverse Phonemic Drift", "struct_variance_collapse": "G1 Log Variance Collapse", "struct_trophic_capture": "Bipartite S×S6 Coupling Degree", "struct_prime_density": "G5 Prime & Twin-Prime Density", "struct_repricing_resilience": "Repricing Counter-Swap Closure"}, "timeseries_labels": {"ts_duty_cycle_pct": "Active Duty Cycle Pr[X_t > 0] (%)", "ts_weighted_resonance": "Weighted Resonance Index (0-100)", "ts_excess_over_replacement": "Excess Value Over Baseline (σ-Units)", "ts_quantile_profile": "Quantile Spread (P20 / P90 / CV)", "ts_optimal_lag_days": "Peak Cross-Correlation Lag τ* (Days)", "ts_regime_splits": "Conditional Regime Delta E[X|S_t] - μ"}}, "corporate_board": {"lens_id": "corporate_board", "title": "Corporate Strategy & Balance-Sheet Governance", "short_label": "Corporate Board", "structural_labels": {"struct_isometric_armor": "Supply-Chain Moat", "struct_drift_velocity": "Execution Agility", "struct_variance_collapse": "Cross-Unit Synergy", "struct_trophic_capture": "Governance & Balance-Sheet Integration", "struct_prime_density": "Proprietary IP Density", "struct_repricing_resilience": "Stress-Test Resilience"}, "timeseries_labels": {"ts_duty_cycle_pct": "Operational Utilization Cadence (%)", "ts_weighted_resonance": "Strategic Capital Share (0-100)", "ts_excess_over_replacement": "Net Economic Value Added (EVA)", "ts_quantile_profile": "Base-Case Floor / Upside Case / Variance", "ts_optimal_lag_days": "Guidance-to-Market Lead Time τ* (Days)", "ts_regime_splits": "Macro Stress-Scenario Delta (Halt/Surge/Cap)"}}, "tierzoo_ecology": {"lens_id": "tierzoo_ecology", "title": "TierZoo Ecological Trophic Index (ETI)", "short_label": "TierZoo (ETI)", "structural_labels": {"struct_isometric_armor": "ARM (G4 Isometric Chokepoint Armor)", "struct_drift_velocity": "VEL (Teleoplexic Escape Velocity)", "struct_variance_collapse": "COL (G1 Variance-Collapse Compression)", "struct_trophic_capture": "CAP (S×S6 Double-Articulation & Capture)", "struct_prime_density": "PRM (Prime & G5 Twin-Prime Mutation IQ)", "struct_repricing_resilience": "RES (Tri-Modal Repricing & State Resilience)"}, "timeseries_labels": {"ts_duty_cycle_pct": "Foraging Activity Duty Cycle (%)", "ts_weighted_resonance": "Trophic Dominance Rating (0-100)", "ts_excess_over_replacement": "Apex Surplus Over Extinction Floor", "ts_quantile_profile": "Metabolic Floor / Burst Ceiling / Niche CV", "ts_optimal_lag_days": "Predator-Prey Phase Lead τ* (Days)", "ts_regime_splits": "Biome Weather Adaptation Split (M1/M2/M3)"}}, "fantasy_sabermetrics": {"lens_id": "fantasy_sabermetrics", "title": "Fantasy Football & Sabermetric Roster Engine", "short_label": "Fantasy Sabermetrics", "structural_labels": {"struct_isometric_armor": "Pass Protection (OL Chokepoint Block)", "struct_drift_Line truncated
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,2 +1,2 @@
// Auto-generated by hyperstitionstud_io.quant.macro — DO NOT EDIT MANUALLY // Auto-generated by hyperstitionstud_io.quant.macro — DO NOT EDIT MANUALLY
window.HYPERSTITION_MACRO_DATA = {"$schema": "./schemas/v1/macro-indicators.schema.json", "$id": "urn:io:hyperstitionstud:schema:v1:macro-indicators", "version": "2.17.1", "generated_at_utc": "2026-12-02T13:21:49Z", "synthetic_data_eliminated": true, "cadence_policy": "native_cadence_preserved_no_interpolation_null_when_unavailable", "source": "fred_stlouisfed_keyless_csv", "series_count": 14, "series": {"cpi": {"series_id": "CPIAUCSL", "slug": "cpi", "label": "CPI (Consumer Price Index: All Urban Consumers)", "cadence": "1mo", "unit": "Index (1982-84=100)", "guilds": ["S6", "S2"], "data_available": true, "status": "ok", "latest_date_utc": "2026-10-01", "latest_value": 337.476, "prior_date_utc": "2026-09-01", "prior_value": 336.298, "period_change_bps": 35, "period_change_pct": 0.35, "yoy_change_pct": null, "yoy_change_bps": null, "aq_evaluation": {"face_int": 337, "digit_aq": 13, "spoken_eng": "three hundred thirty seven", "spoken_eng_aq": 502, "spoken_ing": "three huhndrad therdee sevan", "spoken_ing_aq": 485, "prime_rank_face": 68, "prime_rank_spoken_ing": null, "ring_coordinates": [], "ring_partners": {}}, "change_aq_evaluation": {"face_int": 35, "digit_aq": 8, "spoken_eng": "thirty five", "spoken_eng_aq": 232, "spoken_ing": "therdee faiv", "spoken_ing_aq": 202, "prime_rank_face": null, "prime_rank_spoken_ing": null, "ring_coordinates": [], "ring_partners": {}}, "missing_observation_dates": [], "recent_observations": [{"date_utc": "2026-09-01", "data_available": true, "status": "ok", "value": 336.298}, {"date_utc": "2026-10-01", "data_available": true, "status": "ok", "value": 337.476}]}, "ppi": {"series_id": "PPIACO", "slug": "ppi", "label": "PPI (Producer Price Index: All Commodities)", "cadence": "1mo", "unit": "Index (1982=100)", "guilds": ["S3", "S6"], "data_available": true, "status": "ok", "latest_date_utc": "2026-10-01", "latest_value": 293.921, "prior_date_utc": "2026-09-01", "prior_value": 294.473, "period_change_bps": -19, "period_change_pct": -0.19, "yoy_change_pct": null, "yoy_change_bps": null, "aq_evaluation": {"face_int": 294, "digit_aq": 15, "spoken_eng": "two hundred ninety four", "spoken_eng_aq": 459, "spoken_ing": "too huhndrad naintee for", "spoken_ing_aq": 424, "prime_rank_face": null, "prime_rank_spoken_ing": null, "ring_coordinates": [], "ring_partners": {}}, "change_aq_evaluation": {"face_int": 19, "digit_aq": 10, "spoken_eng": "nineteen", "spoken_eng_aq": 158, "spoken_ing": "nainteen", "spoken_ing_aq": 154, "prime_rank_face": 8, "prime_rank_spoken_ing": null, "ring_coordinates": [], "ring_partners": {}}, "missing_observation_dates": [], "recent_observations": [{"date_utc": "2026-09-01", "data_available": true, "status": "ok", "value": 294.473}, {"date_utc": "2026-10-01", "data_available": true, "status": "ok", "value": 293.921}]}, "us10y": {"series_id": "DGS10", "slug": "us10y", "label": "US10Y (10-Year US Treasury Constant Maturity Yield)", "cadence": "1d", "unit": "Percent (%)", "guilds": ["S6", "S1"], "data_available": true, "status": "ok", "latest_date_utc": "2026-11-25", "latest_value": 4.85, "prior_date_utc": "2026-11-24", "prior_value": 4.91, "period_change_bps": -6, "period_change_pct": -0.06, "yoy_change_pct": null, "yoy_change_bps": null, "aq_evaluation": {"face_int": 485, "digit_aq": 17, "spoken_eng": "four hundred eighty five", "spoken_eng_aq": 439, "spoken_ing": "for huhndrad aytee faiv", "spoken_ing_aq": 391, "prime_rank_face": null, "prime_rank_spoken_ing": null, "ring_coordinates": [], "ring_partners": {}}, "change_aq_evaluation": {"face_int": 6, "digit_aq": 6, "spoken_eng": "six", "spoken_eng_aq": 79, "spoken_ing": "siks", "spoken_ing_aq": 94, "prime_rank_face": null, "prime_rank_spoken_ing": null, "ring_coordinates": [], "ring_partners": {}}, "missing_observation_dates": ["2026-11-26"], "recent_observations": [{"date_utc": "2026-11-24", "data_available": true, "status": "ok", "value": 4.91}, {"date_utc": "2026-11-25", "data_available": true, "status": "ok", "value": 4.85}, {"date_utc": "2026-11-26", "data_available": false, "status": "No data available", "value": null}]}, "effr": {"series_id": "EFFR", "slug": "effr", "label": "EFFR (Effective Federal Funds Overnight Lending Rate)", "cadence": "1d", "unit": "Percent (%)", "guilds": ["S6", "S2"], "data_available": true, "status": "ok", "latest_date_utc": "2026-11-27", "latest_value": 3.88, "prior_date_utc": "2026-11-25", "prior_value": 3.88, "period_change_bps": 0, "period_change_pct": 0.0, "yoy_change_pct": null, "yoy_change_bps": null, "aq_evaluation": {"face_int": 388, "digit_aq": 19, "spoken_eng": "three hundred eighty eight", "spoken_eng_aq": 460, "spoken_ing": "three huhndrad aytee ayt", "spoken_ing_aq": 425, "prime_rank_face": null, "prime_rank_spoken_ing": null, "ring_coordinates": [], "ring_partners": {}}, "change_aq_evaluation": {"face_int": 0, "digit_aq": 0, "spoken_eng": "zero", "spoken_eng_aq": 100, "spoken_ing": "zeeroh", "spoken_ing_aq": 131, "prime_rank_face": null, "prime_rank_spoken_ing": 32, Line truncated window.HYPERSTITION_MACRO_DATA = {"$schema": "./schemas/v1/macro-indicators.schema.json", "$id": "urn:io:hyperstitionstud:schema:v1:macro-indicators", "version": "2.17.1", "generated_at_utc": "2026-12-02T14:48:36Z", "synthetic_data_eliminated": true, "cadence_policy": "native_cadence_preserved_no_interpolation_null_when_unavailable", "source": "fred_stlouisfed_keyless_csv", "series_count": 14, "series": {"cpi": {"series_id": "CPIAUCSL", "slug": "cpi", "label": "CPI (Consumer Price Index: All Urban Consumers)", "cadence": "1mo", "unit": "Index (1982-84=100)", "guilds": ["S6", "S2"], "data_available": true, "status": "ok", "latest_date_utc": "2026-10-01", "latest_value": 337.476, "prior_date_utc": "2026-09-01", "prior_value": 336.298, "period_change_bps": 35, "period_change_pct": 0.35, "yoy_change_pct": 4.08, "yoy_change_bps": 408, "aq_evaluation": {"face_int": 337, "digit_aq": 13, "spoken_eng": "three hundred thirty seven", "spoken_eng_aq": 502, "spoken_ing": "three huhndrad therdee sevan", "spoken_ing_aq": 485, "prime_rank_face": 68, "prime_rank_spoken_ing": null, "ring_coordinates": [], "ring_partners": {}}, "change_aq_evaluation": {"face_int": 35, "digit_aq": 8, "spoken_eng": "thirty five", "spoken_eng_aq": 232, "spoken_ing": "therdee faiv", "spoken_ing_aq": 202, "prime_rank_face": null, "prime_rank_spoken_ing": null, "ring_coordinates": [], "ring_partners": {}}, "missing_observation_dates": ["2025-10-01"], "recent_observations": [{"date_utc": "2025-10-01", "data_available": false, "status": "No data available", "value": null}, {"date_utc": "2025-11-01", "data_available": true, "status": "ok", "value": 325.063}, {"date_utc": "2025-12-01", "data_available": true, "status": "ok", "value": 326.031}, {"date_utc": "2026-01-01", "data_available": true, "status": "ok", "value": 326.588}, {"date_utc": "2026-02-01", "data_available": true, "status": "ok", "value": 327.46}, {"date_utc": "2026-03-01", "data_available": true, "status": "ok", "value": 330.293}, {"date_utc": "2026-04-01", "data_available": true, "status": "ok", "value": 332.407}, {"date_utc": "2026-05-01", "data_available": true, "status": "ok", "value": 333.979}, {"date_utc": "2026-06-01", "data_available": true, "status": "ok", "value": 332.568}, {"date_utc": "2026-07-01", "data_available": true, "status": "ok", "value": 332.813}, {"date_utc": "2026-08-01", "data_available": true, "status": "ok", "value": 334.131}, {"date_utc": "2026-09-01", "data_available": true, "status": "ok", "value": 336.298}, {"date_utc": "2026-10-01", "data_available": true, "status": "ok", "value": 337.476}]}, "ppi": {"series_id": "PPIACO", "slug": "ppi", "label": "PPI (Producer Price Index: All Commodities)", "cadence": "1mo", "unit": "Index (1982=100)", "guilds": ["S3", "S6"], "data_available": true, "status": "ok", "latest_date_utc": "2026-10-01", "latest_value": 293.921, "prior_date_utc": "2026-09-01", "prior_value": 294.473, "period_change_bps": -19, "period_change_pct": -0.19, "yoy_change_pct": 12.79, "yoy_change_bps": 1279, "aq_evaluation": {"face_int": 294, "digit_aq": 15, "spoken_eng": "two hundred ninety four", "spoken_eng_aq": 459, "spoken_ing": "too huhndrad naintee for", "spoken_ing_aq": 424, "prime_rank_face": null, "prime_rank_spoken_ing": null, "ring_coordinates": [], "ring_partners": {}}, "change_aq_evaluation": {"face_int": 19, "digit_aq": 10, "spoken_eng": "nineteen", "spoken_eng_aq": 158, "spoken_ing": "nainteen", "spoken_ing_aq": 154, "prime_rank_face": 8, "prime_rank_spoken_ing": null, "ring_coordinates": [], "ring_partners": {}}, "missing_observation_dates": [], "recent_observations": [{"date_utc": "2025-10-01", "data_available": true, "status": "ok", "value": 260.591}, {"date_utc": "2025-11-01", "data_available": true, "status": "ok", "value": 261.914}, {"date_utc": "2025-12-01", "data_available": true, "status": "ok", "value": 261.333}, {"date_utc": "2026-01-01", "data_available": true, "status": "ok", "value": 263.608}, {"date_utc": "2026-02-01", "data_available": true, "status": "ok", "value": 269.535}, {"date_utc": "2026-03-01", "data_available": true, "status": "ok", "value": 276.109}, {"date_utc": "2026-04-01", "data_available": true, "status": "ok", "value": 282.722}, {"date_utc": "2026-05-01", "data_available": true, "status": "ok", "value": 290.281}, {"date_utc": "2026-06-01", "data_available": true, "status": "ok", "value": 285.795}, {"date_utc": "2026-07-01", "data_available": true, "status": "ok", "value": 284.837}, {"date_utc": "2026-08-01", "data_available": true, "status": "ok", "value": 287.522}, {"date_utc": "2026-09-01", "data_available": true, "status": "ok", "value": 294.473}, {"date_utc": "2026-10-01", "data_available": true, "status": "ok", "value": 293.921}]}, "us10y": {"series_id": "DGS10", "slug": "us10y", "label": "US10Y (10-Year US Treasury Constant Maturity Yield)", "cadence": "1d", "unit": "Percent (%)", "guilds": ["S6", "S1"], "data_available": true, "status": "ok", "latest_date_utc": "2026-11-30", "latest_value": 4.93, Line truncated
File diff suppressed because it is too large. Load diff
+245 -32
View File
@@ -177,7 +177,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 152.55,
"change_pct": 1.37,
"change_bps": 137,
"volume_ratio_20d": 0.77,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 156.67, "close_usd": 156.67,
"change_pct": 2.7, "change_pct": 2.7,
@@ -364,7 +375,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 1316.13,
"change_pct": -0.73,
"change_bps": -73,
"volume_ratio_20d": 0.87,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 1332.5, "close_usd": 1332.5,
"change_pct": 1.24, "change_pct": 1.24,
@@ -551,7 +573,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 365.37,
"change_pct": 3.4,
"change_bps": 340,
"volume_ratio_20d": 0.91,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 378.32, "close_usd": 378.32,
"change_pct": 3.54, "change_pct": 3.54,
@@ -744,7 +777,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 487.2,
"change_pct": -1.15,
"change_bps": -115,
"volume_ratio_20d": 1.39,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 475.46, "close_usd": 475.46,
"change_pct": -2.41, "change_pct": -2.41,
@@ -931,7 +975,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 295.16,
"change_pct": 7.35,
"change_bps": 735,
"volume_ratio_20d": 1.84,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 299.98, "close_usd": 299.98,
"change_pct": 1.63, "change_pct": 1.63,
@@ -1118,7 +1173,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 633.47,
"change_pct": 0.72,
"change_bps": 72,
"volume_ratio_20d": 1.15,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 647.97, "close_usd": 647.97,
"change_pct": 2.29, "change_pct": 2.29,
@@ -1305,7 +1371,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 110.44,
"change_pct": 3.09,
"change_bps": 309,
"volume_ratio_20d": 0.9,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 109.23, "close_usd": 109.23,
"change_pct": -1.1, "change_pct": -1.1,
@@ -1492,7 +1569,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 324.3,
"change_pct": 3.83,
"change_bps": 383,
"volume_ratio_20d": 1.11,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 341.86, "close_usd": 341.86,
"change_pct": 5.41, "change_pct": 5.41,
@@ -1679,7 +1767,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 171.32,
"change_pct": -0.13,
"change_bps": -13,
"volume_ratio_20d": 0.83,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 179.48, "close_usd": 179.48,
"change_pct": 4.76, "change_pct": 4.76,
@@ -1866,7 +1965,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 427.78,
"change_pct": 0.76,
"change_bps": 76,
"volume_ratio_20d": 0.6,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 463.7, "close_usd": 463.7,
"change_pct": 8.4, "change_pct": 8.4,
@@ -2053,7 +2163,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 168.39,
"change_pct": -2.2,
"change_bps": -220,
"volume_ratio_20d": 1.18,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 180.55, "close_usd": 180.55,
"change_pct": 7.22, "change_pct": 7.22,
@@ -2240,7 +2361,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 610.65,
"change_pct": 0.79,
"change_bps": 79,
"volume_ratio_20d": 1.91,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 599.25, "close_usd": 599.25,
"change_pct": -1.87, "change_pct": -1.87,
@@ -2427,7 +2559,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 199.02,
"change_pct": 0.27,
"change_bps": 27,
"volume_ratio_20d": 1.01,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 200.21, "close_usd": 200.21,
"change_pct": 0.6, "change_pct": 0.6,
@@ -2623,12 +2766,13 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-12-02": { "2026-12-01": {
"observation_date_utc": "2026-12-02", "date_utc": "2026-12-01",
"close_usd": 5.62, "observation_date_utc": "2026-12-01",
"change_pct": 2.04, "close_usd": 5.5,
"change_bps": 204, "change_pct": 0.77,
"volume_ratio_20d": 6.31, "change_bps": 77,
"volume_ratio_20d": 1.0,
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
} }
@@ -2819,11 +2963,22 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-12-02": { "2026-11-30": {
"observation_date_utc": "2026-12-02", "date_utc": "2026-11-30",
"close_usd": 19.44, "observation_date_utc": "2026-11-30",
"change_pct": 0.93, "close_usd": 21.96,
"change_bps": 93, "change_pct": -7.77,
"change_bps": -777,
"volume_ratio_20d": null,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01",
"close_usd": 19.26,
"change_pct": -12.3,
"change_bps": -1230,
"volume_ratio_20d": null, "volume_ratio_20d": null,
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
@@ -3105,13 +3260,14 @@
"market_cap_str": "$1.20T", "market_cap_str": "$1.20T",
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-12-02": { "2026-12-01": {
"observation_date_utc": "2026-12-02", "date_utc": "2026-12-01",
"close_usd": 59862.19, "observation_date_utc": "2026-12-01",
"change_pct": 0.4, "close_usd": 59621.58,
"change_bps": 40, "change_pct": 0.14,
"volume_ratio_20d": 0.76, "change_bps": 14,
"market_cap_str": null, "volume_ratio_20d": 0.89,
"market_cap_str": "$1.20T",
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
} }
} }
@@ -3391,13 +3547,14 @@
"market_cap_str": "$203B", "market_cap_str": "$203B",
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-12-02": { "2026-12-01": {
"observation_date_utc": "2026-12-02", "date_utc": "2026-12-01",
"close_usd": 1680.5, "observation_date_utc": "2026-12-01",
"change_pct": 1.13, "close_usd": 1661.65,
"change_bps": 113, "change_pct": -0.09,
"volume_ratio_20d": 0.72, "change_bps": -9,
"market_cap_str": null, "volume_ratio_20d": 0.92,
"market_cap_str": "$204B",
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
} }
} }
@@ -3677,13 +3834,14 @@
"market_cap_str": "$43B", "market_cap_str": "$43B",
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-12-02": { "2026-12-01": {
"observation_date_utc": "2026-12-02", "date_utc": "2026-12-01",
"close_usd": 72.2, "observation_date_utc": "2026-12-01",
"change_pct": -0.29, "close_usd": 72.41,
"change_bps": -29, "change_pct": -0.08,
"volume_ratio_20d": 0.73, "change_bps": -8,
"market_cap_str": null, "volume_ratio_20d": 0.77,
"market_cap_str": "$43B",
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
} }
} }
@@ -3864,7 +4022,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 103.91,
"change_pct": -2.92,
"change_bps": -292,
"volume_ratio_20d": 1.16,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 109.59, "close_usd": 109.59,
"change_pct": 5.47, "change_pct": 5.47,
@@ -4051,7 +4220,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 239.7,
"change_pct": 0.67,
"change_bps": 67,
"volume_ratio_20d": 1.02,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 253.43, "close_usd": 253.43,
"change_pct": 5.73, "change_pct": 5.73,
@@ -4238,7 +4418,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 1394.32,
"change_pct": 0.14,
"change_bps": 14,
"volume_ratio_20d": 1.61,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 1376.94, "close_usd": 1376.94,
"change_pct": -1.25, "change_pct": -1.25,
@@ -4425,7 +4616,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 4.92,
"change_pct": -0.26,
"change_bps": -26,
"volume_ratio_20d": null,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 5.05, "close_usd": 5.05,
"change_pct": 2.66, "change_pct": 2.66,
@@ -4612,7 +4814,18 @@
"market_cap_str": null, "market_cap_str": null,
"feed_source": "yahoo_v8_json" "feed_source": "yahoo_v8_json"
}, },
"2026-11-30": {
"date_utc": "2026-11-30",
"observation_date_utc": "2026-11-30",
"close_usd": 1163.8,
"change_pct": -0.27,
"change_bps": -27,
"volume_ratio_20d": 1.27,
"market_cap_str": null,
"feed_source": "yahoo_v8_json"
},
"2026-12-01": { "2026-12-01": {
"date_utc": "2026-12-01",
"observation_date_utc": "2026-12-01", "observation_date_utc": "2026-12-01",
"close_usd": 1166.45, "close_usd": 1166.45,
"change_pct": 0.23, "change_pct": 0.23,
@@ -160,6 +160,24 @@ def prepare_and_verify_deploy_scripts(
if "generate_db_json.py" not in sync_txt_cur or "config.default.js" not in sync_txt_cur: if "generate_db_json.py" not in sync_txt_cur or "config.default.js" not in sync_txt_cur:
gate_d4_ok = False gate_d4_ok = False
errors.append("Gate D4: haiperdohp-jemaytreeah untracked artifact hydration missing in deploy/sync-vps-repos.sh") errors.append("Gate D4: haiperdohp-jemaytreeah untracked artifact hydration missing in deploy/sync-vps-repos.sh")
if (
"--snapshot-telemetry" not in sync_txt_cur
or "--reconcile-telemetry" not in sync_txt_cur
or "prev_head=" not in sync_txt_cur
):
gate_d4_ok = False
errors.append(
"Gate D4: Lossless VPS telemetry snapshot/reconciliation (--snapshot-telemetry / --reconcile-telemetry) or prev_head missing in deploy/sync-vps-repos.sh"
)
if (
"closeups_sync --check" not in sync_txt_cur
or "readme_sync --hooks-only" not in sync_txt_cur
or "readme_sync --install-hooks" in sync_txt_cur
):
gate_d4_ok = False
errors.append(
"Gate D4: deploy/sync-vps-repos.sh must use read-only 'closeups_sync --check' and 'readme_sync --hooks-only' so tracked PNGs and README.md files are never dirtied on the VPS"
)
# Gate DEPLOY-GATE-D05.TAR_EXCLUSION: Cold *.tar.gz Archive Exclusion & Explicit rm -f Safety in sync-vps-repos.sh # Gate DEPLOY-GATE-D05.TAR_EXCLUSION: Cold *.tar.gz Archive Exclusion & Explicit rm -f Safety in sync-vps-repos.sh
gate_d5_ok = ( gate_d5_ok = (
@@ -419,8 +419,6 @@ def introspect_live_ui_elements(workspace_root: str | Path | None = None) -> dic
"layout_engine": "bounded_box_v2_plan61", "layout_engine": "bounded_box_v2_plan61",
"surfaces": {k: v["ui_structure_sha256"] for k, v in sorted(surface_sigs.items())}, "surfaces": {k: v["ui_structure_sha256"] for k, v in sorted(surface_sigs.items())},
"js_surfaces": {k: v["js_ui_sha256"] for k, v in sorted(js_sigs.items())}, "js_surfaces": {k: v["js_ui_sha256"] for k, v in sorted(js_sigs.items())},
"total_bars": total_bars,
"db_entries_count": db_entries_count,
"mcp_tools": eng_counts.get("mcp_tools", 20), "mcp_tools": eng_counts.get("mcp_tools", 20),
}, },
sort_keys=True, sort_keys=True,
@@ -839,7 +837,7 @@ def render_all_quadrant_closeups(
_draw_chamfer_box(d, (24, 46, 334, 240), WELL, CYAN, chamfer=8, pip=CYAN) _draw_chamfer_box(d, (24, 46, 334, 240), WELL, CYAN, chamfer=8, pip=CYAN)
d.text((38, 56), "TS TypeScript (Strict ESM AST)", font=f_mono_b, fill=CYAN) d.text((38, 56), "TS TypeScript (Strict ESM AST)", font=f_mono_b, fill=CYAN)
ts_lines = [ ts_lines = [
"export const charAq = (c: string): number =>", "export const charAq = (c: string) =>",
" /[0-9]/.test(c) ? c.charCodeAt(0) - 48", " /[0-9]/.test(c) ? c.charCodeAt(0) - 48",
" : c.charCodeAt(0) - 55;", " : c.charCodeAt(0) - 55;",
"", "",
@@ -850,7 +848,8 @@ def render_all_quadrant_closeups(
] ]
for idx, ln in enumerate(ts_lines): for idx, ln in enumerate(ts_lines):
col = EMERALD if ln.startswith("//") else (TEXT if "=>" not in ln else GOLD) col = EMERALD if ln.startswith("//") else (TEXT if "=>" not in ln else GOLD)
d.text((38, 84 + idx * 18), ln, font=f_mono_xs, fill=col) f_ts, _, _ = _fit_font_for_width(d, ln, 286, preferred_size=10, min_size=7)
d.text((38, 84 + idx * 18), ln, font=f_ts, fill=col)
_draw_chamfer_box(d, (346, 46, 656, 240), WELL, ROSE, chamfer=8, pip=ROSE) _draw_chamfer_box(d, (346, 46, 656, 240), WELL, ROSE, chamfer=8, pip=ROSE)
d.text((360, 56), "Rs Rust (Zero-Alloc Iterator AST)", font=f_mono_b, fill=ROSE) d.text((360, 56), "Rs Rust (Zero-Alloc Iterator AST)", font=f_mono_b, fill=ROSE)
rs_lines = [ rs_lines = [
@@ -865,7 +864,8 @@ def render_all_quadrant_closeups(
] ]
for idx, ln in enumerate(rs_lines): for idx, ln in enumerate(rs_lines):
col = EMERALD if ln.startswith("//") else TEXT col = EMERALD if ln.startswith("//") else TEXT
d.text((360, 84 + idx * 18), ln, font=f_mono_xs, fill=col) f_rs, _, _ = _fit_font_for_width(d, ln, 286, preferred_size=10, min_size=7)
d.text((360, 84 + idx * 18), ln, font=f_rs, fill=col)
im.save(out_dir / "quadrant-3-tab-3-math-ts-rust.png", "PNG") im.save(out_dir / "quadrant-3-tab-3-math-ts-rust.png", "PNG")
tracked_draws["quadrant-3-tab-3-math-ts-rust.png"] = d tracked_draws["quadrant-3-tab-3-math-ts-rust.png"] = d
+471 -67
View File
@@ -20,6 +20,7 @@ import datetime
import io import io
import json import json
import os import os
import re
import sys import sys
import time import time
import urllib.parse import urllib.parse
@@ -166,12 +167,37 @@ _EQ_CLOSURES_333: dict[int, list[str]] = {
} }
def _fetch_yahoo_chart(symbol: str, timeout: float = 6.0) -> dict[str, Any] | None: MIN_SCOPE_DATE_UTC = "2026-11-01"
"""Source 1: Keyless Yahoo Finance v8 Chart JSON API (using actual prior trading day close)."""
def latest_completed_closing_bell_date_utc(now_utc: datetime.datetime | None = None) -> str:
"""
Return the latest UTC calendar date `YYYY-MM-DD` whose 16:00 EST / 21:00 UTC
US closing bell has completed. Before 21:00 UTC on day T, the latest completed
closing-bell session date is T - 1 day; at or after 21:00 UTC on day T, it is T.
"""
dt = now_utc or datetime.datetime.now(datetime.timezone.utc)
if dt.hour < 21:
dt = dt - datetime.timedelta(days=1)
return dt.strftime("%Y-%m-%d")
def _fetch_yahoo_chart_series(
symbol: str,
min_date_utc: str | None = MIN_SCOPE_DATE_UTC,
max_date_utc: str | None = None,
timeout: float = 6.0,
) -> dict[str, dict[str, Any]]:
"""
Fetch the 3-month daily bar series from Yahoo Finance v8 Chart JSON API
(`?range=3mo&interval=1d`) so early-November bars always have a full 20-trading-day
trailing volume lookback window, while filtering emitted bars strictly to
`min_date_utc <= obs_date <= max_date_utc` (pre-Nov 1 out of scope).
"""
if symbol == "ANTHR-PVT": if symbol == "ANTHR-PVT":
return None return {}
enc_sym = urllib.parse.quote(symbol, safe="") enc_sym = urllib.parse.quote(symbol, safe="")
url = f"https://query1.finance.yahoo.com/v8/finance/chart/{enc_sym}?range=1mo&interval=1d" url = f"https://query1.finance.yahoo.com/v8/finance/chart/{enc_sym}?range=3mo&interval=1d"
req = urllib.request.Request(url, headers={"User-Agent": _USER_AGENT, "Accept": "application/json"}) req = urllib.request.Request(url, headers={"User-Agent": _USER_AGENT, "Accept": "application/json"})
from hyperstitionstud_io.security import safe_urlopen from hyperstitionstud_io.security import safe_urlopen
@@ -179,7 +205,7 @@ def _fetch_yahoo_chart(symbol: str, timeout: float = 6.0) -> dict[str, Any] | No
data = json.loads(resp.read().decode("utf-8")) data = json.loads(resp.read().decode("utf-8"))
res_list = (data.get("chart") or {}).get("result") or [] res_list = (data.get("chart") or {}).get("result") or []
if not res_list: if not res_list:
return None return {}
ts_list = res_list[0].get("timestamp") or [] ts_list = res_list[0].get("timestamp") or []
quotes = (((res_list[0].get("indicators") or {}).get("quote") or [{}])[0]) quotes = (((res_list[0].get("indicators") or {}).get("quote") or [{}])[0])
raw_closes = quotes.get("close") or [] raw_closes = quotes.get("close") or []
@@ -188,75 +214,130 @@ def _fetch_yahoo_chart(symbol: str, timeout: float = 6.0) -> dict[str, Any] | No
valid_pairs = [ valid_pairs = [
(ts_list[i], float(raw_closes[i]), float(raw_vols[i]) if i < len(raw_vols) and raw_vols[i] is not None else None) (ts_list[i], float(raw_closes[i]), float(raw_vols[i]) if i < len(raw_vols) and raw_vols[i] is not None else None)
for i in range(min(len(ts_list), len(raw_closes))) for i in range(min(len(ts_list), len(raw_closes)))
if raw_closes[i] is not None if raw_closes[i] is not None and float(raw_closes[i]) > 0
] ]
if not valid_pairs: if not valid_pairs:
return {}
out: dict[str, dict[str, Any]] = {}
for idx, (ts_val, close_usd, vol_val) in enumerate(valid_pairs):
obs_date = datetime.datetime.fromtimestamp(ts_val, datetime.timezone.utc).strftime("%Y-%m-%d")
if min_date_utc and obs_date < min_date_utc:
continue
if max_date_utc and obs_date > max_date_utc:
continue
prev_close = valid_pairs[idx - 1][1] if idx >= 1 else None
if prev_close and prev_close > 0:
chg_pct: float | None = round((close_usd - prev_close) / prev_close * 100.0, 2)
chg_bps: int | None = int(round(chg_pct * 100.0))
else:
chg_pct = None
chg_bps = None
vol_ratio: float | None = None
prior_vols = [x[2] for x in valid_pairs[max(0, idx - 20):idx] if x[2] is not None and x[2] > 0]
if vol_val is not None and vol_val > 0 and prior_vols:
avg_v = sum(prior_vols) / len(prior_vols)
if avg_v > 0:
vol_ratio = round(vol_val / avg_v, 2)
out[obs_date] = {
"date_utc": obs_date,
"observation_date_utc": obs_date,
"close_usd": round(close_usd, 2),
"change_pct": chg_pct,
"change_bps": chg_bps,
"volume_ratio_20d": vol_ratio,
"market_cap_str": None,
"feed_source": "yahoo_v8_json",
}
return out
def _fetch_yahoo_chart(symbol: str, timeout: float = 6.0) -> dict[str, Any] | None:
"""Source 1: Keyless Yahoo Finance v8 Chart JSON API (using latest completed closing-bell bar)."""
series = _fetch_yahoo_chart_series(
symbol,
min_date_utc=MIN_SCOPE_DATE_UTC,
max_date_utc=latest_completed_closing_bell_date_utc(),
timeout=timeout,
)
if not series:
return None return None
latest_dt = sorted(series.keys())[-1]
last_ts, close_usd, last_vol = valid_pairs[-1] return dict(series[latest_dt])
if close_usd <= 0:
return None
obs_date = datetime.datetime.fromtimestamp(last_ts, datetime.timezone.utc).strftime("%Y-%m-%d")
prev_close = valid_pairs[-2][1] if len(valid_pairs) >= 2 else None
if prev_close and prev_close > 0:
chg_pct: float | None = round((close_usd - prev_close) / prev_close * 100.0, 2)
chg_bps: int | None = int(round(chg_pct * 100.0))
else:
chg_pct = None
chg_bps = None
vol_ratio: float | None = None
prior_vols = [x[2] for x in valid_pairs[:-1][-20:] if x[2] is not None and x[2] > 0]
if last_vol is not None and last_vol > 0 and prior_vols:
avg_v = sum(prior_vols) / len(prior_vols)
if avg_v > 0:
vol_ratio = round(last_vol / avg_v, 2)
return {
"observation_date_utc": obs_date,
"close_usd": round(close_usd, 2),
"change_pct": chg_pct,
"change_bps": chg_bps,
"volume_ratio_20d": vol_ratio,
"market_cap_str": None,
"feed_source": "yahoo_v8_json",
}
def _fetch_stooq_csv(symbol: str, timeout: float = 6.0) -> dict[str, Any] | None: def _fetch_stooq_csv_series(
"""Source 2: Keyless Stooq Daily OHLCV CSV Fallback.""" symbol: str,
min_date_utc: str | None = MIN_SCOPE_DATE_UTC,
max_date_utc: str | None = None,
timeout: float = 6.0,
) -> dict[str, dict[str, Any]]:
"""Source 2: Keyless Stooq Daily OHLCV CSV Series Fallback (with 75-row lookback for 20d volume)."""
stooq_sym = _STOOQ_MAP.get(symbol) stooq_sym = _STOOQ_MAP.get(symbol)
if not stooq_sym: if not stooq_sym:
return None return {}
url = f"https://stooq.com/q/d/l/?s={stooq_sym}&i=d" url = f"https://stooq.com/q/d/l/?s={stooq_sym}&i=d"
req = urllib.request.Request(url, headers={"User-Agent": _USER_AGENT}) req = urllib.request.Request(url, headers={"User-Agent": _USER_AGENT})
from hyperstitionstud_io.security import safe_urlopen from hyperstitionstud_io.security import safe_urlopen
with safe_urlopen(req, timeout=timeout) as resp: with safe_urlopen(req, timeout=timeout) as resp:
text = resp.read().decode("utf-8", errors="replace") text = resp.read().decode("utf-8", errors="replace")
rows = list(csv.DictReader(io.StringIO(text))) raw_rows = [
if not rows or "Close" not in rows[-1] or rows[-1]["Close"] in ("", "N/D", None): r for r in csv.DictReader(io.StringIO(text))
if r.get("Date") and r.get("Close") not in ("", "N/D", None)
]
if not raw_rows:
return {}
out: dict[str, dict[str, Any]] = {}
start_idx = max(0, len(raw_rows) - 75)
for idx in range(start_idx, len(raw_rows)):
row = raw_rows[idx]
obs_date = str(row["Date"])
if min_date_utc and obs_date < min_date_utc:
continue
if max_date_utc and obs_date > max_date_utc:
continue
close_usd = float(row["Close"])
if close_usd <= 0:
continue
prev_close = float(raw_rows[idx - 1]["Close"]) if idx >= 1 else None
chg_pct = round((close_usd - prev_close) / prev_close * 100.0, 2) if (prev_close and prev_close > 0) else None
chg_bps = int(round(chg_pct * 100.0)) if chg_pct is not None else None
prior_vols = [
float(r["Volume"])
for r in raw_rows[max(0, idx - 20):idx]
if r.get("Volume") and str(r["Volume"]).replace(".", "").isdigit() and float(r["Volume"]) > 0
]
cur_vol_s = row.get("Volume")
cur_vol = float(cur_vol_s) if (cur_vol_s and str(cur_vol_s).replace(".", "").isdigit()) else None
vol_ratio = round(cur_vol / (sum(prior_vols) / len(prior_vols)), 2) if (cur_vol and prior_vols) else None
out[obs_date] = {
"date_utc": obs_date,
"observation_date_utc": obs_date,
"close_usd": round(close_usd, 2),
"change_pct": chg_pct,
"change_bps": chg_bps,
"volume_ratio_20d": vol_ratio,
"market_cap_str": None,
"feed_source": "stooq_csv",
}
return out
def _fetch_stooq_csv(symbol: str, timeout: float = 6.0) -> dict[str, Any] | None:
"""Source 2: Keyless Stooq Daily OHLCV CSV Fallback (latest completed closing-bell bar)."""
series = _fetch_stooq_csv_series(
symbol,
max_date_utc=latest_completed_closing_bell_date_utc(),
timeout=timeout,
)
if not series:
return None return None
close_usd = float(rows[-1]["Close"]) latest_dt = sorted(series.keys())[-1]
prev_close = float(rows[-2]["Close"]) if len(rows) >= 2 and rows[-2].get("Close") not in ("", "N/D", None) else None return dict(series[latest_dt])
chg_pct = round((close_usd - prev_close) / prev_close * 100.0, 2) if (prev_close and prev_close > 0) else None
chg_bps = int(round(chg_pct * 100.0)) if chg_pct is not None else None
vols = [float(r["Volume"]) for r in rows[-21:] if r.get("Volume") and r["Volume"].replace(".", "").isdigit()]
vol_ratio = None
if len(vols) >= 2:
avg_v = sum(vols[:-1]) / max(1, len(vols[:-1]))
if avg_v > 0:
vol_ratio = round(vols[-1] / avg_v, 2)
return {
"observation_date_utc": rows[-1].get("Date"),
"close_usd": round(close_usd, 2),
"change_pct": chg_pct,
"change_bps": chg_bps,
"volume_ratio_20d": vol_ratio,
"market_cap_str": None,
"feed_source": "stooq_csv",
}
def _fetch_coingecko_crypto(timeout: float = 6.0) -> dict[str, dict[str, Any]]: def _fetch_coingecko_crypto(timeout: float = 6.0) -> dict[str, dict[str, Any]]:
@@ -681,11 +762,19 @@ def build_financial_quant_harvest(
receipt = guard.audit_receipt() receipt = guard.audit_receipt()
available_count = sum(1 for x in instruments_out if x.get("data_available")) available_count = sum(1 for x in instruments_out if x.get("data_available"))
unavailable_syms = [x["symbol"] for x in instruments_out if not x.get("data_available")] unavailable_syms = [x["symbol"] for x in instruments_out if not x.get("data_available")]
observed_dates = sorted(
{
str(x["observation_date_utc"])
for x in instruments_out
if x.get("data_available") and x.get("observation_date_utc")
}
)
target_dt_utc = observed_dates[-1] if observed_dates else latest_completed_closing_bell_date_utc()
payload: dict[str, Any] = { payload: dict[str, Any] = {
"$schema": "./schemas/v1/financial-aq-harvest.schema.json", "$schema": "./schemas/v1/financial-aq-harvest.schema.json",
"$id": "urn:io:hyperstitionstud:schema:v1:financial-aq-harvest", "$id": "urn:io:hyperstitionstud:schema:v1:financial-aq-harvest",
"version": "2.17.1", "version": "2.17.1",
"target_date_utc": datetime.datetime.now(datetime.timezone.utc).strftime("%Y-%m-%d"), "target_date_utc": target_dt_utc,
"harvest_mode": harvest_mode, "harvest_mode": harvest_mode,
"synthetic_data_eliminated": True, "synthetic_data_eliminated": True,
"regime_summary": { "regime_summary": {
@@ -754,11 +843,13 @@ def update_real_market_history_cache(
history_path: str | Path | None = None, history_path: str | Path | None = None,
new_bars_by_symbol: dict[str, dict[str, dict[str, Any]]] | None = None, new_bars_by_symbol: dict[str, dict[str, dict[str, Any]]] | None = None,
allow_live_network: bool = False, allow_live_network: bool = False,
max_date_utc: str | None = None,
) -> dict[str, Any]: ) -> dict[str, Any]:
""" """
Merge new real daily exchange bars into `site/quant/real-market-history.json`. Merge new real daily exchange bars into `site/quant/real-market-history.json`.
Enforces strict Zero-Synthetic-Data honesty: `ANTHR-PVT` always remains `bars_by_date: {}`, Enforces strict Zero-Synthetic-Data honesty: `ANTHR-PVT` always remains `bars_by_date: {}`,
`data_available: False`, and closed weekend/holiday dates are never fabricated. `data_available: False`, closed weekend/holiday dates are never fabricated, and incomplete
intraday candles from dates after `latest_completed_closing_bell_date_utc()` are excluded.
""" """
from hyperstitionstud_io import __version__ as CURRENT_VERSION from hyperstitionstud_io import __version__ as CURRENT_VERSION
@@ -769,6 +860,14 @@ def update_real_market_history_cache(
else: else:
doc = {"version": CURRENT_VERSION, "synthetic_data_eliminated": True, "instruments": {}} doc = {"version": CURRENT_VERSION, "synthetic_data_eliminated": True, "instruments": {}}
effective_max_date = max_date_utc or (None if new_bars_by_symbol else latest_completed_closing_bell_date_utc())
cg_quotes: dict[str, dict[str, Any]] = {}
if allow_live_network and not new_bars_by_symbol:
try:
cg_quotes = _fetch_coingecko_crypto()
except Exception:
cg_quotes = {}
inst_map = doc.setdefault("instruments", {}) inst_map = doc.setdefault("instruments", {})
appended_count = 0 appended_count = 0
@@ -785,21 +884,61 @@ def update_real_market_history_cache(
entry = inst_map.setdefault(sym, {"symbol": sym, "data_available": True, "status": "ok", "bars_by_date": {}}) entry = inst_map.setdefault(sym, {"symbol": sym, "data_available": True, "status": "ok", "bars_by_date": {}})
bars_by_dt = entry.setdefault("bars_by_date", {}) bars_by_dt = entry.setdefault("bars_by_date", {})
if effective_max_date:
for stale_dt in [
d for d in list(bars_by_dt.keys()) if d < MIN_SCOPE_DATE_UTC or d > effective_max_date
]:
del bars_by_dt[stale_dt]
else:
for stale_dt in [d for d in list(bars_by_dt.keys()) if d < MIN_SCOPE_DATE_UTC]:
del bars_by_dt[stale_dt]
if new_bars_by_symbol and sym in new_bars_by_symbol: if new_bars_by_symbol and sym in new_bars_by_symbol:
for dt_s, b_obj in new_bars_by_symbol[sym].items(): for dt_s, b_obj in new_bars_by_symbol[sym].items():
if dt_s < MIN_SCOPE_DATE_UTC:
continue
if effective_max_date and dt_s > effective_max_date:
continue
if b_obj and b_obj.get("close_usd") is not None: if b_obj and b_obj.get("close_usd") is not None:
bars_by_dt[dt_s] = b_obj bars_by_dt[dt_s] = b_obj
appended_count += 1 appended_count += 1
elif allow_live_network: elif allow_live_network:
try: try:
live_b = _fetch_yahoo_chart(sym) or _fetch_stooq_csv(sym) series = _fetch_yahoo_chart_series(
if live_b and live_b.get("observation_date_utc") and live_b.get("close_usd") is not None: sym, min_date_utc=MIN_SCOPE_DATE_UTC, max_date_utc=effective_max_date
dt_s = live_b["observation_date_utc"] ) or _fetch_stooq_csv_series(
bars_by_dt[dt_s] = live_b sym, min_date_utc=MIN_SCOPE_DATE_UTC, max_date_utc=effective_max_date
appended_count += 1 )
for dt_s, b_obj in sorted(series.items()):
if dt_s < MIN_SCOPE_DATE_UTC:
continue
if not b_obj or b_obj.get("close_usd") is None:
continue
prev_bar = bars_by_dt.get(dt_s)
if prev_bar is None or prev_bar.get("close_usd") is None:
if sym in cg_quotes and cg_quotes[sym].get("market_cap_str") and dt_s == effective_max_date:
b_obj = dict(b_obj)
b_obj["market_cap_str"] = cg_quotes[sym]["market_cap_str"]
bars_by_dt[dt_s] = b_obj
appended_count += 1
elif dt_s == effective_max_date:
merged_b = dict(b_obj)
if prev_bar.get("market_cap_str"):
merged_b["market_cap_str"] = prev_bar["market_cap_str"]
elif sym in cg_quotes and cg_quotes[sym].get("market_cap_str"):
merged_b["market_cap_str"] = cg_quotes[sym]["market_cap_str"]
bars_by_dt[dt_s] = merged_b
else:
if prev_bar.get("volume_ratio_20d") is None and b_obj.get("volume_ratio_20d") is not None:
prev_bar["volume_ratio_20d"] = b_obj["volume_ratio_20d"]
if prev_bar.get("change_pct") is None and b_obj.get("change_pct") is not None:
prev_bar["change_pct"] = b_obj["change_pct"]
prev_bar["change_bps"] = b_obj["change_bps"]
except Exception: except Exception:
pass pass
entry["bars_by_date"] = {k: bars_by_dt[k] for k in sorted(bars_by_dt.keys())}
doc["version"] = CURRENT_VERSION doc["version"] = CURRENT_VERSION
doc["synthetic_data_eliminated"] = True doc["synthetic_data_eliminated"] = True
h_path.parent.mkdir(parents=True, exist_ok=True) h_path.parent.mkdir(parents=True, exist_ok=True)
@@ -807,17 +946,282 @@ def update_real_market_history_cache(
return {"history_path": str(h_path), "appended_bars_count": appended_count, "synthetic_data_eliminated": True} return {"history_path": str(h_path), "appended_bars_count": appended_count, "synthetic_data_eliminated": True}
_TELEMETRY_SNAPSHOT_FILES: tuple[str, ...] = (
"real-market-history.json",
"real-macro-indicators.json",
"daily-brief-state.json",
"financial-aq-harvest-latest.json",
)
def _excavate_git_json_versions(
repo_dir: Path,
rel_path: str,
max_commits: int = 35,
) -> list[dict[str, Any]]:
"""
Excavate valid JSON versions of `rel_path` from all Git stashes (`stash@{0..N}` and
untracked stash parents `stash@{i}^3`) and recent Git commits (`git log --all`).
"""
import subprocess
if not (repo_dir / ".git").exists():
return []
revs: list[str] = []
try:
stash_out = subprocess.run(
["git", "-C", str(repo_dir), "stash", "list", "--format=%gd"],
capture_output=True,
text=True,
check=False,
).stdout
for s_ref in [ln.strip() for ln in stash_out.splitlines() if ln.strip()]:
revs.append(s_ref)
revs.append(f"{s_ref}^3")
except Exception:
pass
try:
log_out = subprocess.run(
["git", "-C", str(repo_dir), "log", "--all", f"-n{max_commits}", "--format=%H", "--", rel_path],
capture_output=True,
text=True,
check=False,
).stdout
for sha in [ln.strip() for ln in log_out.splitlines() if ln.strip()]:
if sha not in revs:
revs.append(sha)
except Exception:
pass
docs: list[dict[str, Any]] = []
for rev in revs:
try:
proc = subprocess.run(
["git", "-C", str(repo_dir), "show", f"{rev}:{rel_path}"],
capture_output=True,
text=True,
check=False,
)
if proc.returncode == 0 and proc.stdout.strip():
obj = json.loads(proc.stdout)
if isinstance(obj, dict):
docs.append(obj)
except Exception:
continue
return docs
def snapshot_local_telemetry(
snapshot_dir: str | Path,
quant_dir: str | Path | None = None,
excavate_git: bool = True,
) -> dict[str, Any]:
"""
Save a lossless copy of local `site/quant/` telemetry JSON ledgers into `snapshot_dir`
prior to pulling or resetting the Git working tree during VPS deployment sync.
When `excavate_git=True` on the repository's `site/quant` directory, also excavates
any observations present in `git stash list` or `git log --all` (`>= 2026-11-01`).
"""
import shutil
cfg = load_workspace_config()
default_q_dir = cfg.core_dir / "site" / "quant"
q_dir = Path(quant_dir) if quant_dir else default_q_dir
s_dir = Path(snapshot_dir)
s_dir.mkdir(parents=True, exist_ok=True)
saved: list[str] = []
for fname in _TELEMETRY_SNAPSHOT_FILES:
src = q_dir / fname
if src.is_file():
try:
json.loads(src.read_text(encoding="utf-8"))
shutil.copy2(src, s_dir / fname)
saved.append(fname)
except Exception:
continue
if excavate_git and q_dir.resolve() == default_q_dir.resolve() and (cfg.core_dir / ".git").exists():
max_dt = latest_completed_closing_bell_date_utc()
# 1. Excavate stashed/committed real-market-history.json bars (>= 2026-11-01)
snap_rmh_p = s_dir / "real-market-history.json"
if snap_rmh_p.is_file():
try:
base_rmh = json.loads(snap_rmh_p.read_text(encoding="utf-8"))
insts = base_rmh.setdefault("instruments", {})
for hist_doc in _excavate_git_json_versions(cfg.core_dir, "site/quant/real-market-history.json"):
for sym, s_obj in (hist_doc.get("instruments") or {}).items():
if sym == "ANTHR-PVT" or not isinstance(s_obj, dict):
continue
t_entry = insts.setdefault(
sym, {"symbol": sym, "data_available": True, "status": "ok", "bars_by_date": {}}
)
t_bars = t_entry.setdefault("bars_by_date", {})
for dt_s, b_obj in (s_obj.get("bars_by_date") or {}).items():
if not re.match(r"^\d{4}-\d{2}-\d{2}$", str(dt_s)):
continue
if dt_s < MIN_SCOPE_DATE_UTC or dt_s > max_dt:
continue
if not isinstance(b_obj, dict) or b_obj.get("close_usd") is None:
continue
if dt_s not in t_bars or t_bars[dt_s].get("close_usd") is None:
t_bars[dt_s] = b_obj
else:
if not t_bars[dt_s].get("market_cap_str") and b_obj.get("market_cap_str"):
t_bars[dt_s]["market_cap_str"] = b_obj["market_cap_str"]
if t_bars[dt_s].get("volume_ratio_20d") is None and b_obj.get("volume_ratio_20d") is not None:
t_bars[dt_s]["volume_ratio_20d"] = b_obj["volume_ratio_20d"]
snap_rmh_p.write_text(json.dumps(base_rmh, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")
except Exception:
pass
return {"ok": True, "snapshot_dir": str(s_dir), "saved_files": saved}
def reconcile_telemetry_snapshot(
snapshot_dir: str | Path,
quant_dir: str | Path | None = None,
max_date_utc: str | None = None,
recompile_bundles: bool = True,
) -> dict[str, Any]:
"""
Losslessly union-merge any valid completed harvest bars or FRED macro observations
(`>= 2026-11-01` and `<= max_date_utc`) from `snapshot_dir` that are absent in `quant_dir`
(the newly pulled `origin/main` checkout).
If `origin/main` already contains 100% of completed observations (`merged_bars_count == 0`
and `merged_macro_obs_count == 0`), performs 0 disk writes so `git status` remains clean.
"""
cfg = load_workspace_config()
q_dir = Path(quant_dir) if quant_dir else (cfg.core_dir / "site" / "quant")
s_dir = Path(snapshot_dir)
effective_max_date = max_date_utc or latest_completed_closing_bell_date_utc()
merged_bars_count = 0
merged_macro_obs_count = 0
snap_hist_p = s_dir / "real-market-history.json"
cur_hist_p = q_dir / "real-market-history.json"
if snap_hist_p.is_file() and cur_hist_p.is_file():
try:
snap_hist = json.loads(snap_hist_p.read_text(encoding="utf-8"))
cur_hist = json.loads(cur_hist_p.read_text(encoding="utf-8"))
cur_insts = cur_hist.setdefault("instruments", {})
for sym, snap_obj in (snap_hist.get("instruments") or {}).items():
if sym == "ANTHR-PVT":
continue
cur_entry = cur_insts.setdefault(
sym, {"symbol": sym, "data_available": True, "status": "ok", "bars_by_date": {}}
)
cur_bars = cur_entry.setdefault("bars_by_date", {})
for dt_s, b_obj in (snap_obj.get("bars_by_date") or {}).items():
if not re.match(r"^\d{4}-\d{2}-\d{2}$", str(dt_s)):
continue
if dt_s < MIN_SCOPE_DATE_UTC or dt_s > effective_max_date:
continue
if not isinstance(b_obj, dict) or b_obj.get("close_usd") is None:
continue
if dt_s not in cur_bars or cur_bars[dt_s].get("close_usd") is None:
cur_bars[dt_s] = b_obj
merged_bars_count += 1
else:
if not cur_bars[dt_s].get("market_cap_str") and b_obj.get("market_cap_str"):
cur_bars[dt_s]["market_cap_str"] = b_obj["market_cap_str"]
merged_bars_count += 1
if cur_bars[dt_s].get("volume_ratio_20d") is None and b_obj.get("volume_ratio_20d") is not None:
cur_bars[dt_s]["volume_ratio_20d"] = b_obj["volume_ratio_20d"]
merged_bars_count += 1
cur_entry["bars_by_date"] = {k: cur_bars[k] for k in sorted(cur_bars.keys())}
if merged_bars_count > 0:
cur_hist_p.write_text(json.dumps(cur_hist, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")
except Exception:
pass
snap_macro_p = s_dir / "real-macro-indicators.json"
cur_macro_p = q_dir / "real-macro-indicators.json"
if snap_macro_p.is_file() and cur_macro_p.is_file():
try:
snap_macro = json.loads(snap_macro_p.read_text(encoding="utf-8"))
cur_macro = json.loads(cur_macro_p.read_text(encoding="utf-8"))
cur_series = cur_macro.setdefault("series", {})
for s_key, snap_s in (snap_macro.get("series") or {}).items():
if s_key not in cur_series or not isinstance(snap_s, dict):
continue
cur_obs_list = cur_series[s_key].get("recent_observations") or []
cur_obs_by_dt = {
str(o.get("date_utc") or o.get("date")): o
for o in cur_obs_list
if isinstance(o, dict) and (o.get("date_utc") or o.get("date"))
}
added_here = 0
for o in snap_s.get("recent_observations") or []:
if not isinstance(o, dict) or not (o.get("date_utc") or o.get("date")) or o.get("value") is None:
continue
dt_s = str(o.get("date_utc") or o.get("date"))
if dt_s > effective_max_date:
continue
if dt_s not in cur_obs_by_dt or cur_obs_by_dt[dt_s].get("value") is None:
cur_obs_by_dt[dt_s] = o
merged_macro_obs_count += 1
added_here += 1
if added_here > 0:
sorted_obs = [cur_obs_by_dt[k] for k in sorted(cur_obs_by_dt.keys())]
cur_series[s_key]["recent_observations"] = sorted_obs
latest_valid = [x for x in sorted_obs if x.get("value") is not None]
if latest_valid:
last_dt = latest_valid[-1].get("date_utc") or latest_valid[-1].get("date")
cur_series[s_key]["latest_date_utc"] = last_dt
cur_series[s_key]["latest_value"] = latest_valid[-1]["value"]
if merged_macro_obs_count > 0:
cur_macro_p.write_text(json.dumps(cur_macro, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")
macro_js_p = q_dir / "real-macro-indicators-data.js"
js_body = (
"// Auto-generated by hyperstitionstud_io.quant.macro — DO NOT EDIT MANUALLY\n"
f"window.HYPERSTITION_MACRO_DATA = {json.dumps(cur_macro, ensure_ascii=False)};\n"
)
macro_js_p.write_text(js_body, encoding="utf-8")
except Exception:
pass
reconciled_new_data = (merged_bars_count > 0) or (merged_macro_obs_count > 0)
if reconciled_new_data and recompile_bundles and q_dir == (cfg.core_dir / "site" / "quant"):
from hyperstitionstud_io.quant.daily_brief import build_daily_portfolio_brief
from hyperstitionstud_io.quant.timeseries import build_quant_timeseries_bundle
build_quant_timeseries_bundle(write_files=True)
build_daily_portfolio_brief(allow_live_network=False, write_files=True)
return {
"ok": True,
"reconciled_new_data": reconciled_new_data,
"merged_bars_count": merged_bars_count,
"merged_macro_obs_count": merged_macro_obs_count,
"min_scope_date_utc": MIN_SCOPE_DATE_UTC,
"max_date_utc": effective_max_date,
}
def main(argv: list[str] | None = None) -> int: def main(argv: list[str] | None = None) -> int:
ap = argparse.ArgumentParser(prog="hs-quant-harvest", description="Periodic Quantitative Financial Telemetry & Contingent Meaning Collector.") ap = argparse.ArgumentParser(prog="hs-quant-harvest", description="Periodic Quantitative Financial Telemetry & Contingent Meaning Collector.")
ap.add_argument("--mode", choices=["us-closing-bell", "utc-rollover"], default="us-closing-bell") ap.add_argument("--mode", choices=["us-closing-bell", "utc-rollover"], default="us-closing-bell")
ap.add_argument("--from-snapshot", default=None, help="Optional offline JSON snapshot file.") ap.add_argument("--from-snapshot", default=None, help="Optional offline JSON snapshot file.")
ap.add_argument("--live", action="store_true", help="Attempt live keyless HTTP fetch (Yahoo v8 / Stooq CSV / CoinGecko).") ap.add_argument("--live", action="store_true", help="Attempt live keyless HTTP fetch (Yahoo v8 / Stooq CSV / CoinGecko).")
ap.add_argument("--append-history", action="store_true", help="Merge newly fetched real exchange bars into site/quant/real-market-history.json.") ap.add_argument("--append-history", action="store_true", help="Merge newly fetched real exchange bars into site/quant/real-market-history.json.")
ap.add_argument("--snapshot-telemetry", default=None, help="Snapshot local site/quant/ telemetry JSON files into the specified directory.")
ap.add_argument("--reconcile-telemetry", default=None, help="Losslessly reconcile snapshotted telemetry JSON files from the specified directory.")
ap.add_argument("--join-news", default=None, help="Optional path to news-aq-harvest-latest.json.") ap.add_argument("--join-news", default=None, help="Optional path to news-aq-harvest-latest.json.")
ap.add_argument("--write-dossier", default=None, help="Optional path to emit Markdown quant report.") ap.add_argument("--write-dossier", default=None, help="Optional path to emit Markdown quant report.")
ap.add_argument("--out", default=None, help="Output JSON path (default: <core_dir>/site/quant/financial-aq-harvest-latest.json).") ap.add_argument("--out", default=None, help="Output JSON path (default: <core_dir>/site/quant/financial-aq-harvest-latest.json).")
args = ap.parse_args(argv) args = ap.parse_args(argv)
if args.snapshot_telemetry:
res = snapshot_local_telemetry(args.snapshot_telemetry)
print(json.dumps(res, indent=2))
return 0
if args.reconcile_telemetry:
res = reconcile_telemetry_snapshot(args.reconcile_telemetry)
print(json.dumps(res, indent=2))
return 0
cfg = load_workspace_config() cfg = load_workspace_config()
if args.append_history: if args.append_history:
update_real_market_history_cache(allow_live_network=args.live) update_real_market_history_cache(allow_live_network=args.live)
+37 -11
View File
@@ -454,22 +454,48 @@ def build_daily_portfolio_brief(
js_body = "// Auto-generated by hyperstitionstud_io.quant.daily_brief — DO NOT EDIT MANUALLY\nwindow.HYPERSTITION_DAILY_BRIEF = " + json.dumps(brief_payload, ensure_ascii=False) + ";\n" js_body = "// Auto-generated by hyperstitionstud_io.quant.daily_brief — DO NOT EDIT MANUALLY\nwindow.HYPERSTITION_DAILY_BRIEF = " + json.dumps(brief_payload, ensure_ascii=False) + ";\n"
out_js_path.write_text(js_body, encoding="utf-8") out_js_path.write_text(js_body, encoding="utf-8")
# Update append-only Bayesian state ledger outside read-only files # Update append-only Bayesian state ledger outside read-only files (deduplicating same-day identical posteriors)
history_list = list(prior_state.get("run_history") or []) raw_history = list(prior_state.get("run_history") or [])
history_list.append({ dedup_history: list[dict[str, Any]] = []
"run_number": run_number, for entry in raw_history:
"generated_at_utc": brief_payload["generated_at_utc"], if not isinstance(entry, dict):
"posterior_probabilities": bayesian_block["posterior_probabilities"], continue
"question_id": current_question["question_id"], e_dt = str(entry.get("generated_at_utc") or "")[:10]
"cidv1": brief_payload["ipld_dag_json_cidv1"]["/"], e_post = entry.get("posterior_probabilities")
}) if dedup_history and str(dedup_history[-1].get("generated_at_utc") or "")[:10] == e_dt and dedup_history[-1].get("posterior_probabilities") == e_post:
dedup_history[-1] = entry
else:
dedup_history.append(entry)
cur_dt_10 = str(brief_payload["generated_at_utc"])[:10]
cur_post = bayesian_block["posterior_probabilities"]
if dedup_history and str(dedup_history[-1].get("generated_at_utc") or "")[:10] == cur_dt_10 and dedup_history[-1].get("posterior_probabilities") == cur_post:
dedup_history[-1] = {
"run_number": int(dedup_history[-1].get("run_number") or len(dedup_history)),
"generated_at_utc": brief_payload["generated_at_utc"],
"posterior_probabilities": cur_post,
"question_id": str(dedup_history[-1].get("question_id") or current_question["question_id"]),
"cidv1": brief_payload["ipld_dag_json_cidv1"]["/"],
}
else:
next_run_num = (int(dedup_history[-1].get("run_number") or len(dedup_history)) + 1) if dedup_history else 1
dedup_history.append({
"run_number": next_run_num,
"generated_at_utc": brief_payload["generated_at_utc"],
"posterior_probabilities": cur_post,
"question_id": f"Q-RUN-{next_run_num:04d}",
"cidv1": brief_payload["ipld_dag_json_cidv1"]["/"],
})
for idx, h_item in enumerate(dedup_history, start=1):
h_item["run_number"] = idx
h_item["question_id"] = f"Q-RUN-{idx:04d}"
effective_run_number = dedup_history[-1]["run_number"]
new_state = { new_state = {
"version": CURRENT_VERSION, "version": CURRENT_VERSION,
"run_number": run_number, "run_number": effective_run_number,
"updated_at_utc": brief_payload["generated_at_utc"], "updated_at_utc": brief_payload["generated_at_utc"],
"latest_posteriors": bayesian_block["posterior_probabilities"], "latest_posteriors": bayesian_block["posterior_probabilities"],
"active_daily_question": current_question, "active_daily_question": current_question,
"run_history": history_list[-30:], "run_history": dedup_history[-30:],
} }
state_path.parent.mkdir(parents=True, exist_ok=True) state_path.parent.mkdir(parents=True, exist_ok=True)
state_path.write_text(json.dumps(new_state, indent=2, ensure_ascii=False) + "\n", encoding="utf-8") state_path.write_text(json.dumps(new_state, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")
+86 -21
View File
@@ -147,26 +147,60 @@ FRED_SERIES_SPEC: tuple[dict[str, Any], ...] = (
) )
def fetch_fred_series_csv(series_id: str, max_rows: int = 36, timeout: float = 8.0) -> list[dict[str, Any]]: MIN_MACRO_DAILY_DATE_UTC = "2026-11-01"
def fetch_fred_series_csv(
series_id: str,
max_rows: int = 36,
timeout: float = 8.0,
min_date_utc: str | None = None,
max_date_utc: str | None = None,
) -> list[dict[str, Any]]:
""" """
Fetch real observations from `https://fred.stlouisfed.org/graph/fredgraph.csv?id=<series_id>&cosd=2024-10-01`. Fetch real observations from `https://fred.stlouisfed.org/graph/fredgraph.csv?id=<series_id>&cosd=2025-09-01`
using IPv4-first transport (`curl -4` with `safe_urlopen` fallback so blackholed IPv6 routes never stall).
Preserves missing/holiday dates explicitly as `value = None` (`data_available = False`) rather than `0.0`. Preserves missing/holiday dates explicitly as `value = None` (`data_available = False`) rather than `0.0`.
""" """
url = f"https://fred.stlouisfed.org/graph/fredgraph.csv?id={series_id}&cosd=2024-10-01" import shutil
req = urllib.request.Request(url, headers={"User-Agent": _USER_AGENT}) import subprocess
from hyperstitionstud_io.security import safe_urlopen
with safe_urlopen(req, timeout=timeout) as resp: url = f"https://fred.stlouisfed.org/graph/fredgraph.csv?id={series_id}&cosd=2025-09-01"
lines = [ln.strip() for ln in resp.read().decode("utf-8").splitlines() if ln.strip()] raw_text = ""
curl_bin = shutil.which("curl")
if curl_bin:
try:
proc = subprocess.run(
[curl_bin, "-4", "-sS", "-L", "--max-time", str(max(2, int(timeout))), url],
capture_output=True,
text=True,
check=False,
)
if proc.returncode == 0 and proc.stdout.startswith("observation_date,"):
raw_text = proc.stdout
except Exception:
raw_text = ""
if not raw_text:
req = urllib.request.Request(url, headers={"User-Agent": _USER_AGENT})
from hyperstitionstud_io.security import safe_urlopen
with safe_urlopen(req, timeout=timeout) as resp:
raw_text = resp.read().decode("utf-8")
lines = [ln.strip() for ln in raw_text.splitlines() if ln.strip()]
if len(lines) <= 1: if len(lines) <= 1:
return [] return []
tail = lines[1:][-max_rows:]
rows: list[dict[str, Any]] = [] rows: list[dict[str, Any]] = []
for ln in tail: for ln in lines[1:]:
parts = ln.split(",", 1) parts = ln.split(",", 1)
if len(parts) != 2: if len(parts) != 2:
continue continue
dt_s, val_s = parts[0].strip(), parts[1].strip() dt_s, val_s = parts[0].strip(), parts[1].strip()
if min_date_utc and dt_s < min_date_utc:
continue
if max_date_utc and dt_s > max_date_utc:
continue
if not val_s or val_s == ".": if not val_s or val_s == ".":
rows.append({ rows.append({
"date_utc": dt_s, "date_utc": dt_s,
@@ -189,13 +223,13 @@ def fetch_fred_series_csv(series_id: str, max_rows: int = 36, timeout: float = 8
"status": NO_DATA_AVAILABLE, "status": NO_DATA_AVAILABLE,
"value": None, "value": None,
}) })
return rows return rows[-max_rows:]
def _score_macro_int(face_int: int, ing_map: dict[str, str]) -> dict[str, Any]: def _score_macro_int(face_int: int, ing_map: dict[str, str]) -> dict[str, Any]:
sp_eng = int_to_spoken_words(abs(face_int)) sp_eng = int_to_spoken_words(abs(face_int))
sp_eng_aq = compute_aq(sp_eng) sp_eng_aq = compute_aq(sp_eng)
sp_ing = ing_map.get(sp_eng, sp_eng) sp_ing = ing_map.get(sp_eng) or translate_batch([sp_eng]).get(sp_eng, sp_eng)
sp_ing_aq = compute_aq(sp_ing) sp_ing_aq = compute_aq(sp_ing)
ring_hits = sorted( ring_hits = sorted(
{ {
@@ -299,20 +333,47 @@ def build_macro_indicators_bundle(
cached_bundle = {} cached_bundle = {}
cached_series = (cached_bundle.get("raw_fred_observations") or {}) if isinstance(cached_bundle, dict) else {} cached_series = (cached_bundle.get("raw_fred_observations") or {}) if isinstance(cached_bundle, dict) else {}
from hyperstitionstud_io.quant.collector import latest_completed_closing_bell_date_utc
for spec in FRED_SERIES_SPEC: max_closed_dt = latest_completed_closing_bell_date_utc()
def _fetch_one_spec(spec: dict[str, Any]) -> tuple[str, list[dict[str, Any]]]:
sid = spec["series_id"] sid = spec["series_id"]
fetched: list[dict[str, Any]] = [] is_daily = spec["cadence"] == "1d"
min_dt = MIN_MACRO_DAILY_DATE_UTC if is_daily else None
fetched_rows: list[dict[str, Any]] = []
if allow_live_network: if allow_live_network:
try: try:
fetched = fetch_fred_series_csv(sid, max_rows=28) fetched_rows = fetch_fred_series_csv(
sid,
max_rows=36,
min_date_utc=min_dt,
max_date_utc=max_closed_dt,
)
except Exception: except Exception:
fetched = [] fetched_rows = []
if not fetched and sid in cached_series and cached_series[sid]: prior_rows = list(cached_series.get(sid) or [])
fetched = list(cached_series[sid]) if not prior_rows and not fetched_rows and sid in _VERIFIED_FRED_SEED_OBSERVATIONS:
if not fetched and sid in _VERIFIED_FRED_SEED_OBSERVATIONS: prior_rows = list(_VERIFIED_FRED_SEED_OBSERVATIONS[sid])
fetched = list(_VERIFIED_FRED_SEED_OBSERVATIONS[sid]) merged_by_dt: dict[str, dict[str, Any]] = {}
raw_series_by_id[sid] = fetched for r in prior_rows + fetched_rows:
if not isinstance(r, dict) or not r.get("date_utc"):
continue
dt_s = str(r["date_utc"])
if min_dt and dt_s < min_dt:
continue
if dt_s > max_closed_dt:
continue
prev_r = merged_by_dt.get(dt_s)
if prev_r is None or (not prev_r.get("data_available") and r.get("data_available")):
merged_by_dt[dt_s] = r
return sid, [merged_by_dt[k] for k in sorted(merged_by_dt.keys())][-36:]
import concurrent.futures
with concurrent.futures.ThreadPoolExecutor(max_workers=7) as pool:
for sid, rows_list in pool.map(_fetch_one_spec, FRED_SERIES_SPEC):
raw_series_by_id[sid] = rows_list
# Pre-collect spoken integer strings for batch Ingglish translation # Pre-collect spoken integer strings for batch Ingglish translation
phrases: set[str] = set() phrases: set[str] = set()
@@ -433,7 +494,11 @@ def build_macro_indicators_bundle(
"aq_evaluation": aq_eval, "aq_evaluation": aq_eval,
"change_aq_evaluation": chg_eval, "change_aq_evaluation": chg_eval,
"missing_observation_dates": missing_dates, "missing_observation_dates": missing_dates,
"recent_observations": obs_list[-12:], "recent_observations": (
[r for r in obs_list if r["date_utc"] >= MIN_MACRO_DAILY_DATE_UTC]
if spec["cadence"] == "1d"
else obs_list[-13:]
),
} }
# Compute Derived Spreads & Velocity Ratios (Strictly Null-Preserving) # Compute Derived Spreads & Velocity Ratios (Strictly Null-Preserving)
+11 -3
View File
@@ -447,10 +447,18 @@ def build_quant_timeseries_bundle(
with ReadOnlyIsolationGuard(cfg.read_only_files) as guard: with ReadOnlyIsolationGuard(cfg.read_only_files) as guard:
dated_dossiers = _extract_dated_news_dossiers(cfg.archive_dir) dated_dossiers = _extract_dated_news_dossiers(cfg.archive_dir)
real_history = _load_real_market_history_bars(cfg) real_history = _load_real_market_history_bars(cfg)
all_dates = set() all_dates: set[str] = set()
for sym_hist in real_history.values(): for sym_hist in real_history.values():
all_dates.update(sym_hist.keys()) for k in sym_hist.keys():
dates_utc = sorted(list(all_dates)) if re.match(r"^\d{4}-\d{2}-\d{2}$", str(k)):
all_dates.add(str(k))
if all_dates:
start_d = datetime.date.fromisoformat(min(all_dates))
end_d = datetime.date.fromisoformat(max(all_dates))
span_days = (end_d - start_d).days
dates_utc = [(start_d + datetime.timedelta(days=i)).isoformat() for i in range(span_days + 1)]
else:
dates_utc = sorted(dated_dossiers.keys())
num_days = len(dates_utc) num_days = len(dates_utc)
# Pre-collect all phrases needed for batch Ingglish translation from real observations only # Pre-collect all phrases needed for batch Ingglish translation from real observations only
+57 -2
View File
@@ -319,6 +319,57 @@ def test_ipld_quant_and_mcp_server() -> None:
assert all(re.match(r"^\d{4}-\d{2}-\d{2}$", d) for d in ts_full["dates_utc"]) assert all(re.match(r"^\d{4}-\d{2}-\d{2}$", d) for d in ts_full["dates_utc"])
assert len(ts_full["instruments"]) == 24 assert len(ts_full["instruments"]) == 24
# Strict regression check: Ensure all dates present in real market history are fully covered in dates_utc,
# timeseries.py contains 0 hardcoded year/month date generators, and telemetry snapshot reconciliation is lossless & zero-churn
import tempfile
from hyperstitionstud_io.quant.collector import (
latest_completed_closing_bell_date_utc,
reconcile_telemetry_snapshot,
snapshot_local_telemetry,
)
from hyperstitionstud_io.quant.timeseries import _load_real_market_history_bars
cfg_test = load_workspace_config()
ts_py_src = (cfg_test.core_dir / "src" / "hyperstitionstud_io" / "quant" / "timeseries.py").read_text(encoding="utf-8")
assert 'f"2026-' not in ts_py_src and 'startswith("2026-")' not in ts_py_src
real_hist_test = _load_real_market_history_bars(cfg_test)
history_dates = set()
for sym_obj in real_hist_test.values():
history_dates.update(sym_obj.keys())
for d in history_dates:
assert d in ts_full["dates_utc"], f"Regression: Real history date {d} missing from timeseries dates_utc!"
max_closed_dt = latest_completed_closing_bell_date_utc()
assert all(d <= max_closed_dt for d in history_dates), f"Premature unclosed date found in real market history (> {max_closed_dt})"
with tempfile.TemporaryDirectory() as tmp_reconcile_dir:
tmp_r = Path(tmp_reconcile_dir)
snap_d = tmp_r / "snap"
cur_d = tmp_r / "cur"
snap_res = snapshot_local_telemetry(snap_d)
assert snap_res["ok"] is True and "real-market-history.json" in snap_res["saved_files"]
snapshot_local_telemetry(cur_d)
cur_hist_file = cur_d / "real-market-history.json"
pre_bytes = cur_hist_file.read_bytes()
# 1. When cur_d already has all completed bars (even if snap_d has a premature future date), 0 writes occur
snap_doc = json.loads((snap_d / "real-market-history.json").read_text(encoding="utf-8"))
snap_doc["instruments"]["BTC-USD"]["bars_by_date"]["2099-12-31"] = {
"date_utc": "2099-12-31",
"close_usd": 99999.0,
}
(snap_d / "real-market-history.json").write_text(json.dumps(snap_doc), encoding="utf-8")
noop_rec = reconcile_telemetry_snapshot(snap_d, quant_dir=cur_d, max_date_utc=max_closed_dt, recompile_bundles=False)
assert noop_rec["reconciled_new_data"] is False and noop_rec["merged_bars_count"] == 0
assert cur_hist_file.read_bytes() == pre_bytes
# 2. When cur_d is missing a completed bar that exists in snap_d, reconcile_telemetry_snapshot losslessly restores it
cur_doc = json.loads(cur_hist_file.read_text(encoding="utf-8"))
nvda_bars_map = cur_doc["instruments"]["NVDA"]["bars_by_date"]
latest_nvda_dt = sorted(nvda_bars_map.keys())[-1]
removed_bar = nvda_bars_map.pop(latest_nvda_dt)
cur_hist_file.write_text(json.dumps(cur_doc), encoding="utf-8")
merge_rec = reconcile_telemetry_snapshot(snap_d, quant_dir=cur_d, max_date_utc=max_closed_dt, recompile_bundles=False)
assert merge_rec["reconciled_new_data"] is True and merge_rec["merged_bars_count"] == 1
restored_doc = json.loads(cur_hist_file.read_text(encoding="utf-8"))
assert restored_doc["instruments"]["NVDA"]["bars_by_date"][latest_nvda_dt]["close_usd"] == removed_bar["close_usd"]
anthr_ts = next(x for x in ts_full["instruments"] if x["symbol"] == "ANTHR-PVT") anthr_ts = next(x for x in ts_full["instruments"] if x["symbol"] == "ANTHR-PVT")
assert anthr_ts["data_available"] is False assert anthr_ts["data_available"] is False
assert anthr_ts["available_trading_days"] == 0 assert anthr_ts["available_trading_days"] == 0
@@ -733,8 +784,12 @@ def test_ipld_quant_and_mcp_server() -> None:
mac_code, _, mac_body = dispatch_rest_v1("GET", "/api/v1/tools/hs_inspect_macro_indicators") mac_code, _, mac_body = dispatch_rest_v1("GET", "/api/v1/tools/hs_inspect_macro_indicators")
assert mac_code == 200 and mac_body["data"]["synthetic_data_eliminated"] is True assert mac_code == 200 and mac_body["data"]["synthetic_data_eliminated"] is True
assert mac_body["data"]["series_count"] == 14 assert mac_body["data"]["series_count"] == 14
assert mac_body["data"]["series"]["effr"]["aq_evaluation"]["face_int"] == 388 effr_series = mac_body["data"]["series"]["effr"]
assert mac_body["data"]["derived_indicators"]["m1_vs_m2_spread"]["m2_minus_m1_trillions_str"] == "$3.37T" assert effr_series["aq_evaluation"]["face_int"] == int(round(float(effr_series["latest_value"]) * 100))
assert "2026-11-26" in effr_series["missing_observation_dates"]
assert mac_body["data"]["series"]["cpi"]["yoy_change_pct"] is not None
m2_m1_str = mac_body["data"]["derived_indicators"]["m1_vs_m2_spread"]["m2_minus_m1_trillions_str"]
assert isinstance(m2_m1_str, str) and m2_m1_str.startswith("$") and m2_m1_str.endswith("T")
# Verify Plan 4: 5-Agenda Daily Portfolio & Memetic Regime Update (hs-daily-brief) # Verify Plan 4: 5-Agenda Daily Portfolio & Memetic Regime Update (hs-daily-brief)
brf_code, _, brf_body = dispatch_rest_v1("GET", "/api/v1/tools/hs_generate_daily_portfolio_brief") brf_code, _, brf_body = dispatch_rest_v1("GET", "/api/v1/tools/hs_generate_daily_portfolio_brief")