You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
knowledge#38 ships the code to project AS215932 network flows into queryable
OKF claims (allows_from/connects_to/allows_port/runs_os/…) plus the hyrule-knowledge firewall / servers CLI and the four knowledge_* MCP
tools. However, the committed okf/generated host concepts predate the flow
enrichment — they carry no network_flows / host_meta frontmatter (last
regenerated 2026-07-03, before net-ops#430 merged). Because the CLI/MCP query
layer reads only the shipped exports/knowledge.sqlite, the new predicates
have 0 rows in the committed DB, so hyrule-knowledge firewall and the MCP
firewall tools return empty until the generated concepts + exports are
regenerated together (Codex flagged this on #38 as P1, comment 3564255612).
The feature-PR kept code separate from a full catalog refresh on purpose: a hyrule-knowledge ingest re-clones every source repo and would drag ~8
days of unrelated cross-repo concept drift into what is otherwise a focused
code PR (violates our small/separate-commit discipline). The nightly ingest.yml bot that would normally own this refresh has never merged to
main (no bot/knowledge-refresh commits; KNOWLEDGE_AUTO_MERGE defaults to
off), so the feature would otherwise sit dormant indefinitely.
Review the diff — confirm the generated/infrastructure/hosts/* concepts now
carry os/role/network_flows frontmatter and the flow sections, and that
cross-repo drift from other sources is expected/acceptable.
Validate: uv run hyrule-knowledge validate okf && … export --check && … pytest, then open a dedicated catalog-refresh PR (isolated from code).
Context
knowledge#38 ships the code to project AS215932 network flows into queryable
OKF claims (
allows_from/connects_to/allows_port/runs_os/…) plus thehyrule-knowledge firewall/serversCLI and the fourknowledge_*MCPtools. However, the committed
okf/generatedhost concepts predate the flowenrichment — they carry no
network_flows/host_metafrontmatter (lastregenerated 2026-07-03, before net-ops#430 merged). Because the CLI/MCP query
layer reads only the shipped
exports/knowledge.sqlite, the new predicateshave 0 rows in the committed DB, so
hyrule-knowledge firewalland the MCPfirewall tools return empty until the generated concepts + exports are
regenerated together (Codex flagged this on #38 as P1, comment 3564255612).
The feature-PR kept code separate from a full catalog refresh on purpose: a
hyrule-knowledge ingestre-clones every source repo and would drag ~8days of unrelated cross-repo concept drift into what is otherwise a focused
code PR (violates our small/separate-commit discipline). The nightly
ingest.ymlbot that would normally own this refresh has never merged tomain (no
bot/knowledge-refreshcommits;KNOWLEDGE_AUTO_MERGEdefaults tooff), so the feature would otherwise sit dormant indefinitely.
Action items
main:uv run hyrule-knowledge ingest(clones all sources incl. net-ops#430'smerged inventory), which regenerates
okf/generated+exports/.generated/infrastructure/hosts/*concepts nowcarry
os/role/network_flowsfrontmatter and the flow sections, and thatcross-repo drift from other sources is expected/acceptable.
uv run hyrule-knowledge validate okf && … export --check && … pytest, then open a dedicated catalog-refresh PR (isolated from code).hyrule-knowledge claims --predicate allows_port --object 22 --authority-min A0lists SSH hosts;
hyrule-knowledge firewall --port 9100returns rows.ingest.ymlschedule +KNOWLEDGE_AUTO_MERGEso future refreshes are automated instead of manual.
Related
host_meta,network_flows.yml).github/workflows/ingest.yml,.github/workflows/auto-merge.ymlsrc/hyrule_knowledge/{extractors/ansible.py,builder.py,claims.py,firewall.py}