From 72958f9fe9e2e2ae4950dcbb77a4901dd3405af1 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Mon, 30 Nov 2026 03:39:56 +0000 Subject: [PATCH] feat(quant): add --scan-quant-harvest CLI flag to classify_technocapital_singularity.py (v2.0.8) --- scripts/classify_technocapital_singularity.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/scripts/classify_technocapital_singularity.py b/scripts/classify_technocapital_singularity.py index 3869bc5..49a3901 100755 --- a/scripts/classify_technocapital_singularity.py +++ b/scripts/classify_technocapital_singularity.py @@ -3183,6 +3183,13 @@ def main() -> int: action="store_true", help="Build and synchronize the multi-folder, alphabetically organized PDF Encyclopedia in /workspace/technocapital-singularity-zoology/encyclopedia/.", ) + ap.add_argument( + "--scan-quant-harvest", + nargs="?", + const="AUTO", + default=None, + help="Run or scan periodic quantitative financial telemetry harvest (financial-aq-harvest-latest.json) for Scope 1-3 contingent locks.", + ) ap.add_argument("--out", default=None, help="Optional JSON output file path.") args = ap.parse_args() @@ -3210,7 +3217,13 @@ def main() -> int: report = analyze_terms(processed_terms, workdir=args.workdir) report["quant_mode"] = args.quant_mode - if args.add_glossary_term: + if args.scan_quant_harvest is not None: + from hyperstitionstud_io.quant.collector import build_financial_quant_harvest + + snap = None if args.scan_quant_harvest == "AUTO" else args.scan_quant_harvest + q_payload = build_financial_quant_harvest(harvest_mode="us-closing-bell", snapshot_path=snap) + out_str = json.dumps(q_payload, indent=2, ensure_ascii=False) + elif args.add_glossary_term: t_name, t_cat, t_def = args.add_glossary_term gl_payload = sync_glossary( memetic_registry_path=args.memetic_registry,