diff --git a/README.md b/README.md index 8074e0a..5a47feb 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ > **Gitea Commit & Release Telemetry (`v2.10.0` • 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 → [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/) -> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.10.0 release state across 1 tracked module/artifact surface(s) -> - **Touched Files / Surfaces:** `deploy/test-first-deployment.sh` +> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.10.0 release state across 2 tracked module/artifact surface(s) +> - **Touched Files / Surfaces:** `deploy/test-first-deployment.sh`, `src/hyperstitionstud_io/mcp/tools.py` > - **Live Verified Ecosystem Metrics (`v2.10.0`):** `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 diff --git a/deploy/test-first-deployment.sh b/deploy/test-first-deployment.sh index 460f5a4..429345d 100755 --- a/deploy/test-first-deployment.sh +++ b/deploy/test-first-deployment.sh @@ -89,9 +89,11 @@ ROUTES=( "/graph/docs/periodic-harvest-cicd-to-vps-flow-diagram.png" "/graph/docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.pdf" "/graph/docs/OPERATORS-MANUAL-LLM-TOKEN-DEPENDENT-DATA-PIPELINES.pdf" - "/graph/docs/PLAN-LEXICAL-AND-ETYMOLOGICAL-SIMPLIFICATION.pdf" - "/graph/docs/PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.pdf" - "/graph/docs/PLAN-LLM-TOKEN-ECONOMIZER-DATA-FIDELITY-AND-DEGRADATION-RISK-EVALUATION.pdf" + "/graph/docs/plans/piecewise/PLAN-PIECEWISE-COMPLETE-SOFTWARE-ENGINEERING-EXPLICATION.pdf" + "/graph/docs/plans/piecewise/PLAN-PIECEWISE-COMPLETE-MATHEMATICS-AND-INFO-SCIENCE-EXPLICATION.pdf" + "/graph/docs/plans/inactive/PLAN-LEXICAL-AND-ETYMOLOGICAL-SIMPLIFICATION.pdf" + "/graph/docs/plans/inactive/PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.pdf" + "/graph/docs/plans/inactive/PLAN-LLM-TOKEN-ECONOMIZER-DATA-FIDELITY-AND-DEGRADATION-RISK-EVALUATION.pdf" "/encyclopedia/00-index-and-ontological-atlas/00-master-encyclopedia-index-a-to-z.pdf" "/technocapital-singularity-zoology/encyclopedia/00-index-and-ontological-atlas/00-master-encyclopedia-index-a-to-z.pdf" "/zoology/encyclopedia-of-technocapital-singularity-zoology-overview-and-manifest.pdf" diff --git a/src/hyperstitionstud_io/mcp/tools.py b/src/hyperstitionstud_io/mcp/tools.py index 3fa76d4..2c1c0a0 100644 --- a/src/hyperstitionstud_io/mcp/tools.py +++ b/src/hyperstitionstud_io/mcp/tools.py @@ -787,13 +787,24 @@ def call_mcp_tool(name: str, arguments: dict[str, Any]) -> dict[str, Any]: }, ] - for p_plan in sorted((cfg.knowledge_graph_dir / "docs").glob("PLAN-*.md")): - manuals_list.append({ - "id": p_plan.stem, - "category": "active_and_deferred_plans", - "md_path": p_plan, - "web_pdf_route": f"/graph/docs/{p_plan.stem}.pdf", - }) + plan_search_dirs = [ + cfg.knowledge_graph_dir / "docs", + cfg.knowledge_graph_dir / "docs" / "plans" / "active", + cfg.knowledge_graph_dir / "docs" / "plans" / "piecewise", + cfg.knowledge_graph_dir / "docs" / "plans" / "inactive", + ] + for p_dir in plan_search_dirs: + if not p_dir.is_dir(): + continue + rel_sub = p_dir.relative_to(cfg.knowledge_graph_dir / "docs").as_posix() + route_prefix = "/graph/docs" if rel_sub == "." else f"/graph/docs/{rel_sub}" + for p_plan in sorted(p_dir.glob("PLAN-*.md")): + manuals_list.append({ + "id": p_plan.stem, + "category": "active_and_deferred_plans", + "md_path": p_plan, + "web_pdf_route": f"{route_prefix}/{p_plan.stem}.pdf", + }) docs_out: list[dict[str, Any]] = [] for entry in manuals_list: