opentology 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -71,6 +71,30 @@ SELECT ?title ?date WHERE {
|
|
|
71
71
|
|
|
72
72
|
OpenTology provides MCP tools to query and manage the project knowledge graph. Use them proactively.
|
|
73
73
|
|
|
74
|
+
#### Pre-Analysis Context Check
|
|
75
|
+
|
|
76
|
+
Before exploring code or analyzing architecture, query the knowledge graph for existing context:
|
|
77
|
+
- **Decisions**: past architectural choices that may inform the current analysis
|
|
78
|
+
- **Knowledge**: reusable patterns or lessons already recorded
|
|
79
|
+
- **Issues**: known problems related to the area under investigation
|
|
80
|
+
- **Sessions**: recent work in the same area
|
|
81
|
+
|
|
82
|
+
\`\`\`sparql
|
|
83
|
+
PREFIX otx: <https://opentology.dev/vocab#>
|
|
84
|
+
SELECT ?type ?title ?body WHERE {
|
|
85
|
+
GRAPH <${contextUri}> {
|
|
86
|
+
{ ?s a otx:Decision ; otx:title ?title ; otx:body ?body . BIND("decision" AS ?type) }
|
|
87
|
+
UNION
|
|
88
|
+
{ ?s a otx:Knowledge ; otx:title ?title ; otx:body ?body . BIND("knowledge" AS ?type) }
|
|
89
|
+
UNION
|
|
90
|
+
{ ?s a otx:Issue ; otx:title ?title ; otx:body ?body . BIND("issue" AS ?type) }
|
|
91
|
+
}
|
|
92
|
+
FILTER(CONTAINS(LCASE(?title), "keyword") || CONTAINS(LCASE(?body), "keyword"))
|
|
93
|
+
} LIMIT 10
|
|
94
|
+
\`\`\`
|
|
95
|
+
|
|
96
|
+
This prevents redundant analysis and ensures past decisions and knowledge inform current work.
|
|
97
|
+
|
|
74
98
|
#### Pre-Edit Impact Check
|
|
75
99
|
|
|
76
100
|
Before modifying a file, run \`context_impact\` with the target file path to understand the blast radius:
|