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>
25 lines
789 B
Rust
25 lines
789 B
Rust
// #1992 follow-up (F3): two same-tail generic inherent impls that ALSO share a
|
|
// method name. Pre-fix the Method node id keys `${className}.${name}` with the
|
|
// BARE tail (`Inner.m`), so `a::Inner::m` and `b::Inner::m` collapse onto ONE
|
|
// Method node (graph addNode is first-write-wins). Both HAS_METHOD edges then
|
|
// point at the survivor, silently losing the second method. Qualifying
|
|
// `className` (`a.Inner` / `b.Inner`) keys them as `a.Inner.m` / `b.Inner.m`, so
|
|
// BOTH Method nodes survive and each owns through its own mod-qualified Impl node.
|
|
pub mod a {
|
|
pub struct Inner<T> {
|
|
v: T,
|
|
}
|
|
impl<T> Inner<T> {
|
|
pub fn m(&self) {}
|
|
}
|
|
}
|
|
|
|
pub mod b {
|
|
pub struct Inner<T> {
|
|
v: T,
|
|
}
|
|
impl<T> Inner<T> {
|
|
pub fn m(&self) {}
|
|
}
|
|
}
|