feat(v2.0.8): implement ipld dag-json/CIDv1, quant financial collector, MCP server (hs-mcp), /learn/ sub-page, /gallery/ sub-page, and global Lemurs footer

This commit is contained in:
Hermes Agent committed 2026-11-30 03:39:56 +00:00
1 parent b767f8a4e9
commit c17f74097b
55 files changed
+3974 -10

No files matched your search

+90
View File
@@ -0,0 +1,90 @@
"""
hyperstitionstud_io.mcp.prompts — Guided Workflow Prompts for MCP Clients.
"""
from __future__ import annotations
from typing import Any
MCP_PROMPTS: list[dict[str, Any]] = [
{
"name": "analyze_headline_zoology",
"description": "Extract tokens from a news headline or financial event, evaluate Gen 0 -> Gen 1 Ingglish AQ locks, check Two-Gate M1-M7+ activation, and synthesize a zero-padding Technocapital Singularity analysis.",
"arguments": [
{"name": "headline", "description": "Headline or event description to analyze.", "required": True},
],
},
{
"name": "draft_stakeholder_proposal_section",
"description": "Draft an evidence-grounded section for a Fund Manager, Corporate Board, or Fantasy Roster stakeholder using native register metrics and verified citation ledger IDs.",
"arguments": [
{"name": "audience", "description": "Target register: fund_manager, corporate_board, or fantasy_football.", "required": True},
{"name": "focus_guild", "description": "Target guild/build, e.g. S1, S2, S3, S6, M1, or M7+.", "required": False},
],
},
{
"name": "trace_knowledge_graph_bridge",
"description": "Trace how two concepts, specimens, or guilds connect across the 13 Multi-Build Flex Singularities and 333/666/777 attractors in the Encyclopedia Knowledge Graph.",
"arguments": [
{"name": "start_query", "description": "Starting node query (e.g. 'Blackwell' or '125').", "required": True},
{"name": "target_query", "description": "Target node query (e.g. 'Anthropic' or 'S6').", "required": True},
],
},
{
"name": "pokedex_field_scanner_card",
"description": "Format a Technocapital Singularity specimen or emergent M7+ coordinate hub as a Gen IV INFO Pokedex field-scanner card.",
"arguments": [
{"name": "specimen_or_coord", "description": "Specimen name or integer AQ coordinate (e.g. '129' or 'M7+').", "required": True},
],
},
]
def get_mcp_prompt(name: str, arguments: dict[str, Any] | None = None) -> dict[str, Any]:
args = arguments or {}
if name == "analyze_headline_zoology":
hl = args.get("headline", "<headline>")
text = (
f"Analyze the following headline under the Technocapital Singularity Zoology framework:\n"
f"Headline: \"{hl}\"\n\n"
"Step 1: Call `hs_evaluate_aq_and_ingglish` and `hs_classify_singularity` on the core nouns, verbs, and entities in the headline.\n"
"Step 2: Check for G1 Variance-Collapse Triads (Gen 0 dispersion -> Gen 1 exact equivalence), G2 Cross-Gen Twins, and G4 Isometric Chokepoints (Δ = 0).\n"
"Step 3: Check whether both Machinic Phylum (S1-S5) and Apparatus of Capture (S6) are co-present (Double Articulation), and unlock an M1-M6 memetic subclass ONLY if the headline's observable thermodynamic state matches.\n"
"Step 4: Call `hs_search_archive_equations` to ground the analysis in verified 333/666/777 equations with 0.0% generic padding."
)
elif name == "draft_stakeholder_proposal_section":
aud = args.get("audience", "fund_manager")
fg = args.get("focus_guild", "all")
text = (
f"Draft a stakeholder analysis section for audience='{aud}' focusing on build='{fg}':\n"
f"Step 1: Call `hs_inspect_eti_tier_list` with `register='{aud}'` and `build_filter='{fg}'`.\n"
"Step 2: Omit French philosophical jargon (Deleuze, Guattari, Body without Organs, Schizoanalysis) and cite only concrete tech/finance nouns from each equivalence ring (e.g. synthetic data == asset management = 292, capital == capture = 125, ASML == asset = 81, TSMC == loss = 91).\n"
"Step 3: Ground all claims with inline [n] citations verified via `hs_verify_grounded_citations`."
)
elif name == "trace_knowledge_graph_bridge":
s_q = args.get("start_query", "125")
t_q = args.get("target_query", "193")
text = (
f"Trace the topological bridge between '{s_q}' and '{t_q}' in the Encyclopedia Knowledge Graph:\n"
f"Step 1: Call `hs_query_knowledge_graph` for '{s_q}' and for '{t_q}'.\n"
"Step 2: Identify shared AQCoordinateHub nodes, 13-Flex Pivots (292, 256, 211, 193, 183, 153, 137, 136, 133, 125, 96, 95, 91/81), and 333/666/777 repdigit attractors connecting their 1-hop ego networks."
)
elif name == "pokedex_field_scanner_card":
spec = args.get("specimen_or_coord", "129")
text = (
f"Synthesize a Gen IV INFO Pokedex field-scanner card for '{spec}':\n"
f"Step 1: Call `hs_query_knowledge_graph` with `query='{spec}'` and `hs_inspect_eti_tier_list`.\n"
"Step 2: Output the Pokedex header (Dex #, Taxon Class S1-S6 / M1-M7+, ETI Tier S+..D), the 6-stat telemetry bar (ARM, VEL, COL, CAP, PRM, RES), the G1 Variance-Collapse equation, and the 3-line field scanner entry."
)
else:
raise ValueError(f"Unknown MCP prompt: {name}")
return {
"description": f"Guided prompt for {name}",
"messages": [
{
"role": "user",
"content": {"type": "text", "text": text},
}
],
}