docs(memory): record hub-degree kill-criterion re-measurement (spec-067 §7.1)#6345
Merged
Conversation
…67 §7.1) Re-measures the spec-067 §7 hub-degree kill-criterion on the real 29-transcript subagent corpus per the #5467 follow-up. N=5 fixed dry-runs show a clean, decisive FAIL (25.8-29.3%, median 27.9%, 0/5 runs <=15%): #5467's language/tool anchoring fix relocated degree away from Python, but hub formation migrated to other incidentally-repeated command names (bash, curl), exactly as that fix's own analysis predicted. The conditional prompt.rs generalization was not applied because its precondition (a derivable signal-to-noise re-measurement) is not met by the existing dry-run report. Recommends deferring the epic #5012 graph-sink go/no-go call until a production-representative corpus becomes available. Closes #5625
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
knowledge ingest --source subagents --dry-run) yield a clean, decisive FAIL: top-entity share 25.8-29.3% (median 27.9%, 0/5 runs ≤15%). knowledge ingest: hub-degree kill-criterion fails in first live subagent extraction (Python 24.3%) #5467's Rule 3 language/tool anchoring fix measurably relocated degree away fromPython(now mid-table, never top), but hub formation migrated to other incidentally-repeated command names (bash,curl) — exactly as that fix's own root-cause analysis predicted.prompt.rsgeneralization (extending the anchoring rule to bareconcept-typed nouns) was not applied: its precondition — a derivable signal-to-noise (S/N) re-measurement alongside hub-degree — is not met by the existing dry-run report (IngestReportcarries only entity/degree counts, no edge-type breakdown).crates/zeph-memory/src/graph/ingest/prompt.rsis unchanged.openai-stt/gpt-4o-mini, cloud) was unreachable this session (quota exhaustion); measurement used a local Ollama substitute instead, documented as an explicit caveat — the two measurement cycles (knowledge ingest: hub-degree kill-criterion fails in first live subagent extraction (Python 24.3%) #5467 cloud, this PR local) agree qualitatively that the gate fails, but are not directly numerically comparable.This PR went through a full architect → critic (2 rounds, verdict significant → minor) → developer → tester/perf/security/impl-critic → reviewer (1 fix-and-re-review round) chain. No source code was changed — this is a measurement/reporting-only PR.
Closes #5625
Test plan
crates/zeph-memory/src/graph/ingest/prompt.rsconfirmed unchanged (git diffempty)dry_run_hub_top_nregression test (crates/zeph-memory/src/semantic/graph.rs) re-run, passescargo nextest run -p zeph -E 'test(knowledge)'(44/44) and-p zeph-memory(1659/1659) passgitleaks protect --stagedcleanknowledge-ingest.mdG3), main-repocoverage-status.mdrow 990origin/main, no conflicts (docs-only diff)