repo_id
stringclasses
92 values
cross_repo_split
stringclasses
1 value
commit_index
int32
0
179
commit_sha
stringlengths
40
40
commit_timestamp
stringdate
2024-09-02 14:15:34+0800
2026-05-06 20:19:13+0800
in_repo_split
stringclasses
3 values
production_code_diff
large_stringlengths
0
22.7M
n_new_assertions
int32
1
3.53k
NoMagicJustCode/MilaJovovichMemory
ood_test
4
27623a3b1743b8d5312f69cc4a7bff08763c79bd
2026-04-07T14:15:01-07:00
train
diff --git a/README.md b/README.md index 906ede9..d05952f 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ Three mining modes: **projects** (code and docs), **convos** (conversation expor After the one-time setup (install → init → mine), you don't run MemPalace commands manually. Your AI uses it for you. T...
127
NoMagicJustCode/MilaJovovichMemory
ood_test
5
a74061f73937500c3bee03f00ac64289d03648f4
2026-04-07T16:05:09-07:00
train
diff --git a/mempalace/dialect.py b/mempalace/dialect.py index dc9dd69..e900965 100644 --- a/mempalace/dialect.py +++ b/mempalace/dialect.py @@ -1,13 +1,19 @@ #!/usr/bin/env python3 """ -AAAK Dialect -- Compressed Symbolic Memory Language +AAAK Dialect -- Structured Symbolic Summary Format ==========================...
11
NoMagicJustCode/MilaJovovichMemory
ood_test
6
168c3bc22ef21cc4c0431d4ebeac9fe3deb3d9c3
2026-04-07T16:05:11-07:00
val
diff --git a/mempalace/cli.py b/mempalace/cli.py index 8b5edf4..1599b08 100644 --- a/mempalace/cli.py +++ b/mempalace/cli.py @@ -97,16 +97,19 @@ def cmd_mine(args): def cmd_search(args): - from .searcher import search + from .searcher import search, SearchError palace_path = os.path.expanduser(args.pa...
56
NoMagicJustCode/MilaJovovichMemory
ood_test
7
a8de2911e5f97ece0832bf13e9982020a6b44b5f
2026-04-07T16:05:13-07:00
test
diff --git a/mempalace/knowledge_graph.py b/mempalace/knowledge_graph.py index a2f8b54..226c92d 100644 --- a/mempalace/knowledge_graph.py +++ b/mempalace/knowledge_graph.py @@ -87,7 +87,9 @@ class KnowledgeGraph: conn.close() def _conn(self): - return sqlite3.connect(self.db_path, timeout=10) + ...
8
Photobombastic/pipestep
ood_test
0
b3e3c33d018478898df3c20046fb6ec12e30724a
2026-02-23T21:39:59-05:00
train
diff --git a/pipestep/__init__.py b/pipestep/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/pipestep/models.py b/pipestep/models.py new file mode 100644 index 0000000..228d28d --- /dev/null +++ b/pipestep/models.py @@ -0,0 +1,48 @@ +from dataclasses import dataclass, field +from enum import Enum +...
38
Photobombastic/pipestep
ood_test
1
64fdf87a5bf9c011f62cb7975108f59a310d300e
2026-02-23T21:41:09-05:00
train
diff --git a/pipestep/engine.py b/pipestep/engine.py new file mode 100644 index 0000000..2972a4b --- /dev/null +++ b/pipestep/engine.py @@ -0,0 +1,106 @@ +import docker +from docker.errors import NotFound, ImageNotFound +from pipestep.models import Step, Job, StepResult + + +class PipelineEngine: + def __init__(self...
14
Photobombastic/pipestep
ood_test
2
c918d4a0917e7d78b7bfa2ce5c7e18a7c3ce1888
2026-03-13T09:48:28-04:00
train
diff --git a/README.md b/README.md new file mode 100644 index 0000000..9014bef --- /dev/null +++ b/README.md @@ -0,0 +1,142 @@ +# PipeStep + +**A debugger for your CI pipeline.** + +Step through GitHub Actions workflows locally with Docker. Pause before each step, inspect the environment, drop into a shell, modify vari...
47
Photobombastic/pipestep
ood_test
3
1e4efce193f3f9c5bb493cd3b452555ac0613ab8
2026-03-13T10:02:53-04:00
train
diff --git a/pipestep/actions.py b/pipestep/actions.py index 598feb4..d3a5238 100644 --- a/pipestep/actions.py +++ b/pipestep/actions.py @@ -1,56 +1,105 @@ """Best-effort local equivalents for common GitHub Actions.""" import re +from typing import Callable, List, Optional, Tuple -# Map action references to their...
13
Photobombastic/pipestep
ood_test
4
1cd0600d21652bebe779fa7ce0e865a062a2e5dc
2026-03-13T11:02:37-04:00
val
diff --git a/pipestep/engine.py b/pipestep/engine.py index ab3a2ea..d8d4f16 100644 --- a/pipestep/engine.py +++ b/pipestep/engine.py @@ -3,13 +3,37 @@ from __future__ import annotations import os +import atexit import shlex +import signal import subprocess import docker from docker.errors import NotFound, Ima...
12
Photobombastic/pipestep
ood_test
5
1a448d3d4cff77ae6c8cfafe711a88c5414ab4cd
2026-03-13T11:24:56-04:00
test
diff --git a/pipestep/__init__.py b/pipestep/__init__.py index 817d250..90080f9 100644 --- a/pipestep/__init__.py +++ b/pipestep/__init__.py @@ -2,4 +2,4 @@ from __future__ import annotations -__version__ = "0.1.2" +__version__ = "0.1.4" diff --git a/pipestep/actions.py b/pipestep/actions.py index d3a5238..11c4dfc...
1
Siddharth-1001/agent-eval-harness
ood_test
0
a3a44d6aeca370703f025ae81a40ec9d6b5291ef
2026-03-27T18:01:01+05:30
train
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..2d0474b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,45 @@ +--- +name: Bug Report +about: Report a reproducible bug or unexpected behavior +title: "[Bug] " +labels: bug +as...
454
Siddharth-1001/agent-eval-harness
ood_test
1
cd9ac3eb3d53e60a5663d3b9b6427baa4150863b
2026-04-01T17:16:43+05:30
train
diff --git a/agent_eval/adapters/langchain.py b/agent_eval/adapters/langchain.py index bb297d8..28cda4e 100644 --- a/agent_eval/adapters/langchain.py +++ b/agent_eval/adapters/langchain.py @@ -20,6 +20,7 @@ class _EvalCallbackHandler: self._collector = collector self._tool_start_times: dict[str, float...
82
Siddharth-1001/agent-eval-harness
ood_test
2
7b53e9c046bad0c690861daf3578e3e09d22def9
2026-04-06T14:23:46+05:30
val
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 2d0474b..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -name: Bug Report -about: Report a reproducible bug or unexpected behavior -title: "[Bug] " -labels: bug...
22
Siddharth-1001/agent-eval-harness
ood_test
3
39f93e138acd5978fd33909ec0f7eadedce69134
2026-04-06T14:23:58+05:30
test
diff --git a/agent_eval/metrics/hallucination.py b/agent_eval/metrics/hallucination.py index 319d441..27bbb50 100644 --- a/agent_eval/metrics/hallucination.py +++ b/agent_eval/metrics/hallucination.py @@ -14,7 +14,7 @@ class ToolHallucinationConfig(BaseModel): """Per-tool hallucination detection configuration.""" ...
41
SiliconEinstein/Gaia
ood_test
0
aee43fdad807239f603efc9f23b9df308f3e91fb
2026-03-03T01:16:44+08:00
train
diff --git a/docs/design/phase1_billion_scale.md b/docs/design/phase1_billion_scale.md new file mode 100644 index 00000000..91e0c3f1 --- /dev/null +++ b/docs/design/phase1_billion_scale.md @@ -0,0 +1,1726 @@ +# Large Knowledge Model (LKM) Phase 1 系统设计文档 + +## 十亿级推理超图知识库 + +| 文档属性 | 值 | +|---------|---| +| 版本 | 1.6 | +|...
8
SiliconEinstein/Gaia
ood_test
1
772d801e2c73ff5f3f39f125e0a7fbeaa32a92b4
2026-03-03T01:16:54+08:00
train
diff --git a/libs/models.py b/libs/models.py new file mode 100644 index 00000000..57ca8df7 --- /dev/null +++ b/libs/models.py @@ -0,0 +1,71 @@ +"""Shared data models for Gaia — Node, HyperEdge, and commit operations.""" + +from datetime import datetime +from typing import Literal + +from pydantic import BaseModel + + +...
25
SiliconEinstein/Gaia
ood_test
2
1280003b1021d52db962d401a3199c2d4fdbebf8
2026-03-03T01:17:01+08:00
train
diff --git a/libs/storage/id_generator.py b/libs/storage/id_generator.py new file mode 100644 index 00000000..4a0ab5f3 --- /dev/null +++ b/libs/storage/id_generator.py @@ -0,0 +1,45 @@ +"""File-based ID generator. Phase 1: single-process safe via asyncio lock.""" + +import asyncio +import json +from pathlib import Path...
11
SiliconEinstein/Gaia
ood_test
3
84c0fbc6b5c9cf93ef842e5744fd3b8d17571a2f
2026-03-03T01:20:40+08:00
train
diff --git a/libs/storage/neo4j_store.py b/libs/storage/neo4j_store.py new file mode 100644 index 00000000..40af9456 --- /dev/null +++ b/libs/storage/neo4j_store.py @@ -0,0 +1,276 @@ +"""Neo4j-backed hypergraph store. + +Graph model +----------- +- `:Proposition` nodes with ``{id: int}`` represent graph nodes (proposit...
18
SiliconEinstein/Gaia
ood_test
4
43eef316c34440c7b3a8a02b495f8fb3262bba73
2026-03-03T01:21:49+08:00
train
diff --git a/libs/storage/vector_search/__init__.py b/libs/storage/vector_search/__init__.py index e69de29b..ca4b5b35 100644 --- a/libs/storage/vector_search/__init__.py +++ b/libs/storage/vector_search/__init__.py @@ -0,0 +1,24 @@ +"""Vector search subsystem — factory + public API.""" + +from .base import VectorSearch...
6
SiliconEinstein/Gaia
ood_test
5
7fa525d532491c9e8b6fe440f7698e4382f6f1e8
2026-03-03T01:23:03+08:00
train
diff --git a/libs/storage/lance_store.py b/libs/storage/lance_store.py new file mode 100644 index 00000000..39b3c3c1 --- /dev/null +++ b/libs/storage/lance_store.py @@ -0,0 +1,236 @@ +"""LanceDB-backed store for node content, metadata, and belief values.""" + +from __future__ import annotations + +import json +from dat...
15
SiliconEinstein/Gaia
ood_test
6
dfc024055a2c1ff13d29dfc6d63b403fc25994be
2026-03-03T01:26:18+08:00
train
diff --git a/libs/storage/__init__.py b/libs/storage/__init__.py index e69de29b..f525cafe 100644 --- a/libs/storage/__init__.py +++ b/libs/storage/__init__.py @@ -0,0 +1,4 @@ +from .config import StorageConfig +from .manager import StorageManager + +__all__ = ["StorageConfig", "StorageManager"] diff --git a/libs/storag...
6
SiliconEinstein/Gaia
ood_test
7
fa3a47a7b26b2967dac93a52e5202bd8d32ef30d
2026-03-03T07:33:51+08:00
train
diff --git a/services/search_engine/recall/__init__.py b/services/search_engine/recall/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/services/search_engine/recall/bm25.py b/services/search_engine/recall/bm25.py new file mode 100644 index 00000000..329e9839 --- /dev/null +++ b/services/search_en...
4
SiliconEinstein/Gaia
ood_test
8
98111cd921ec3ee11f259882d2f308e92fddcb24
2026-03-03T07:34:13+08:00
train
diff --git a/services/search_engine/recall/topology.py b/services/search_engine/recall/topology.py new file mode 100644 index 00000000..f91bcc9f --- /dev/null +++ b/services/search_engine/recall/topology.py @@ -0,0 +1,46 @@ +"""TopologyRecall — discover related nodes by traversing the Join tree.""" + +from __future__ i...
10
SiliconEinstein/Gaia
ood_test
9
f205f782090d264ecf111b7479ba8def28bc5f3e
2026-03-03T07:34:26+08:00
train
diff --git a/services/search_engine/recall/vector.py b/services/search_engine/recall/vector.py new file mode 100644 index 00000000..1216d44c --- /dev/null +++ b/services/search_engine/recall/vector.py @@ -0,0 +1,10 @@ +from libs.storage.vector_search.base import VectorSearchClient + + +class VectorRecall: + def __in...
4
SiliconEinstein/Gaia
ood_test
10
9065520f0bbebfcadfb8f40e2e5f3c24dd3af4eb
2026-03-03T07:39:47+08:00
train
diff --git a/services/search_engine/__init__.py b/services/search_engine/__init__.py index e69de29b..b64d58a6 100644 --- a/services/search_engine/__init__.py +++ b/services/search_engine/__init__.py @@ -0,0 +1,3 @@ +from services.search_engine.engine import SearchEngine + +__all__ = ["SearchEngine"] diff --git a/servic...
28
SiliconEinstein/Gaia
ood_test
11
0f4622d5323f404bb7fc5a1f417e671af65943d7
2026-03-03T07:41:36+08:00
train
diff --git a/libs/models.py b/libs/models.py index 57ca8df7..f1644cd1 100644 --- a/libs/models.py +++ b/libs/models.py @@ -69,3 +69,61 @@ class ModifyNodeOp(BaseModel): op: Literal["modify_node"] = "modify_node" node_id: int changes: dict + + +# ── Commit Workflow ── + + +class CommitRequest(BaseModel): ...
14
SiliconEinstein/Gaia
ood_test
12
498ddf531a5e8796d90f842abc54b06a0a908323
2026-03-03T07:43:36+08:00
train
diff --git a/services/commit_engine/validator.py b/services/commit_engine/validator.py new file mode 100644 index 00000000..3538a7e5 --- /dev/null +++ b/services/commit_engine/validator.py @@ -0,0 +1,29 @@ +# services/commit_engine/validator.py +from libs.models import AddEdgeOp, ModifyEdgeOp, ModifyNodeOp, ValidationR...
19
SiliconEinstein/Gaia
ood_test
13
009f163fa3d12830e4ac827afed98fa04723634e
2026-03-03T07:43:54+08:00
train
diff --git a/services/commit_engine/dedup.py b/services/commit_engine/dedup.py new file mode 100644 index 00000000..67e197fc --- /dev/null +++ b/services/commit_engine/dedup.py @@ -0,0 +1,51 @@ +"""DedupChecker — finds potential duplicate nodes before committing.""" + +from __future__ import annotations + +from libs.mo...
10
SiliconEinstein/Gaia
ood_test
14
b8d75a51139986b784fe8c987f627a34aefd1ab6
2026-03-03T07:43:55+08:00
train
diff --git a/services/commit_engine/reviewer.py b/services/commit_engine/reviewer.py new file mode 100644 index 00000000..ef324a6e --- /dev/null +++ b/services/commit_engine/reviewer.py @@ -0,0 +1,46 @@ +"""Reviewer with pluggable LLM interface for commit review. + +Phase 1 uses a StubLLMClient that always approves. +F...
8
SiliconEinstein/Gaia
ood_test
15
2ddb745df99f8a80a0ce27a2389bf93a2ec0f1e6
2026-03-03T07:43:55+08:00
train
diff --git a/services/commit_engine/store.py b/services/commit_engine/store.py new file mode 100644 index 00000000..e0a10abb --- /dev/null +++ b/services/commit_engine/store.py @@ -0,0 +1,60 @@ +"""File-based JSON store for Commit objects. + +Each commit is persisted as ``{storage_path}/{commit_id}.json``. +""" + +from...
11
SiliconEinstein/Gaia
ood_test
16
8281373739fdd7de036fc2405e616298120ba6a4
2026-03-03T07:48:05+08:00
train
diff --git a/services/commit_engine/__init__.py b/services/commit_engine/__init__.py index e69de29b..77221666 100644 --- a/services/commit_engine/__init__.py +++ b/services/commit_engine/__init__.py @@ -0,0 +1,3 @@ +from .engine import CommitEngine + +__all__ = ["CommitEngine"] diff --git a/services/commit_engine/engin...
26
SiliconEinstein/Gaia
ood_test
17
a0e42360e003331bde6e0771852cebb11a369e69
2026-03-03T07:50:47+08:00
train
diff --git a/services/inference_engine/factor_graph.py b/services/inference_engine/factor_graph.py new file mode 100644 index 00000000..e91fb830 --- /dev/null +++ b/services/inference_engine/factor_graph.py @@ -0,0 +1,68 @@ +"""Factor graph representation for belief propagation on hypergraphs.""" + +from __future__ imp...
30
SiliconEinstein/Gaia
ood_test
18
780318949a95970a56a95418fb54c1206e11fc66
2026-03-03T07:53:47+08:00
train
diff --git a/services/inference_engine/__init__.py b/services/inference_engine/__init__.py index e69de29b..6e60da69 100644 --- a/services/inference_engine/__init__.py +++ b/services/inference_engine/__init__.py @@ -0,0 +1,3 @@ +from .engine import InferenceEngine + +__all__ = ["InferenceEngine"] diff --git a/services/i...
6
SiliconEinstein/Gaia
ood_test
19
75cb8c202e4281838136f344868f13cf9382759f
2026-03-03T07:56:28+08:00
train
diff --git a/services/gateway/__init__.py b/services/gateway/__init__.py index e69de29b..b94a1e85 100644 --- a/services/gateway/__init__.py +++ b/services/gateway/__init__.py @@ -0,0 +1,3 @@ +from .app import create_app + +__all__ = ["create_app"] diff --git a/services/gateway/app.py b/services/gateway/app.py new file ...
4
SiliconEinstein/Gaia
ood_test
20
994fb52745827c79d7e76e434159b9d8e919995e
2026-03-03T08:59:56+08:00
train
diff --git a/services/gateway/app.py b/services/gateway/app.py index da619646..08763ba4 100644 --- a/services/gateway/app.py +++ b/services/gateway/app.py @@ -5,6 +5,9 @@ from __future__ import annotations from fastapi import FastAPI from .deps import deps, Dependencies +from .routes.commits import router as commit...
16
SiliconEinstein/Gaia
ood_test
21
82c561c6f744b3cdcd02c32bca4aab5b7e8402c4
2026-03-03T09:00:37+08:00
train
diff --git a/services/gateway/routes/read.py b/services/gateway/routes/read.py new file mode 100644 index 00000000..2fbd8436 --- /dev/null +++ b/services/gateway/routes/read.py @@ -0,0 +1,30 @@ +from fastapi import APIRouter, HTTPException +from services.gateway.deps import deps + +router = APIRouter(tags=["read"]) + +...
7
SiliconEinstein/Gaia
ood_test
22
73f22a22195584b964ff84505028050c183c8db1
2026-03-03T09:05:40+08:00
train
62
SiliconEinstein/Gaia
ood_test
23
b0cc631bd5d34488ba782c6835e801d4a446d3c8
2026-03-03T10:08:59+08:00
train
diff --git a/.claude/skills/gitflow/SKILL.md b/.claude/skills/gitflow/SKILL.md new file mode 100644 index 00000000..ddceda2a --- /dev/null +++ b/.claude/skills/gitflow/SKILL.md @@ -0,0 +1,89 @@ +--- +name: gitflow +description: "Git flow assistant for team development. Use when the user says /gitflow, asks about git co...
18
SiliconEinstein/Gaia
ood_test
24
a06f40e05b480c8b3886c679493ac3a8a410cf09
2026-03-03T20:26:28+08:00
train
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..1b69fdb6 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,19 @@ +## Summary + +<!-- What changed and why? Keep it concise. --> + +## Changes + +- + +## Test plan + +- [ ] `pytest tests` p...
246
SiliconEinstein/Gaia
ood_test
25
428b9a8e8cafaf5c733934e35e970541fa7ffd8a
2026-03-03T21:00:06+08:00
train
diff --git a/services/review_pipeline/__init__.py b/services/review_pipeline/__init__.py new file mode 100644 index 00000000..e16f4386 --- /dev/null +++ b/services/review_pipeline/__init__.py @@ -0,0 +1 @@ +"""Review pipeline — async operator-based review for commits.""" diff --git a/services/review_pipeline/base.py b/...
131
SiliconEinstein/Gaia
ood_test
26
08d0e18a9345c47fc32cfe6dc76d564f522b8a1d
2026-03-04T15:50:58+08:00
train
diff --git a/CLAUDE.md b/CLAUDE.md index 12279c2c..96ef508c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -75,8 +75,8 @@ Neo4j is optional — the system degrades gracefully without it. All writes go t ### Core Data Models (`libs/models.py`) -- **Node** — A proposition with `content`, `prior`, `belief`, `keywords`, `typ...
264
SiliconEinstein/Gaia
ood_test
27
0bf25e45795774d3d0281071a0fd45f43a95404e
2026-03-04T15:51:13+08:00
train
97
SiliconEinstein/Gaia
ood_test
28
36991362a94c289d6fbd8f4479291343a1519a30
2026-03-05T09:47:42+08:00
train
diff --git a/CLAUDE.md b/CLAUDE.md index 96ef508c..1f37722f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -84,15 +84,15 @@ Neo4j is optional — the system degrades gracefully without it. All writes go t - **Fully async** — all I/O is `async def`, tests use `asyncio_mode = "auto"` - **Dependency injection** — `services/gat...
291
SiliconEinstein/Gaia
ood_test
29
5c14a530ea0101e204324c6fd519e446909486f9
2026-03-05T16:39:30+08:00
train
diff --git a/docs/examples/einstein_elevator.md b/docs/examples/einstein_elevator.md new file mode 100644 index 00000000..6f9d15df --- /dev/null +++ b/docs/examples/einstein_elevator.md @@ -0,0 +1,192 @@ +# Einstein's Elevator: From Equivalence Principle to General Relativity + +## Overview + +Einstein's 1907 "happiest...
101
SiliconEinstein/Gaia
ood_test
30
fe0645d026c95bb25f2ec6eaa4683f899ce2425c
2026-03-06T09:47:34+08:00
train
diff --git a/README.md b/README.md index e358cf91..596057b5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Gaia [![CI](https://github.com/SiliconEinstein/Gaia/actions/workflows/ci.yml/badge.svg)](https://github.com/SiliconEinstein/Gaia/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/SiliconEi...
298
SiliconEinstein/Gaia
ood_test
31
ae67cf15dd36aaccbfc80ad2d851c3d8c62ca24c
2026-03-06T09:48:10+08:00
train
122
SiliconEinstein/Gaia
ood_test
32
fb528184c84da2554448b479747ba329e7059cbc
2026-03-06T11:14:30+08:00
train
diff --git a/docs/design/agent_verifiable_memory.md b/docs/design/agent_verifiable_memory.md new file mode 100644 index 00000000..2f84e72c --- /dev/null +++ b/docs/design/agent_verifiable_memory.md @@ -0,0 +1,468 @@ +# Gaia 作为 Agent Verifiable Memory 系统 + +| 文档属性 | 值 | +|---------|---| +| 版本 | 1.0 | +| 日期 | 2026-03-04 ...
53
SiliconEinstein/Gaia
ood_test
33
400ed7ab135e3b7f30461378d0b167f7f8353bd2
2026-03-08T14:34:12+08:00
train
diff --git a/.claude/skills/pr-review/SKILL.md b/.claude/skills/pr-review/SKILL.md new file mode 100644 index 00000000..98ffcff9 --- /dev/null +++ b/.claude/skills/pr-review/SKILL.md @@ -0,0 +1,178 @@ +--- +name: pr-review +description: "Pull request review assistant for this repo. Use when the user asks to review a PR...
246
SiliconEinstein/Gaia
ood_test
34
8fd2591d6be26296c4a0af6dddd7c4849f502b58
2026-03-08T18:31:22+08:00
train
diff --git a/docs/design/theoretical_foundations.md b/docs/design/theoretical_foundations.md index 156faa9e..cb317240 100644 --- a/docs/design/theoretical_foundations.md +++ b/docs/design/theoretical_foundations.md @@ -2,8 +2,8 @@ | 文档属性 | 值 | |---------|---| -| 版本 | 1.2 | -| 日期 | 2026-03-04 | +| 版本 | 1.3 | +| 日期 |...
139
SiliconEinstein/Gaia
ood_test
35
88560dd252a2b746629a1e0a2f4def184cb2ac4b
2026-03-09T10:58:59+08:00
train
diff --git a/cli/dsl_to_storage.py b/cli/dsl_to_storage.py new file mode 100644 index 00000000..6984d081 --- /dev/null +++ b/cli/dsl_to_storage.py @@ -0,0 +1,108 @@ +"""Convert DSL Package + beliefs into Node[] + HyperEdge[] for storage.""" + +from __future__ import annotations + +from dataclasses import dataclass, fie...
478
SiliconEinstein/Gaia
ood_test
36
783998311cc7d646583e53baa7c1b014561d4544
2026-03-09T14:10:51+08:00
train
diff --git a/.claude/skills/gitflow/SKILL.md b/.claude/skills/gitflow/SKILL.md index ddceda2a..18d6a32f 100644 --- a/.claude/skills/gitflow/SKILL.md +++ b/.claude/skills/gitflow/SKILL.md @@ -1,6 +1,6 @@ --- name: gitflow -description: "Git flow assistant for team development. Use when the user says /gitflow, asks abo...
11
SiliconEinstein/Gaia
ood_test
37
4ef7a93ff618280286481f554ca46fa7c2cf50fe
2026-03-09T16:36:40+08:00
train
diff --git a/CLAUDE.md b/CLAUDE.md index 379cb5fb..9b4fed6e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -11,8 +11,8 @@ Gaia is a Large Knowledge Model (LKM) — a billion-scale reasoning hypergraph f ## Common Commands ```bash -# Install dependencies -pip install -e ".[dev]" +# Install dependencies (always use uv, neve...
695
SiliconEinstein/Gaia
ood_test
38
04de134b31b01db378102597bc43fc3f163841aa
2026-03-10T08:26:51+08:00
train
diff --git a/.claude/skills/meeting/SKILL.md b/.claude/skills/meeting/SKILL.md new file mode 100644 index 00000000..1e53af57 --- /dev/null +++ b/.claude/skills/meeting/SKILL.md @@ -0,0 +1,142 @@ +--- +name: meeting +description: Use when a decision needs structured multi-party deliberation with external AI agents befor...
371
SiliconEinstein/Gaia
ood_test
39
452da5295553be685adb796a954e2d41246a8991
2026-03-10T09:36:46+08:00
train
diff --git a/cli/commands/dsl.py b/cli/commands/dsl.py index 0e84f170..d9901083 100644 --- a/cli/commands/dsl.py +++ b/cli/commands/dsl.py @@ -6,8 +6,8 @@ import argparse import asyncio from pathlib import Path -from libs.dsl.executor import ActionExecutor -from libs.dsl.runtime import DSLRuntime +from libs.lang.ex...
366
SiliconEinstein/Gaia
ood_test
40
d395b6b254bdb7af2b4928f2d6d39b1b01e736ad
2026-03-10T09:37:55+08:00
train
diff --git a/cli/commands/dsl.py b/cli/commands/lang.py similarity index 83% rename from cli/commands/dsl.py rename to cli/commands/lang.py index d9901083..937e105c 100644 --- a/cli/commands/dsl.py +++ b/cli/commands/lang.py @@ -1,4 +1,4 @@ -"""Gaia DSL CLI commands.""" +"""Gaia Language CLI commands.""" from __futu...
356
SiliconEinstein/Gaia
ood_test
41
e3af704f29630fe7a0c006fdca6360fd0ddc278e
2026-03-10T10:36:44+08:00
train
diff --git a/docs/foundations/README.md b/docs/foundations/README.md index 1a4682ce..bcbdc6c1 100644 --- a/docs/foundations/README.md +++ b/docs/foundations/README.md @@ -57,8 +57,9 @@ The plan is to establish a small set of durable foundation docs before major cod 6. `cli/boundaries.md` (Gaia CLI runtime layering) 7...
232
SiliconEinstein/Gaia
ood_test
42
7faa11fef78b8dd53827bb0e862d599c420d7b84
2026-03-10T11:28:49+08:00
train
diff --git a/cli/commands/lang.py b/cli/commands/lang.py index 937e105c..f2737153 100644 --- a/cli/commands/lang.py +++ b/cli/commands/lang.py @@ -34,9 +34,9 @@ async def load_cmd(path: str) -> None: print(f"Version: {pkg.version}") print(f"Loaded: {len(pkg.loaded_modules)} modules") for mod in pkg.l...
173
SiliconEinstein/Gaia
ood_test
43
396455fbddfc00344ea90c3f49ff61faa48dcdce
2026-03-10T11:30:18+08:00
train
diff --git a/cli/main.py b/cli/main.py index edd7f581..00b94d40 100644 --- a/cli/main.py +++ b/cli/main.py @@ -448,7 +448,7 @@ def init_cmd( mod_data = { "type": "motivation_module", "name": "motivation", - "declarations": [ + "knowledge": [ { "type": "...
192
SiliconEinstein/Gaia
ood_test
44
a194cf8efc1d6c6efbe896866b4ff67579fdc8a9
2026-03-10T11:52:13+08:00
train
diff --git a/docs/plans/2026-03-10-storage-v2-chunk1.md b/docs/plans/2026-03-10-storage-v2-chunk1.md new file mode 100644 index 00000000..f1962009 --- /dev/null +++ b/docs/plans/2026-03-10-storage-v2-chunk1.md @@ -0,0 +1,794 @@ +# Storage V2 Chunk 1: Models + ABCs + Fixtures + +> **For Claude:** REQUIRED SUB-SKILL: Use...
36
SiliconEinstein/Gaia
ood_test
45
8e0189e3215d79f5b2c5fe9f97945f6066552311
2026-03-10T13:30:23+08:00
train
diff --git a/docs/foundations/README.md b/docs/foundations/README.md index bcbdc6c1..b4ad9fae 100644 --- a/docs/foundations/README.md +++ b/docs/foundations/README.md @@ -41,6 +41,10 @@ The execution plan for that reset lives here: - [Gaia CLI Runtime Boundaries](cli/boundaries.md) - [Gaia CLI Command Lifecycle](cli/...
65
SiliconEinstein/Gaia
ood_test
46
98e40bf2859289a7808d40429d8c838c53268ae6
2026-03-10T15:11:50+08:00
train
diff --git a/libs/lang/compiler.py b/libs/lang/compiler.py index 9f1abed1..553e2422 100644 --- a/libs/lang/compiler.py +++ b/libs/lang/compiler.py @@ -19,7 +19,8 @@ from .models import ( ) -# Types that participate in BP as variable nodes +# Types that participate in BP as variable nodes. +# Note: "subsumption" is...
47
SiliconEinstein/Gaia
ood_test
47
3df808a5d84ddebc8386da443fa36201508fb489
2026-03-10T17:52:11+08:00
train
diff --git a/docs/plans/2026-03-10-storage-v2-chunk3.md b/docs/plans/2026-03-10-storage-v2-chunk3.md new file mode 100644 index 00000000..a710c098 --- /dev/null +++ b/docs/plans/2026-03-10-storage-v2-chunk3.md @@ -0,0 +1,947 @@ +# Storage V2 Chunk 3: GraphStore (Kuzu) Implementation Plan + +> **For Claude:** REQUIRED S...
64
SiliconEinstein/Gaia
ood_test
48
fa7cc5b38c2a8e9fe4aa5904e840887f4298ac8b
2026-03-11T10:37:16+08:00
train
diff --git a/cli/infer_store.py b/cli/infer_store.py new file mode 100644 index 00000000..24e1133b --- /dev/null +++ b/cli/infer_store.py @@ -0,0 +1,40 @@ +"""Infer result serialization/deserialization.""" + +from __future__ import annotations + +import json +from pathlib import Path + + +def save_infer_result( + pk...
346
SiliconEinstein/Gaia
ood_test
49
185144033e90ab00c8429f7fc6df9fb55528bf72
2026-03-11T11:17:48+08:00
train
diff --git a/docs/plans/2026-03-10-storage-v2-chunk4.md b/docs/plans/2026-03-10-storage-v2-chunk4.md new file mode 100644 index 00000000..29a7259c --- /dev/null +++ b/docs/plans/2026-03-10-storage-v2-chunk4.md @@ -0,0 +1,195 @@ +# LanceVectorStore Implementation Plan (Chunk 4/6) + +> **For Claude:** REQUIRED SUB-SKILL:...
24
SiliconEinstein/Gaia
ood_test
50
8a04fdd0356bccb8c5336abdc2560836562be22a
2026-03-11T14:30:37+08:00
train
diff --git a/cli/lang_to_v2.py b/cli/lang_to_v2.py index 6b40b0ac..78728516 100644 --- a/cli/lang_to_v2.py +++ b/cli/lang_to_v2.py @@ -31,7 +31,7 @@ class V2IngestData: package: v2.Package modules: list[v2.Module] = field(default_factory=list) - closures: list[v2.Closure] = field(default_factory=list) + ...
240
SiliconEinstein/Gaia
ood_test
51
2bb0a591191ff24b376ec8b570ae8389397475f2
2026-03-11T17:43:01+08:00
train
diff --git a/cli/lang_to_v2.py b/cli/lang_to_v2.py index 78728516..56b2c2b3 100644 --- a/cli/lang_to_v2.py +++ b/cli/lang_to_v2.py @@ -59,9 +59,10 @@ def convert_to_v2( # 1. Package -> v2.Package v2_package = _convert_package(pkg, now) + module_decl_index = _build_module_decl_index(pkg) # 2. Build...
107
SiliconEinstein/Gaia
ood_test
52
9c96daa11d036c486f44247aea9633457ccf8c2a
2026-03-12T12:08:19+08:00
train
diff --git a/cli/lang_to_v2.py b/cli/lang_to_v2.py index 56b2c2b3..97876599 100644 --- a/cli/lang_to_v2.py +++ b/cli/lang_to_v2.py @@ -56,6 +56,7 @@ def convert_to_v2( and belief snapshots. """ now = datetime.now(timezone.utc) + pkg_version = pkg.version or "0.1.0" # 1. Package -> v2.Packag...
199
SiliconEinstein/Gaia
ood_test
53
eacfdf2b8b81fc0b963d23d02de01f62e038f049
2026-03-12T13:06:02+08:00
train
diff --git a/cli/main.py b/cli/main.py index 8e3ba001..e1d90524 100644 --- a/cli/main.py +++ b/cli/main.py @@ -284,7 +284,11 @@ def publish( raise typer.Exit(1) if local: - resolved_db_path = db_path or os.environ.get("GAIA_LANCEDB_PATH", "./data/lancedb/gaia") + if db_path: + ...
17
SiliconEinstein/Gaia
ood_test
54
7f2eae0fdd43675f196f8c1d9a9f2fc888b19ea7
2026-03-13T09:07:59+08:00
train
diff --git a/docs/foundations/README.md b/docs/foundations/README.md index b4ad9fae..abaa3e94 100644 --- a/docs/foundations/README.md +++ b/docs/foundations/README.md @@ -24,11 +24,19 @@ The execution plan for that reset lives here: - [System Overview](system-overview.md) - [Domain Model](domain-model.md) +**Graph ...
131
SiliconEinstein/Gaia
ood_test
55
d740ba3c48c47554f948f2d46bf89842a5ae73a5
2026-03-13T10:02:03+08:00
train
diff --git a/cli/main.py b/cli/main.py index e1d90524..2f28b0fc 100644 --- a/cli/main.py +++ b/cli/main.py @@ -4,6 +4,12 @@ from __future__ import annotations import asyncio from pathlib import Path +import sys + +if __package__ in {None, ""}: + repo_root = Path(__file__).resolve().parents[1] + if str(repo_ro...
94
SiliconEinstein/Gaia
ood_test
56
64a7098c174837ab20ecaa39789d3ed9f8bfeefc
2026-03-13T10:33:16+08:00
train
diff --git a/CLAUDE.md b/CLAUDE.md index 9b4fed6e..a2d7420f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,9 +4,9 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Project Overview -Gaia is a Large Knowledge Model (LKM) — a billion-scale reasoning hypergraph for knowledge represe...
373
SiliconEinstein/Gaia
ood_test
57
884107f1e65a1a2b9b9563b716a2b019efab3521
2026-03-14T16:07:56+08:00
train
diff --git a/cli/main.py b/cli/main.py index f756fe97..b508ca66 100644 --- a/cli/main.py +++ b/cli/main.py @@ -46,37 +46,31 @@ def build( """Elaborate: parse + resolve + instantiate params.""" from cli.manifest import save_manifest from libs.graph_ir import ( - build_raw_graph, - build_sing...
386
SiliconEinstein/Gaia
ood_test
58
f5bce7569a37bf927ceb175b42c3d79d79e3aa2d
2026-03-14T16:19:44+08:00
train
diff --git a/scripts/ingest.py b/scripts/ingest.py index cdf43a2b..157d6133 100644 --- a/scripts/ingest.py +++ b/scripts/ingest.py @@ -79,7 +79,7 @@ class Source(ABC): class PaperXMLSource(Source): """Convert XML reasoning chains via xml_to_yaml + pipeline_build/review/infer.""" - PAPERS_DIR = Path("tests/fi...
109
SiliconEinstein/Gaia
ood_test
59
44ff52e06e257b718d81710bea2800e50fba4187
2026-03-15T18:14:03+08:00
train
diff --git a/.claude/skills/brainstorming/SKILL.md b/.claude/skills/brainstorming/SKILL.md new file mode 100644 index 00000000..87233bd8 --- /dev/null +++ b/.claude/skills/brainstorming/SKILL.md @@ -0,0 +1,147 @@ +--- +name: brainstorming +description: "You MUST use this before any creative work - creating features, bu...
99
SiliconEinstein/Gaia
ood_test
60
f021374cdba2afb993214662dca6216accf83ca8
2026-03-16T10:00:46+08:00
train
diff --git a/CLAUDE.md b/CLAUDE.md index a2d7420f..ba06c24b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -124,6 +124,11 @@ git worktree add .worktrees/<name> -b feature/<name> ``` 3. 修复所有 lint/format 错误 4. 提交 commit,push 分支,创建 PR +5. 创建 PR 后,**必须**用 `gh run list` 检查 CI 是否通过,若失败则查看日志修复: + ```bash + gh run list --...
64
SiliconEinstein/Gaia
ood_test
61
6c64e9098ff605f78be70e163e2330224aecf628
2026-03-17T11:14:43+08:00
train
diff --git a/docs/foundations/graph-ir.md b/docs/foundations/graph-ir.md index e46ff9ca..00a18cfe 100644 --- a/docs/foundations/graph-ir.md +++ b/docs/foundations/graph-ir.md @@ -350,7 +350,7 @@ Question nodes may only appear as factor conclusions in V1. Action nodes may app ### 6.3 Build Output ``` -.gaia/graph/ra...
100
SiliconEinstein/Gaia
ood_test
62
d37c6644626e2e5b98335d135ac3e67571e984c4
2026-03-17T13:56:39+08:00
train
diff --git a/CLAUDE.md b/CLAUDE.md index ba06c24b..43570084 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -130,6 +130,12 @@ git worktree add .worktrees/<name> -b feature/<name> gh run view <run-id> --log-failed ``` +## Implementation Rules + +- **严格遵守设计文档**:实现时不得擅自降级设计文档中明确指定的技术方案(如用 TF-IDF 替代 embedding + BM25)。如...
76
SiliconEinstein/Gaia
ood_test
63
2996406310da47b900cf2b682e41eb43b8dca81f
2026-03-18T09:26:17+08:00
train
diff --git a/docs/superpowers/plans/2026-03-17-curation-service.md b/docs/superpowers/plans/2026-03-17-curation-service.md new file mode 100644 index 00000000..cdfb620c --- /dev/null +++ b/docs/superpowers/plans/2026-03-17-curation-service.md @@ -0,0 +1,3737 @@ +# Curation Service Implementation Plan + +> **For agentic...
223
SiliconEinstein/Gaia
ood_test
64
09b2bde483aa797fd8707501c84bcbdb57020719
2026-03-18T16:52:22+08:00
train
diff --git a/libs/graph_ir/build.py b/libs/graph_ir/build.py index fd0ee6b6..aa22b8da 100644 --- a/libs/graph_ir/build.py +++ b/libs/graph_ir/build.py @@ -55,6 +55,7 @@ def build_raw_graph(pkg: Package) -> RawGraph: version = pkg.version or "0.0.0" knowledge_nodes: list[RawKnowledgeNode] = [] factor_node...
105
SiliconEinstein/Gaia
ood_test
65
34d44385a93751d387757c57dad91e715da32266
2026-03-19T10:23:14+08:00
train
diff --git a/docs/plans/2026-03-18-abstraction-agent.md b/docs/plans/2026-03-18-abstraction-agent.md new file mode 100644 index 00000000..4610b776 --- /dev/null +++ b/docs/plans/2026-03-18-abstraction-agent.md @@ -0,0 +1,269 @@ +# Abstraction Agent Implementation Plan + +## Context + +Spec §3.2.2 defines an abstraction...
105
SiliconEinstein/Gaia
ood_test
66
311aefaf5cd7834abfd9f0a40dce097120cf3a8b
2026-03-19T13:02:41+08:00
train
diff --git a/cli/main.py b/cli/main.py index b508ca66..b3b41bc4 100644 --- a/cli/main.py +++ b/cli/main.py @@ -42,8 +42,23 @@ def _load_with_deps(pkg_path: Path): @app.command() def build( path: str = typer.Argument(".", help="Path to knowledge package directory"), + format: str = typer.Option("md", "--format...
162
SiliconEinstein/Gaia
ood_test
67
82ae75dec9f88b7da799496ba8f0e57dc74ff9a1
2026-03-19T15:20:07+08:00
train
diff --git a/CLAUDE.md b/CLAUDE.md index 43570084..82add5ac 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -130,6 +130,53 @@ git worktree add .worktrees/<name> -b feature/<name> gh run view <run-id> --log-failed ``` +## Skills + +`.claude/skills/` 下定义了规范化的工作流 skill,执行任务时**必须**使用对应的 skill: + +- **writing-plans** — ...
200
SiliconEinstein/Gaia
ood_test
68
dddbecd646d94201abad7b7b43425875d4c3832e
2026-03-19T19:06:41+08:00
train
diff --git a/docs/foundations/bp-on-graph-ir.md b/docs/foundations/bp-on-graph-ir.md index a86cfcce..4e60c399 100644 --- a/docs/foundations/bp-on-graph-ir.md +++ b/docs/foundations/bp-on-graph-ir.md @@ -2,8 +2,8 @@ | 文档属性 | 值 | |---------|---| -| 版本 | 1.0 | -| 日期 | 2026-03-12 | +| 版本 | 2.0 | +| 日期 | 2026-03-19 | |...
515
SiliconEinstein/Gaia
ood_test
69
e55adcd32fd8a45a3b5a6978aa296e85bfed9785
2026-03-19T23:53:17+08:00
train
diff --git a/future/lang/plausible_core.py b/future/lang/plausible_core.py new file mode 100644 index 00000000..e3d459df --- /dev/null +++ b/future/lang/plausible_core.py @@ -0,0 +1,676 @@ +"""Minimal plausible-reasoning kernel prototype. + +This module is intentionally standalone. It does not integrate with the +exist...
102
SiliconEinstein/Gaia
ood_test
70
e97edad71c130e1fe0560186ecfc046b7343a8e4
2026-03-20T16:20:25+08:00
train
diff --git a/cli/commands/lang.py b/cli/commands/lang.py deleted file mode 100644 index f2737153..00000000 --- a/cli/commands/lang.py +++ /dev/null @@ -1,160 +0,0 @@ -"""Gaia Language CLI commands.""" - -from __future__ import annotations - -import argparse -import asyncio -from pathlib import Path - -from libs.lang.ex...
158
SiliconEinstein/Gaia
ood_test
71
9567c1e258f011249ca8c9da3ef5a194c631c424
2026-03-21T13:10:30+08:00
train
diff --git a/libs/storage/config.py b/libs/storage/config.py index 041c429d..ac9147ce 100644 --- a/libs/storage/config.py +++ b/libs/storage/config.py @@ -1,20 +1,46 @@ """Storage configuration.""" +from __future__ import annotations + from typing import Literal from pydantic_settings import BaseSettings cl...
20
SiliconEinstein/Gaia
ood_test
72
f060e4eb1aa876b727cfd462d6cae0765d06e1b7
2026-03-21T14:56:04+08:00
train
diff --git a/docs/superpowers/plans/2026-03-20-unified-graph-viewer.md b/docs/superpowers/plans/2026-03-20-unified-graph-viewer.md new file mode 100644 index 00000000..90b1a29b --- /dev/null +++ b/docs/superpowers/plans/2026-03-20-unified-graph-viewer.md @@ -0,0 +1,312 @@ +# Unified Graph Viewer Implementation Plan + +...
88
SiliconEinstein/Gaia
ood_test
73
3d99fc5b882c9c2b704d5111372ea4e98459ddc9
2026-03-21T15:01:59+08:00
train
diff --git a/archive/__init__.py b/archive/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/archive/cli/__init__.py b/archive/cli/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/archive/scripts/__init__.py b/archive/scripts/__init__.py new file mode 100644 index 00000000..e6...
150
SiliconEinstein/Gaia
ood_test
74
e37a2b57b623b57c2af02040438cb3e6baab4157
2026-03-21T15:06:52+08:00
train
diff --git a/cli/main.py b/cli/main.py index 5ccad1ea..69bdc367 100644 --- a/cli/main.py +++ b/cli/main.py @@ -20,6 +20,12 @@ app = typer.Typer( ) +def _uses_v4_dsl(graph_data: dict) -> bool: + if graph_data.get("dsl_version") == "v4": + return True + return any("premises" in factor for factor in grap...
186
SiliconEinstein/Gaia
ood_test
75
50a101553aa01e755636de3b1f4878af9bcc1c30
2026-03-21T17:10:04+08:00
train
diff --git a/CLAUDE.md b/CLAUDE.md index 82add5ac..861a17a2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -48,11 +48,22 @@ services/gateway/ → FastAPI HTTP API (routes, dependency injection) libs/storage/ → Storage backends (LanceDB content, Neo4j/Kuzu graph, LanceDB vector) libs/storage/models.py → C...
159
SiliconEinstein/Gaia
ood_test
76
c49f20df3c6caedf433909f2fa05c32b6dd12e78
2026-03-21T19:14:41+08:00
train
diff --git a/docs/superpowers/plans/2026-03-21-multi-step-chains.md b/docs/superpowers/plans/2026-03-21-multi-step-chains.md new file mode 100644 index 00000000..035513ec --- /dev/null +++ b/docs/superpowers/plans/2026-03-21-multi-step-chains.md @@ -0,0 +1,396 @@ +# Multi-Step Chains from XML Reasoning Steps — Implemen...
78
SiliconEinstein/Gaia
ood_test
77
ad0e419856df4e52b8cefa2b518cc317bed8ca0c
2026-03-21T19:55:27+08:00
train
diff --git a/README.md b/README.md index 4071aaff..0f113118 100644 --- a/README.md +++ b/README.md @@ -67,11 +67,10 @@ Labels follow `<filename.name>` convention. `from:` declares premises (reasoning ## Pipeline ``` -gaia build Typst → load → compile → canonicalize → Graph IR -gaia build --proof-state ...
82
SiliconEinstein/Gaia
ood_test
78
45ca6ca007fc69caddeefd79374a2d6aeb135337
2026-03-21T21:35:08+08:00
train
diff --git a/libs/graph_ir/storage_converter.py b/libs/graph_ir/storage_converter.py index 9eb5a74a..6d2d15f3 100644 --- a/libs/graph_ir/storage_converter.py +++ b/libs/graph_ir/storage_converter.py @@ -26,7 +26,6 @@ _FACTOR_TYPE_MAP: dict[str, str] = { _KNOWLEDGE_TYPE_MAP: dict[str, str] = { "claim": "claim", ...
197
SiliconEinstein/Gaia
ood_test
79
156908b1fb970ed459f0c6093efc34738be23397
2026-03-21T22:09:22+08:00
train
diff --git a/cli/main.py b/cli/main.py index 89a69ef1..f7f6dbd8 100644 --- a/cli/main.py +++ b/cli/main.py @@ -20,12 +20,6 @@ app = typer.Typer( ) -def _uses_v4_dsl(graph_data: dict) -> bool: - if graph_data.get("dsl_version") == "v4": - return True - return any("premises" in factor for factor in grap...
25
SiliconEinstein/Gaia
ood_test
80
517cca2cccc719e9e0af5a3dfd49e78ed449f951
2026-03-22T09:40:31+08:00
train
diff --git a/docs/foundations/README.md b/docs/foundations/README.md index 59d56094..5b4cd116 100644 --- a/docs/foundations/README.md +++ b/docs/foundations/README.md @@ -32,7 +32,7 @@ The execution plan for that reset lives here: - [Theoretical Foundation](theory/theoretical-foundation.md) — Jaynes 纲领 - [Inference...
23
SiliconEinstein/Gaia
ood_test
81
4d01584d6de0ae0812d353c95446ee81021d3e1f
2026-03-25T16:24:16+08:00
train
diff --git a/AGENTS.md b/AGENTS.md index 3f6cfaae..d815f762 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -127,3 +127,16 @@ Usage notes: <!-- SKILLS_TABLE_END --> </skills_system> + +## Documentation Policy + +When editing docs under `docs/foundations/`, read `docs/foundations/documentation-policy.md` first. + +Use tha...
90
SiliconEinstein/Gaia
ood_test
82
767386b48c7ebffd521696210b63870ef372f4d4
2026-03-25T21:03:55+08:00
train
diff --git a/.claude/skills/brainstorming/SKILL.md b/.claude/skills/brainstorming/SKILL.md index 87233bd8..54d7d384 100644 --- a/.claude/skills/brainstorming/SKILL.md +++ b/.claude/skills/brainstorming/SKILL.md @@ -26,7 +26,7 @@ You MUST create a task for each of these items and complete them in order: 3. **Ask clarif...
195
SiliconEinstein/Gaia
ood_test
83
f433dc39d52d6b618cbe957fe9478b594561d3c4
2026-03-26T18:47:17+08:00
train
diff --git a/docs/foundations/gaia-lang/knowledge-types.md b/docs/foundations/gaia-lang/knowledge-types.md index 2f5d8a94..ffcd34bc 100644 --- a/docs/foundations/gaia-lang/knowledge-types.md +++ b/docs/foundations/gaia-lang/knowledge-types.md @@ -1,26 +1,32 @@ # 知识类型 -> **Status:** Current canonical +> **Status:** T...
102
SiliconEinstein/Gaia
ood_test
84
390195a60f74b851307782eeed66bd0d9895f33c
2026-03-26T18:55:35+08:00
train
diff --git a/gaia/core/canonicalize.py b/gaia/core/canonicalize.py new file mode 100644 index 00000000..064b2790 --- /dev/null +++ b/gaia/core/canonicalize.py @@ -0,0 +1,336 @@ +"""Global canonicalization — map local canonical nodes to global canonical nodes. + +Implements docs/foundations/graph-ir/graph-ir.md §3 (§3.1...
176
SiliconEinstein/Gaia
ood_test
85
973143ea6bedaf5499103f2cf018ece9b8c32e9d
2026-03-26T20:36:42+08:00
train
diff --git a/docs/foundations/theory/reasoning-hypergraph.md b/docs/archive/foundations-v2/theory/reasoning-hypergraph.md similarity index 100% rename from docs/foundations/theory/reasoning-hypergraph.md rename to docs/archive/foundations-v2/theory/reasoning-hypergraph.md diff --git a/docs/archive/foundations-v3/theory...
85