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>
43 lines
2.0 KiB
JSON
43 lines
2.0 KiB
JSON
{
|
|
"schemaVersion": 1,
|
|
"criterion": {
|
|
"name": "classify",
|
|
"filePath": "src/branch.ts",
|
|
"direction": "downstream",
|
|
"line": 7,
|
|
"marker": "'zero'",
|
|
"pdgEdgeKinds": ["REACHING_DEF", "CDG"]
|
|
},
|
|
"locus": "intra",
|
|
"provenance": "manual",
|
|
"analyzerVersion": "1.6.7",
|
|
"intra_AIS": [
|
|
{
|
|
"symbol": "classify",
|
|
"filePath": "src/branch.ts",
|
|
"line": 9,
|
|
"note": "`return 'pos'` is control-dependent on the `x > 0` arm"
|
|
},
|
|
{
|
|
"symbol": "classify",
|
|
"filePath": "src/branch.ts",
|
|
"line": 10,
|
|
"note": "the `else if (x < 0)` predicate is itself control-dependent on the outer `x > 0` branch (it runs only on the false arm)"
|
|
},
|
|
{
|
|
"symbol": "classify",
|
|
"filePath": "src/branch.ts",
|
|
"line": 11,
|
|
"note": "`return 'neg'` is control-dependent on the `x < 0` else-if arm"
|
|
},
|
|
{
|
|
"symbol": "classify",
|
|
"filePath": "src/branch.ts",
|
|
"line": 13,
|
|
"note": "`return 'zero'` is control-dependent on the fallthrough arm"
|
|
}
|
|
],
|
|
"inter_AIS": [],
|
|
"rationale": "criterion.line=7 — the if predicate `if (x > 0)`, the branch whose change propagates (source semantics: the predicate controls which arm runs). DOWNSTREAM CDG controller->dependent edges reach the arm returns (lines 9, 11, 13) AND the nested `else if (x < 0)` test (line 10). CORRECTION (Step-0 reconciliation): the source-derived belief was intra_AIS={9,11,13} (the three returns only), but the `else if` predicate on line 10 is ITSELF control-dependent on the outer branch — it executes only on the `x > 0` false arm — so line 10 is a genuine CDG dependent the original annotation omitted. The CFG models it as its own predicate BasicBlock (`(x < 0)`), and the slice from line 7 returns {9, 10, 11, 13} exactly. The rationale's own note already flagged line 10 as nested control flow; this corrects it from out-of-set to in-set. All dependents intra-procedural; inter_AIS empty. Exercises CDG-forward over a multi-arm branch."
|
|
}
|