Repository navigation
community_23_modules_lazy_triage
grisun0 edited this page Oct 31, 2026
·
3 revisions
Community 23 | 2 files | cohesion 1.00
This community groups 2 file(s) rooted at modules with dominant language py (cohesion 1.00). Central symbols: SignatureStore, __init__, _load, _save, apply_rules, fresh_signature, hard_evidence, rank. Core file: tests/test_lazy_triage.py (11 symbols). Documented purpose: Triage doctrine: evidence floors, verdict algebra and signature dedup. Deterministic pre-LLM classification of one finding so the model can never invent proof..
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
modules/lazy_triage.py |
py | utility | 10 | yes |
tests/test_lazy_triage.py |
py | testing | 11 | yes |
-
rank(function,modules/lazy_triage.py:42)def rank(verdict)- Return the comparison rank of a triage verdict. -
hard_evidence(function,modules/lazy_triage.py:47)def hard_evidence(kind, facts)- Classify one finding from its deterministic evidence floor. -
apply_rules(function,modules/lazy_triage.py:80)def apply_rules(verdict, kind, facts)- Constrain a (model or operator) verdict by the evidence floor. -
signature_for(function,modules/lazy_triage.py:108)def signature_for(kind, fields)- Return the evidence signature of one classification request. -
SignatureStore(class,modules/lazy_triage.py:135)class SignatureStore- Bounded TTL store of already-answered evidence signatures. -
__init__(method,modules/lazy_triage.py:138)def __init__(self, sessions_dir, ttl)- Bind the store file under sessions/lazy. -
fresh_signature(method,modules/lazy_triage.py:144)def fresh_signature(self, signature, now)- Return the previous signature row when it is inside the TTL window. -
reset(method,modules/lazy_triage.py:162)def reset(self)- Drop every signature row. -
_load(method,modules/lazy_triage.py:166)def _load(self) -
_save(method,modules/lazy_triage.py:176)def _save(self, store) -
test_floor_confirms_shell_and_exploit_success(function,tests/test_lazy_triage.py:27)def test_floor_confirms_shell_and_exploit_success()- Given an exploit with shell, When the floor reads it, Then it confirms. -
test_cve_match_without_version_is_unknown(function,tests/test_lazy_triage.py:35)def test_cve_match_without_version_is_unknown()- Given a matched CVE with no version, When the floor reads it, Then it stays unknown. -
test_apply_rules_never_drops_below_floor(function,tests/test_lazy_triage.py:41)def test_apply_rules_never_drops_below_floor()- Given a dismissive verdict and hard evidence, When applied, Then the floor wins. -
test_unbacked_confirmed_demotes_to_likely(function,tests/test_lazy_triage.py:47)def test_unbacked_confirmed_demotes_to_likely()- Given model-confirmed with weak evidence, When applied, Then it demotes to likely. -
test_backed_confirmed_stays(function,tests/test_lazy_triage.py:53)def test_backed_confirmed_stays()- Given model-confirmed with hard evidence, When applied, Then it stays confirmed. -
test_version_unknown_is_immovable(function,tests/test_lazy_triage.py:58)def test_version_unknown_is_immovable()- Given model-unknown on any kind, When applied, Then it never moves. -
test_signature_excludes_asset_fields(function,tests/test_lazy_triage.py:65)def test_signature_excludes_asset_fields()- Given two different hosts, When signing, Then both share one signature. -
test_signature_keeps_evidence_terms(function,tests/test_lazy_triage.py:72)def test_signature_keeps_evidence_terms()- Given changed evidence, When signing, Then signatures diverge. -
test_signature_respects_ttl(function,tests/test_lazy_triage.py:79)def test_signature_respects_ttl(tmp_path, monkeypatch)- Given a fresh answer inside the window, When checked twice, Then only one reserve. -
test_signature_store_persists(function,tests/test_lazy_triage.py:88)def test_signature_store_persists(tmp_path)- Given a marked store, When reloaded, Then the reserve still reads. -
test_replay_within_ttl(function,tests/test_lazy_triage.py:96)def test_replay_within_ttl(tmp_path)- Given a second store instance reading the same file, When fresh, Then reuse happens.
- Internal resolved imports (EXTRACTED): 1
- Cross-boundary resolved imports (EXTRACTED): 0
- No cross-community bridges recorded. This community is self-contained.
- No scoped security, taint, cycle, or layer risks.
- What would break if the most connected file in modules: lazy_triage changed?
- Should modules: lazy_triage be split, given cohesion 1.00?
Generated offline by readmenator from commit 58d2c970e22d. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_modules_lazy_loop
- community_10_skills_claude_md_orchestrator
- community_11_modules_exploit_migrated
- community_12_modules_defense_eval
- community_13_modules_kerberos_core
- community_14_modules_saas_attacks
- community_15_skills_hermes_lazyown
- community_16_modules_polymorphic_engine
- community_17_modules_guardrails
- community_18_contrib_legacy
- community_19_tests
- community_1_cli_commands
- community_20_scripts_journal
- community_21_modules_backdoor
- community_22_modules_lazy_netattack
- community_23_modules_lazy_triage
- community_24_poc_tui
- community_25_scripts_check_contract_manifest
- community_26_scripts_migrate_lazyown
- community_27_tools
- community_28_orphans
- community_2_modules_lazyown_mcp
- community_3_cli
- community_4_modules_chain_runner
- community_5_lazyc2_security
- community_6_lazygui_panels
- community_7_static_js
- community_8_modules_autonomous_daemon
- community_9_modules_llm_budget
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p22
- API_p23
- API_p24
- API_p25
- API_p26
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p10
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- ARCHITECTURE_p5
- ARCHITECTURE_p6
- ARCHITECTURE_p7
- ARCHITECTURE_p8
- ARCHITECTURE_p9
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- INDEX_p3
- KB_backdoor
- KB_blueprints
- KB_cgi-bin
- KB_claude_md_orchestrator
- KB_cli
- KB_cli_p2
- KB_cli_p3
- KB_cli_p4
- KB_cli_p5
- KB_commands
- KB_commands_p2
- KB_commands_p3
- KB_commands_p4
- KB_commands_p5
- KB_config
- KB_contract
- KB_core
- KB_core_p2
- KB_devtools
- KB_extensions
- KB_guardrails
- KB_hermes-lazyown
- KB_integrations
- KB_js
- KB_js_p2
- KB_js_p3
- KB_js_p4
- KB_lazyc2
- KB_lazygui
- KB_lazyown-docker
- KB_legacy
- KB_legacy_p2
- KB_mediation
- KB_misc
- KB_modules
- KB_modules_p10
- KB_modules_p11
- KB_modules_p12
- KB_modules_p13
- KB_modules_p14
- KB_modules_p15
- KB_modules_p16
- KB_modules_p17
- KB_modules_p18
- KB_modules_p2
- KB_modules_p3
- KB_modules_p4
- KB_modules_p5
- KB_modules_p6
- KB_modules_p7
- KB_modules_p8
- KB_modules_p9
- KB_modules_tools
- KB_palettes
- KB_panels
- KB_plugins
- KB_poc_tui
- KB_root
- KB_root_p2
- KB_root_p3
- KB_rootkit
- KB_scripts
- KB_security
- KB_selection
- KB_services
- KB_sinks
- KB_skills
- KB_skills_claude_md_orchestrator_tests
- KB_skills_p2
- KB_skills_p3
- KB_skills_p4
- KB_skills_p5
- KB_skills_tests
- KB_tests
- KB_tests_p10
- KB_tests_p11
- KB_tests_p12
- KB_tests_p13
- KB_tests_p14
- KB_tests_p15
- KB_tests_p16
- KB_tests_p17
- KB_tests_p18
- KB_tests_p19
- KB_tests_p2
- KB_tests_p20
- KB_tests_p21
- KB_tests_p22
- KB_tests_p23
- KB_tests_p3
- KB_tests_p4
- KB_tests_p5
- KB_tests_p6
- KB_tests_p7
- KB_tests_p8
- KB_tests_p9
- KB_theme
- KB_tools
- KB_widgets
- KB_win_rootkit
- KB_windows
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p28
- SYMBOLS_p29
- SYMBOLS_p3
- SYMBOLS_p30
- SYMBOLS_p31
- SYMBOLS_p32
- SYMBOLS_p33
- SYMBOLS_p34
- SYMBOLS_p35
- SYMBOLS_p36
- SYMBOLS_p37
- SYMBOLS_p38
- SYMBOLS_p39
- SYMBOLS_p4
- SYMBOLS_p40
- SYMBOLS_p41
- SYMBOLS_p42
- SYMBOLS_p43
- SYMBOLS_p44
- SYMBOLS_p45
- SYMBOLS_p46
- SYMBOLS_p47
- SYMBOLS_p48
- SYMBOLS_p49
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes