feat(memory): initialize threat-model repository memory - #281
Merged
Conversation
mpekatsoula
commented
Jul 27, 2026
Contributor
- Load well-known and configured threat-model documents into repository memory.
- Distill reusable claims and compile explicit policy and caller-contract guidance.
- Replace threat-model snapshots atomically after successful initialization.
- Verify with the full pytest suite and targeted mypy checks.
mpekatsoula
force-pushed
the
feature/history-memory-02-init-threat-model
branch
21 times, most recently
from
July 28, 2026 21:54
7f5cbd3 to
570dab4
Compare
- Load configured and well-known text threat-model documents into repository memory. - Keep PDF indexing support while excluding PDFs from direct threat-model ingestion. - Resolve sources within the codebase and preserve authoritative claim provenance. - Use provider-aware token splitting and structured claim extraction through the central LLM runner. - Deduplicate claims without arbitrary record limits and keep original claims when reduction fails. - Replace only initialization-owned memory namespaces and retain later feature records. - Simplify source discovery, normalization, configuration, and contract construction. - Verify the full pytest suite, pre-commit suite, and targeted threat-context type checking.
mpekatsoula
force-pushed
the
feature/history-memory-02-init-threat-model
branch
from
July 28, 2026 22:03
570dab4 to
f782166
Compare
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.