Skip to content

[codex] fix personal-ops local portfolio mapping#139

Merged
saagpatel merged 1 commit into
mainfrom
codex/personal-ops-local-portfolio-id
Jul 4, 2026
Merged

[codex] fix personal-ops local portfolio mapping#139
saagpatel merged 1 commit into
mainfrom
codex/personal-ops-local-portfolio-id

Conversation

@saagpatel

Copy link
Copy Markdown
Owner

What

Updates config/notion-project-map.json so personal-ops points at the live Local Portfolio Projects row instead of the older Project Portfolio scoring row.

Why

The bridge-sync cleanup surfaced that the existing personal-ops map used page 35bc21f1-caf0-81cb-9426-dd264ef668b2, which fetches from the older Project Portfolio data source. Build Log receipt routing expects the Local Portfolio Projects row. Live Notion readback confirmed the current Personal Ops Local Portfolio page is 332c21f1-caf0-810d-bf15-e5486454ff81.

Review Of What Was Built

  • Repoints personal-ops to Local Portfolio page 332c21f1-caf0-810d-bf15-e5486454ff81.
  • Keeps the change scoped to one config value.
  • Leaves harness-scorecard, peer-agent-tools, and operator-os-docs unmapped because live Notion checks did not find an exact safe Local Portfolio target for those identities.

Cleanup Review

No removals. This avoids a future bad receipt relation into the older scoring/project database while preserving the existing no-target policy holds for unrelated project families.

Verification Summary

  • Live Notion fetch: 332c21f1-caf0-810d-bf15-e5486454ff81 is titled Personal Ops under collection://7858b551-4ce9-4bc3-ad1d-07b187d7117b Local Portfolio Projects.
  • Live Notion fetch: prior mapped page 35bc21f1-caf0-81cb-9426-dd264ef668b2 is under old collection://35e04e4d-bcd8-45c0-b783-238edef210f7 Project Portfolio.
  • jq -e '."personal-ops".localProjectId == "332c21f1-caf0-810d-bf15-e5486454ff81" and .SecondBrain.localProjectId == "362c21f1-caf0-8147-8bbf-fa0fd3ae1480"' config/notion-project-map.json
  • uv run pytest tests/test_project_registry.py -> 14 passed
  • Scratch registry build: supp:personal-ops.notion_local_page_id resolves to 332c21f1-caf0-810d-bf15-e5486454ff81; harness-scorecard, peer-agent-tools, and operator-os-docs remain null.
  • BridgeDB health readback stayed clean: actionable_unprocessed_shipped_count=0, processed_shipped_without_receipt_count=0.
  • Notion bridge sync dry run: Found: 21, Written: 0, Skipped: 21, Failed: 0.

Shipped Summary

This branch corrects future bridge/Notion receipt routing for personal-ops without widening project mapping for ambiguous no-target rows.

Next Phase

Decide whether active infrastructure projects like harness-scorecard and peer-agent-tools deserve new Local Portfolio rows. Do not create rows automatically from bridge-sync; require an explicit operator/project routing decision.

Remaining Roadmap

  • Keep true no-target SHIPPED rows dispositioned until their canonical project registry or Notion targets are repaired.
  • Continue exact live Notion checks before changing any mapping.
  • Treat experimental/evidence-history lanes as non-default attention unless explicitly reactivated.

@saagpatel
saagpatel merged commit 08b404e into main Jul 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant