caelum0x 49b183818c Unify gitgram + aitimemachine into the monorepo (de-submodule) and merge vendored engines
Convert gitgram/ and aitimemachine/ from embedded git repos (which showed as
opaque submodule gitlinks on GitHub) into fully-tracked first-party content.

AITM now merges its 7 vendored repos as first-party engines:
- memory: beads (Go task DAG) + context7 (docs SDK), unified into saved_contexts
- git: vendored C git (bundled binary) + gitnexus (in-process code intelligence)
- agentic: a2a (@a2a-js/sdk) + pal (AITM-managed Python subprocess)

Includes the full session's product build: Gitgram web/mobile/backend features,
AITM website/CLI/MCP, the unified memory layer, engine build tooling
(scripts/build-engines.sh, Dockerfile, CI), docs (README, ENGINES.md, ARCHITECTURE.md),
and extensive test suites.

Build artifacts, node_modules, external/, and gemini-cli are gitignored.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 14:14:09 +03:00

43 lines
2.0 KiB
JSON

{
"schemaVersion": 1,
"criterion": {
"name": "computeAndEmit",
"filePath": "src/mixed.ts",
"direction": "downstream",
"line": 12,
"marker": "score + v",
"pdgEdgeKinds": ["REACHING_DEF", "CDG"]
},
"locus": "mixed",
"provenance": "manual",
"analyzerVersion": "1.6.7",
"intra_AIS": [
{
"symbol": "computeAndEmit",
"filePath": "src/mixed.ts",
"line": 14,
"note": "loop body `score = score + v` re-defines/uses `score`: data-dependent"
},
{
"symbol": "computeAndEmit",
"filePath": "src/mixed.ts",
"line": 16,
"note": "`level = score > 10 ? ...` is data-dependent on the accumulated `score`"
},
{
"symbol": "computeAndEmit",
"filePath": "src/mixed.ts",
"line": 17,
"note": "the `emit(level)` arg is data-dependent on `level`/`score`"
}
],
"inter_AIS": [
{
"symbol": "emit",
"filePath": "src/mixed.ts",
"note": "called with the computed level; cross-function reach"
}
],
"rationale": "criterion.line=12 — the `score` def `let score = 0` (source semantics: `score` seeds the loop-carried data chain). Criterion `computeAndEmit` is mixed-locus. DOWNSTREAM from line 12, the `score` def drives the loop-carried data chain (line 14), feeds the threshold `level` (line 16), which feeds the `emit` call arg (line 17): all intra-procedural data dependence, so intra_AIS holds those three statements. Separately, the call to `emit` is a cross-function reach captured in inter_AIS. The two sets are disjoint (lines within `computeAndEmit` vs the distinct symbol `emit`). Step-0 reconciliation: the statement-anchored PDG slice from line 12 returns {14, 16, 17} — an EXACT match to this source-derived intra_AIS (no correction needed); call-graph reaches {emit} exactly. Distinct from mixed-validate-then-call: this case's intra dependence is data-flow-dominated (accumulator + ternary) rather than guard-dominated, broadening mixed-stratum coverage."
}