Repository navigation
feat(facts): port extract + crm to Go — de-python the repo - #55
Merged
Merged
Conversation
bin/facts/extract.go and bin/facts/crm.go are now full Go implementations (zig + system_ladybug, facts_extract/facts_crm tags): - extract: docker ps x compose, ssh-config x docs two-source facts; writes var/kb.lbug via brain.OpenWritable/UpsertLeaf (Go model embeddings) - crm: ooCRM graph.json x knowledge-mesh corpus association proofing; corpus-org parser moved to internal/facts (CorpusOrgs) with tests - bin/brain/index.go --with-facts now execs the Go extractor via bin/cgo/zig - drop all in-tree python: kblib, crmfacts, facts/extract + facts/crm scripts, their unit tests, orphaned python gates, qa/load_test_bulk.py, pyproject.toml, requirements.lock.txt, uv.lock - docs updated (README/PLAN/AGENTS/runbook/roadmap); add gopkg.in/yaml.v3
eSlider
added a commit
that referenced
this pull request
Aug 21, 2026
…, docs truth-only bin/chats → bin/chat, internal/chats → internal/chat (singular, D14). refresh-linkedin-session python helper deleted — ported to internal/chat/linkedin_session.go (CDP cookies via x/net/websocket, profile copy, cookies.json + source-state.json); sync_linkedin calls it in-process (no subprocess). New bin/chat/refresh-session.go entry. docs/ = truth only: - plans/proofs archived to Gitea (#64 chat-import, #55 crm-proof, #58 load-baseline, #38 mail-plan) and deleted here; refactor-v1.0.md → epic #65 body - brain-rebuild → brain/rebuild.md, audit-recipes → facts/audit-recipes.md - design.md honesty fixes: import-git writes directly (was print-flow), no bin/kb/python claims, MCP surface = 3 tools, audit-db not 'audit stale' - roadmap marked historical; README index rewritten (current epics) AGENTS.md standing rules: Go-only/no Python, libs by domain, docs=truth, non-goals (graph semantics, reasoner/CGO untouched).
eSlider
added a commit
that referenced
this pull request
Aug 24, 2026
feat(facts): port extract + crm to Go — de-python the repo
eSlider
added a commit
that referenced
this pull request
Aug 24, 2026
…55) Reads the corpus mesh, confirms each org against the 2dph brain, diffs against the oo CRM, and emits (or applies via --apply) the oo CLI commands to fulfill person/company/opportunity associations. Idempotent: anything already present is skipped. Adds go.work.sum (go.work checksums).
eSlider
added a commit
that referenced
this pull request
Aug 24, 2026
…, docs truth-only bin/chats → bin/chat, internal/chats → internal/chat (singular, D14). refresh-linkedin-session python helper deleted — ported to internal/chat/linkedin_session.go (CDP cookies via x/net/websocket, profile copy, cookies.json + source-state.json); sync_linkedin calls it in-process (no subprocess). New bin/chat/refresh-session.go entry. docs/ = truth only: - plans/proofs archived to Gitea (#64 chat-import, #55 crm-proof, #58 load-baseline, #38 mail-plan) and deleted here; refactor-v1.0.md → epic #65 body - brain-rebuild → brain/rebuild.md, audit-recipes → facts/audit-recipes.md - design.md honesty fixes: import-git writes directly (was print-flow), no bin/kb/python claims, MCP surface = 3 tools, audit-db not 'audit stale' - roadmap marked historical; README index rewritten (current epics) AGENTS.md standing rules: Go-only/no Python, libs by domain, docs=truth, non-goals (graph semantics, reasoner/CGO untouched).
eSlider
added a commit
that referenced
this pull request
Sep 15, 2026
feat(facts): port extract + crm to Go — de-python the repo
eSlider
added a commit
that referenced
this pull request
Sep 15, 2026
…55) Reads the corpus mesh, confirms each org against the 2dph brain, diffs against the oo CRM, and emits (or applies via --apply) the oo CLI commands to fulfill person/company/opportunity associations. Idempotent: anything already present is skipped. Adds go.work.sum (go.work checksums).
eSlider
added a commit
that referenced
this pull request
Sep 15, 2026
…, docs truth-only bin/chats → bin/chat, internal/chats → internal/chat (singular, D14). refresh-linkedin-session python helper deleted — ported to internal/chat/linkedin_session.go (CDP cookies via x/net/websocket, profile copy, cookies.json + source-state.json); sync_linkedin calls it in-process (no subprocess). New bin/chat/refresh-session.go entry. docs/ = truth only: - plans/proofs archived to Gitea (#64 chat-import, #55 crm-proof, #58 load-baseline, #38 mail-plan) and deleted here; refactor-v1.0.md → epic #65 body - brain-rebuild → brain/rebuild.md, audit-recipes → facts/audit-recipes.md - design.md honesty fixes: import-git writes directly (was print-flow), no bin/kb/python claims, MCP surface = 3 tools, audit-db not 'audit stale' - roadmap marked historical; README index rewritten (current epics) AGENTS.md standing rules: Go-only/no Python, libs by domain, docs=truth, non-goals (graph semantics, reasoner/CGO untouched).
eSlider
pushed a commit
that referenced
this pull request
Sep 15, 2026
eSlider
pushed a commit
that referenced
this pull request
Sep 15, 2026
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.
Full Go ports of the last two python pipeline tools; removes all in-tree python.
extract (bin/facts/extract.go)
Two-source confirmed facts (docker ps x compose, ssh-config x docs markers), written into var/kb.lbug via brain.OpenWritable/UpsertLeaf with Go potion embeddings (bin/brain/model.go). Flags: --json, --dry-run, --ssh, --compose.
crm (bin/facts/crm.go)
Association proofing ooCRM graph.json x knowledge-mesh corpus. Corpus-org parser moved to internal/facts (CorpusOrgs) + unit tests (mirrors the removed python tests). Flags: --dry-run, --mismatches, --mesh, --graph.
housekeeping
Verified: zig builds for both tagged files; go test ./... green; extract + crm dry-run pass.