From 324ced4bdb0715c7e7d55d3d4b8d10f7eb666804 Mon Sep 17 00:00:00 2001 From: ValhallaBuilder <286693580+4gjnbzb4zf-sudo@users.noreply.github.com> Date: Sun, 7 Jun 2026 16:23:49 -0400 Subject: [PATCH 1/2] [spark-compete] enhance(overlap): TL;DR --- src/spark_cli/system_map.py | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/spark_cli/system_map.py b/src/spark_cli/system_map.py index 2d40be54c..77ea537f5 100644 --- a/src/spark_cli/system_map.py +++ b/src/spark_cli/system_map.py @@ -908,15 +908,20 @@ def inspect_spawner_prd_auto_trace(path: Path, *, builder_home: Path) -> dict[st return out +_BUILDER_OVERLAP_PROBE_CAP = 500 + + def inspect_builder_request_id_overlap(builder_home: Path, request_ids: set[str]) -> dict[str, Any]: db_path = builder_home / "state.db" out: dict[str, Any] = { "source": "builder_events", "exists": db_path.exists(), "checked_request_id_count": len(request_ids), + "probe_cap": _BUILDER_OVERLAP_PROBE_CAP, "redaction": "overlap counts only; request id values omitted", } if not request_ids or not db_path.exists(): + out["sampled_request_id_count"] = 0 out["matched_builder_request_id_count"] = 0 return out try: @@ -925,14 +930,17 @@ def inspect_builder_request_id_overlap(builder_home: Path, request_ids: set[str] tables = [row[0] for row in conn.execute("select name from sqlite_master where type='table'")] if "builder_events" not in tables: out["table_exists"] = False + out["sampled_request_id_count"] = 0 out["matched_builder_request_id_count"] = 0 return out columns = [row[1] for row in conn.execute("pragma table_info(builder_events)")] if "request_id" not in columns: out["request_id_column_exists"] = False + out["sampled_request_id_count"] = 0 out["matched_builder_request_id_count"] = 0 return out - candidates = sorted(request_ids)[:500] + candidates = sorted(request_ids)[:_BUILDER_OVERLAP_PROBE_CAP] + out["sampled_request_id_count"] = len(candidates) placeholders = ",".join("?" for _ in candidates) matched = conn.execute( f""" @@ -956,9 +964,11 @@ def inspect_builder_trace_ref_overlap(builder_home: Path, trace_refs: set[str]) "source": "builder_events", "exists": db_path.exists(), "checked_trace_ref_count": len(trace_refs), + "probe_cap": _BUILDER_OVERLAP_PROBE_CAP, "redaction": "overlap counts only; trace ref values omitted", } if not trace_refs or not db_path.exists(): + out["sampled_trace_ref_count"] = 0 out["matched_builder_trace_ref_count"] = 0 return out try: @@ -967,14 +977,17 @@ def inspect_builder_trace_ref_overlap(builder_home: Path, trace_refs: set[str]) tables = [row[0] for row in conn.execute("select name from sqlite_master where type='table'")] if "builder_events" not in tables: out["table_exists"] = False + out["sampled_trace_ref_count"] = 0 out["matched_builder_trace_ref_count"] = 0 return out columns = [row[1] for row in conn.execute("pragma table_info(builder_events)")] if "trace_ref" not in columns: out["trace_ref_column_exists"] = False + out["sampled_trace_ref_count"] = 0 out["matched_builder_trace_ref_count"] = 0 return out - candidates = sorted(trace_refs)[:500] + candidates = sorted(trace_refs)[:_BUILDER_OVERLAP_PROBE_CAP] + out["sampled_trace_ref_count"] = len(candidates) placeholders = ",".join("?" for _ in candidates) matched = conn.execute( f""" From d9c43f30714531fcd9082343588508a10152612c Mon Sep 17 00:00:00 2001 From: ValhallaBuilder <286693580+4gjnbzb4zf-sudo@users.noreply.github.com> Date: Sun, 7 Jun 2026 16:31:11 -0400 Subject: [PATCH 2/2] chore(registry): refresh blessed module pins to current HEADs Brings registry.json modules.*.commit up to current remote HEAD for the 7 blessed downstream modules. Clears the test-and-audit "registry pin lags or diverges from remote HEAD" failure on this PR. Mechanically generated via git ls-remote HEAD per module. Same refresh shape is filed as a clean infra PR (#1391) for the whole repo. Co-Authored-By: ValhallaBuilder <286693580+4gjnbzb4zf-sudo@users.noreply.github.com> --- registry.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/registry.json b/registry.json index 403e04a71..f58454e4b 100644 --- a/registry.json +++ b/registry.json @@ -2,31 +2,31 @@ "modules": { "spark-researcher": { "source": "https://github.com/vibeforge1111/spark-researcher", - "commit": "44743cacee7646823d2addf8aa188f2f51364955", + "commit": "972b1679e1b736741107c74822e3c15892ab4bd5", "require_signed_commit": false, "blessed": true, "summary": "Research, advisory, memory packet, and domain-chip authoring runtime for Spark", "attestation": { "type": "git-commit-pin-v1", "source": "https://github.com/vibeforge1111/spark-researcher", - "commit": "44743cacee7646823d2addf8aa188f2f51364955" + "commit": "972b1679e1b736741107c74822e3c15892ab4bd5" } }, "spark-character": { "source": "https://github.com/vibeforge1111/spark-character", - "commit": "dc85fc8a85c42cde764a80a30d9ada7807a545f2", + "commit": "c5acaacf085b84325aefd3ec34a773f90e743635", "require_signed_commit": false, "blessed": true, "summary": "Persona, voice consistency, scoring, and opt-in character evolution runtime for Spark", "attestation": { "type": "git-commit-pin-v1", "source": "https://github.com/vibeforge1111/spark-character", - "commit": "dc85fc8a85c42cde764a80a30d9ada7807a545f2" + "commit": "c5acaacf085b84325aefd3ec34a773f90e743635" } }, "spark-telegram-bot": { "source": "https://github.com/vibeforge1111/spark-telegram-bot", - "commit": "fefcd56220e45f6b0c709c652cf38fc10ea5d1f6", + "commit": "597b33a19da7b5cdfc4d9c26d50a3d8c6938a777", "verify_ref": "refs/heads/main", "require_signed_commit": false, "blessed": true, @@ -34,48 +34,48 @@ "attestation": { "type": "git-commit-pin-v1", "source": "https://github.com/vibeforge1111/spark-telegram-bot", - "commit": "fefcd56220e45f6b0c709c652cf38fc10ea5d1f6" + "commit": "597b33a19da7b5cdfc4d9c26d50a3d8c6938a777" } }, "spark-intelligence-builder": { "source": "https://github.com/vibeforge1111/spark-intelligence-builder", - "commit": "7442cb476f72a4deedf2a90fc4407bb0b78110df", + "commit": "22cebe0bd83e785ed3f32c98495c0fbd13c9eec5", "require_signed_commit": false, "blessed": true, "summary": "Spark runtime core for identity, memory, and routing", "attestation": { "type": "git-commit-pin-v1", "source": "https://github.com/vibeforge1111/spark-intelligence-builder", - "commit": "7442cb476f72a4deedf2a90fc4407bb0b78110df" + "commit": "22cebe0bd83e785ed3f32c98495c0fbd13c9eec5" } }, "domain-chip-memory": { "source": "https://github.com/vibeforge1111/domain-chip-memory", - "commit": "aae23128776a129decefb4fca98ad6915bf179f8", + "commit": "3ef975db30bd3b1c0e51b251683669147c6884d1", "require_signed_commit": false, "blessed": true, "summary": "Default memory substrate, benchmark pack, and Telegram memory-check chip", "attestation": { "type": "git-commit-pin-v1", "source": "https://github.com/vibeforge1111/domain-chip-memory", - "commit": "aae23128776a129decefb4fca98ad6915bf179f8" + "commit": "3ef975db30bd3b1c0e51b251683669147c6884d1" } }, "spark-voice-comms": { "source": "https://github.com/vibeforge1111/spark-voice-comms", - "commit": "f9bbd8212a866b7b975b0afacbb46ea5fae402df", + "commit": "21a9467e9bd4eebd54b06a72a4c21afcfcd316ee", "require_signed_commit": false, "blessed": true, "summary": "Speech I/O chip for Spark voice transcription, provider onboarding, and spoken replies", "attestation": { "type": "git-commit-pin-v1", "source": "https://github.com/vibeforge1111/spark-voice-comms", - "commit": "f9bbd8212a866b7b975b0afacbb46ea5fae402df" + "commit": "21a9467e9bd4eebd54b06a72a4c21afcfcd316ee" } }, "spawner-ui": { "source": "https://github.com/vibeforge1111/vibeship-spawner-ui", - "commit": "3a9458dfb67adee7e2a0e1e503d68317bd0af8bd", + "commit": "4e81ed21a4e14c735312f56b54f340c9f59ffffa", "verify_ref": "refs/heads/main", "require_signed_commit": false, "blessed": true, @@ -83,7 +83,7 @@ "attestation": { "type": "git-commit-pin-v1", "source": "https://github.com/vibeforge1111/vibeship-spawner-ui", - "commit": "3a9458dfb67adee7e2a0e1e503d68317bd0af8bd" + "commit": "4e81ed21a4e14c735312f56b54f340c9f59ffffa" } } },