archgraph-argo-beta 0.27.0-beta.0
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.
- package/LICENSE +201 -0
- package/README.md +107 -0
- package/argo/.env.example +170 -0
- package/argo/defaults/EA-model-template.qea +0 -0
- package/argo/defaults/design/KG/SystemArchitecture.json +128 -0
- package/argo/mcp-bridges/graph-mcp-stdio.js +98 -0
- package/argo/package.json +8 -0
- package/argo/plugins/argo-cost-collector.js +35 -0
- package/argo/plugins/argo-wakeup.js +29 -0
- package/argo/rules/archgraph.instructions.md +189 -0
- package/argo/schema/ImplementationToCodingHandoff.schema.json +252 -0
- package/argo/schema/ImplementationToIntentTraceProposal.schema.json +180 -0
- package/argo/schema/IntentToImplementationHandoff.schema.json +75 -0
- package/argo/schema/SystemArchitecture.schema.json +378 -0
- package/argo/schema/archimate3.2.md +7153 -0
- package/argo/schema/argob-rules.json +12229 -0
- package/argo/schema/argob.config.json +20 -0
- package/argo/scripts/ARCHITECTURE.md +58 -0
- package/argo/scripts/agentSearchDiagnose.js +407 -0
- package/argo/scripts/archimate32-rules.js +12301 -0
- package/argo/scripts/argo-mcp-server.js +952 -0
- package/argo/scripts/argo-paths.js +168 -0
- package/argo/scripts/argob-schema.js +574 -0
- package/argo/scripts/ea-qea-sync-lib.js +1014 -0
- package/argo/scripts/ea-qea-sync.js +110 -0
- package/argo/scripts/ensureArgoHarnessEnvironment.js +451 -0
- package/argo/scripts/external-graph-query.js +162 -0
- package/argo/scripts/generateArchitectureDiffPlantuml.js +466 -0
- package/argo/scripts/graph-rag/ARCHITECTURE.md +192 -0
- package/argo/scripts/graph-rag/agentCostLog.js +179 -0
- package/argo/scripts/graph-rag/canonicalProjectionAuthority.js +45 -0
- package/argo/scripts/graph-rag/defaultSemanticRetrieval.js +1244 -0
- package/argo/scripts/graph-rag/embeddingProviderProfile.js +89 -0
- package/argo/scripts/graph-rag/embeddingQualificationGate.js +59 -0
- package/argo/scripts/graph-rag/externalProductionConfig.js +74 -0
- package/argo/scripts/graph-rag/hybridRetrieval.js +114 -0
- package/argo/scripts/graph-rag/liveEmbeddingIndexGate.js +128 -0
- package/argo/scripts/graph-rag/liveEmbeddingNeo4jBoundary.js +137 -0
- package/argo/scripts/graph-rag/liveEmbeddingProviderClient.js +49 -0
- package/argo/scripts/graph-rag/liveEmbeddingProviderConfig.js +571 -0
- package/argo/scripts/graph-rag/mcpCrashDiagnostics.js +137 -0
- package/argo/scripts/graph-rag/mutationEmbeddingVectorLifecycle.js +1266 -0
- package/argo/scripts/graph-rag/neo4jNativeRetrieval.js +37 -0
- package/argo/scripts/graph-rag/productionGraphRagRuntime.js +1633 -0
- package/argo/scripts/graph-rag/rerankRetrieval.js +201 -0
- package/argo/scripts/graph-rag/semantic-persistence/ARCHITECTURE.md +51 -0
- package/argo/scripts/graph-rag/semantic-persistence/productionSemanticBackfill.js +342 -0
- package/argo/scripts/graph-rag/semantic-persistence/productionSemanticCheckpointStore.js +99 -0
- package/argo/scripts/graph-rag/semantic-persistence/productionSemanticNeo4jAdapter.js +186 -0
- package/argo/scripts/graph-rag/semantic-persistence/productionSemanticProjectionStore.js +171 -0
- package/argo/scripts/graph-rag/semanticAlignmentLock.js +76 -0
- package/argo/scripts/graph-rag/semanticAlignmentRunner.js +131 -0
- package/argo/scripts/graph-rag/semanticInitConfiguration.js +24 -0
- package/argo/scripts/graph-rag/semanticOperatorError.js +38 -0
- package/argo/scripts/graph-rag/semanticOperatorJourney.js +459 -0
- package/argo/scripts/graph-rag/semanticReadinessAttestationStore.js +398 -0
- package/argo/scripts/graph-rag/semanticRecordText.js +75 -0
- package/argo/scripts/graph-rag/systemMetadataCommandAdapter.js +269 -0
- package/argo/scripts/graph-semantics.js +266 -0
- package/argo/scripts/lossless-write-gate.js +500 -0
- package/argo/scripts/neo4j-system-architecture-store.js +1066 -0
- package/argo/scripts/repair-subdiagram-views.js +288 -0
- package/argo/scripts/repositoryArgoEnvironment.js +101 -0
- package/argo/scripts/runArchitectureTests.js +591 -0
- package/argo/scripts/semanticOperatorJourneyCli.js +91 -0
- package/argo/scripts/syncSystemArchitectureToNeo4j.js +67 -0
- package/argo/scripts/systemarchitecture-mcp-server.js +4508 -0
- package/argo/scripts/test-executors/_template.js +58 -0
- package/argo/scripts/test-executors/default.js +199 -0
- package/argo/scripts/validateStageHandoff.js +459 -0
- package/argo/scripts/validateSystemArchitecture.js +261 -0
- package/argo/scripts/validateTraceProposal.js +181 -0
- package/argo/scripts/validator-mcp-server.js +347 -0
- package/argo/skills/agent-search-diagnosis/SKILL.md +60 -0
- package/argo/skills/argo-init/SKILL.md +86 -0
- package/argo/skills/ea-human-reconcile/SKILL.md +40 -0
- package/bin/argo-deploy.js +12 -0
- package/cordis.patch.yml +6 -0
- package/dsh-argo-wakeup/index.js +17 -0
- package/dsh-argo-wakeup/package.json +1 -0
- package/dsh-argo-workspace/index.js +142 -0
- package/dsh-argo-workspace/package.json +1 -0
- package/install-argo.ps1 +1162 -0
- package/package.json +56 -0
- package/vendor/neo4j-driver-6.2.0.tgz +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
function createNeo4jNativeRetrieval(dependencies = {}) {
|
|
2
|
+
const queryBoundary = dependencies.queryBoundary;
|
|
3
|
+
if (!queryBoundary || typeof queryBoundary.query !== 'function') {
|
|
4
|
+
throw new TypeError('queryBoundary.query is required');
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
return {
|
|
8
|
+
async retrieve(request) {
|
|
9
|
+
return queryBoundary.query(request);
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
async retrieveThresholdCandidates(request) {
|
|
13
|
+
if (typeof queryBoundary.queryThresholdCandidates === 'function') {
|
|
14
|
+
return queryBoundary.queryThresholdCandidates(request);
|
|
15
|
+
}
|
|
16
|
+
const result = await queryBoundary.query(request);
|
|
17
|
+
if (Array.isArray(result)) {
|
|
18
|
+
return result;
|
|
19
|
+
}
|
|
20
|
+
if (Array.isArray(result && result.thresholdCandidates)) {
|
|
21
|
+
return result.thresholdCandidates;
|
|
22
|
+
}
|
|
23
|
+
if (Array.isArray(result && result.seeds)) {
|
|
24
|
+
return result.seeds.map(seed => ({
|
|
25
|
+
objectType: seed.objectType,
|
|
26
|
+
id: seed.id,
|
|
27
|
+
score: typeof seed.score === 'number' ? seed.score : 1,
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
return [];
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
module.exports = {
|
|
36
|
+
createNeo4jNativeRetrieval,
|
|
37
|
+
};
|