Skip to content

chore: drop dead ignore rules and fold architecture notes into README - #24

Merged
HackedRico merged 3 commits into
mainfrom
chore/cleanup-ignores-and-docs
Aug 27, 2026
Merged

chore: drop dead ignore rules and fold architecture notes into README#24
HackedRico merged 3 commits into
mainfrom
chore/cleanup-ignores-and-docs

Conversation

@HackedRico

Copy link
Copy Markdown
Collaborator

Description

Housekeeping only — no code, no config, no behaviour change. Split out of chores/artifacts so the cleanup can land independently of the api_base refactor on that branch, which is breaking and needs its own review.

Three commits:

  • chore(gitignore) — drop rules matching nothing in the tree (**/z_plans, graphify-out/, data/mcp-data-pre-merge/), delete the now-unused .graphifyignore, and ignore the MLflow artifact root mlruns/ that hook.py creates next to itself at boot.
  • docs — fold architecture.md into a proper Architecture section in README.md (reasoning stack, plugin discovery) and drop the two plugins/range/ references from PLUGIN_MCP.md that pointed at a plugin no longer vendored here.
  • chores — remove two .gitignore comments.

Diff is 5 files: .gitignore, .graphifyignore, PLUGIN_MCP.md, README.md, architecture.md. Zero .py files touched.

Type of change

  • This change requires a documentation update (it is the documentation update)

How Has This Been Tested?

No code changed, so behaviour is unchanged by construction — but the removals were verified rather than assumed:

  • Every removed ignore rule matches nothing. z_plans, graphify-out/, data/mcp-data-pre-merge/ do not exist in the tree, and git status --porcelain -uall is empty on this branch — no file becomes newly trackable.
  • mlruns.db is still ignored. It is covered by the existing *.db rule; confirmed with git check-ignore -v mlruns.db.gitignore:39:*.db. The new mlruns/ rule covers the artifact directory alongside it.
  • .graphifyignore is safe to delete. grep -rIl graphify over the tree returns nothing — no tooling reads it.
  • The architecture.md fold preserves the content, and the new README claims about discovery / RAG / MLflow were checked against the code that implements them.
  • Test suite is unaffected, as expected for a docs+ignore change: pytest plugins/mcp/tests/test_llm_client.py plugins/mcp/tests/test_model_config.py28 passed, 13 skipped (the 13 skips are the pre-existing MCP not enabled gate that needs a live CALDERA on localhost:8888).

Pre-existing and not addressed here: tests/test_relation_extractor.py imports cti_relation_extractor, which does not exist (the module is cti_relationships.py), so a full pytest plugins/mcp/tests/ aborts during collection. Present on main too; worth a separate fix.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works — n/a, no behaviour to test

Removes rules with no producer and no reference anywhere in the tree:
graphify-out/ (plus the tracked .graphifyignore, whose three patterns
match nothing), **/z_plans, and data/mcp-data-pre-merge/. Also drops
**/mlruns.db, which the later *.db rule already shadows at any depth.

Adds mlruns/, which is a real gap rather than a stylistic one: hook.py
points mlflow's --default-artifact-root at that directory, so the first
server start would have left untracked artifacts in the tree.

Keeps data/clean/ and data/stix_bundle.json. The first looks dead to a
literal grep but is live, cti_pipeline_stage1.py composes the path from
a constant. The second has no producer left but guards against re-adding
the 46 MB bundle untracked in 5c99bc0.
architecture.md was an unstructured brain dump rather than documentation.
Its content now lives in a README Architecture section covering the
DSPy/ReAct reasoning stack, the three supporting layers (MCP servers,
RAG, MLflow), and how per-plugin server discovery works.

PLUGIN_MCP.md loses the range integration test pointer in section 9.1
and the section 12 canonical-extension block. Section numbering stays
contiguous at 1 through 11.
@HackedRico
HackedRico merged commit 563bdc8 into main Aug 27, 2026
3 checks passed
@HackedRico
HackedRico deleted the chore/cleanup-ignores-and-docs branch August 27, 2026 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant