Release v2.1.1: Fix ProtectSystem=strict read-only filesystem handling in hs_generate_ticker_stats_card and hyperstition-mcp.service
This commit is contained in:
1 parent
b9703cda5e
commit
e599f34525
41 files changed
+161
-136
No files matched your search
@@ -627,6 +627,12 @@ def test_ipld_quant_and_mcp_server() -> None:
|
||||
assert "Q-RUN-" in brf_body["data"]["agenda_5_daily_key_macro_question_and_rigor"]["active_daily_question"]["question_id"]
|
||||
|
||||
# Verify Plan 5: One-Shot Ticker Stats Card (.png + .json via Chatbot REST & MCP, 0 new REST endpoints)
|
||||
from hyperstitionstud_io.quant.cards import export_ticker_stats_card_pair
|
||||
|
||||
card_ro = export_ticker_stats_card_pair("NVDA", out_dir="/proc/nonexistent-readonly-cards", include_base64_png=True)
|
||||
assert card_ro["artifacts"]["persisted_to_disk"] is False
|
||||
assert len(card_ro["artifacts"]["png_base64"]) > 1000
|
||||
|
||||
card_code, _, card_body = dispatch_rest_v1("GET", "/api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA")
|
||||
assert card_code == 200 and card_body["data"]["synthetic_data_eliminated"] is True
|
||||
assert card_body["data"]["visual_style"] == "group_3_stealth_basalt_plate_and_micro_pip"
|
||||
|
||||
Reference in new issue
Block a user