Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/project-registry-overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"notion_projection_only_rows": {
"app": "local runtime/app shell placeholder; not a portfolio-truth repo",
"claude-code-harness": "local agent harness projection; outside repo-root truth",
"RAG Knowledge Base": "notion planning row; not a portfolio-truth repo",
"Sandbox Local Portfolio Project": "actuation sandbox fixture row",
"SecondBrain": "knowledge vault under /Users/d/Documents; not a /Users/d/Projects repo"
},
Expand Down
12 changes: 12 additions & 0 deletions tests/test_project_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,18 @@ def test_projection_policy_is_published_from_defaults():
assert policy["notion_truth_shadow_rows"]["agent-bridge-launch"] == "agent-bridge"


def test_configured_projection_policy_preserves_rag_planning_row_exclusion():
registry = build_project_registry(
SNAPSHOT,
notion_snapshot_path=None,
overrides_config_path=Path("config/project-registry-overrides.json"),
)

assert registry["projection_policy"]["notion_projection_only_rows"][
"RAG Knowledge Base"
] == "notion planning row; not a portfolio-truth repo"


def test_resolve_returns_none_for_non_projects():
registry = build_project_registry(SNAPSHOT, overrides_config_path=None)
index = build_index(registry)
Expand Down