-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.toml
More file actions
71 lines (63 loc) · 2.84 KB
/
plugin.toml
File metadata and controls
71 lines (63 loc) · 2.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[plugin]
name = "loomweave-plugin-python"
plugin_id = "python"
version = "1.0.0"
protocol_version = "1.0"
# Bare basename per ADR-021 §Layer 1 + WP2 scrub commit eb0a41d — the host
# refuses manifests whose `executable` carries any path component.
executable = "loomweave-plugin-python"
language = "python"
extensions = ["py"]
[capabilities.runtime]
# Plugin's declared RSS envelope (MiB). Effective prlimit is
# min(this, core default 2 GiB). Pyright's Node-based language server
# inherits this limit from the plugin process, so B.4* declares the core
# ceiling rather than the Sprint-1 CPython-only working set.
expected_max_rss_mb = 2048
# Triggers LMWV-INFRA-PLUGIN-ENTITY-OVERRUN-WARNING well before the 500k
# core cap (warning emission itself is deferred to Tier B — Sprint 1
# only lands the declaration).
expected_entities_per_file = 5000
# Wardline semantic extraction reads the NG-25 vocabulary descriptor without
# importing Wardline, then emits source-observed decorator metadata on entities.
wardline_aware = true
# v0.1 rejects `true` at initialize with LMWV-INFRA-MANIFEST-UNSUPPORTED-CAPABILITY.
reads_outside_project_root = false
[capabilities.runtime.pyright]
pin = "1.1.409"
[ontology]
# Sprint 2 B.2: classes + modules join the kind set. B.3 (ADR-026) adds
# the first edge kind, `contains`. B.4* adds scan-time `calls` edges.
# B.5* adds scan-time `references` edges. Phase 3 Task 3 adds scan-time
# `imports` candidate edges.
entity_kinds = ["function", "class", "module"]
edge_kinds = ["contains", "calls", "references", "imports"]
# Per ADR-022: uppercase `LMWV-{PLUGIN_ID_UPPER}-`. Reserved at parse
# against the LMWV-INFRA-* and LMWV-FACT-* namespaces.
rule_id_prefix = "LMWV-PY-"
# Bumps per ADR-027 when the entity/edge/rule set shifts. Phase 3 Task 3 is a
# MINOR bump (additive `imports` edge kind). NOTE: ADR-007's summary-cache key
# is the 5-tuple (entity_id, content_hash, prompt_template_id, model_tier,
# guidance_fingerprint) — ontology_version is handshake-validation, NOT a
# cache-key component. New edge rows miss the cache by component-1 of
# the 5-tuple organically (no edges live in the 5-tuple yet anyway).
ontology_version = "0.7.0"
[integrations.wardline]
expected_descriptor_version = "wardline-generic-2"
[ontology.roles]
file_scope = ["module"]
callable = ["function"]
syntax_degraded_module = ["module"]
# SEI signature declaration (ADR-038 REQ-C-01 / Wave 1). The plugin emits a
# versioned `signature` object per function/class entity, stored verbatim by the
# core and compared by string equality as the matcher's move-case input. Modules
# and packages declare no signature (the move case abstains for them — fail
# closed). A `schema_version` bump voids cached signature equality.
[signature]
schema_version = 1
[signature.schemas.function]
v = 1
fields = ["params", "return_ann"]
[signature.schemas.class]
v = 1
fields = ["bases"]