Skip to content

feat(plan-execute): wire production retrieval runtime - #84

Merged
SHcommit merged 7 commits into
developfrom
feature/plan-execute-runtime-consistency
Nov 18, 2026
Merged

SHcommit merged 7 commits into
developfrom
feature/plan-execute-runtime-consistency

Conversation

@SHcommit

@SHcommit SHcommit commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

요약

Plan/Execute의 실제 Postgres corpus, lexical/dense retrieval, authority filter, reviewed-fact grounded generation, 만료 plan 정리를 연결했습니다. Gemini profile corpus staging, 별도 활성화 CLI, 검수 fact loader 및 Spring과의 staging 절차도 추가했습니다.

Refs #76 (이 PR은 staging/운영 검증을 완료하지 않으므로 이슈를 닫지 않습니다.)

검증

  • uv run pytest -q: 1099 passed, 43 skipped
  • data-preparation focused tests: 31 passed, 1 skipped
  • disposable local Postgres migration/import/rollback: 1 passed
  • uv run ruff check src tests scripts: 통과
  • uv run mypy: 170 source files 통과
  • Docker image build 및 4개 운영 CLI --help, migration 포함 확인 통과
  • GitHub Actions verify: 통과
  • 읽기 전용 별도 코드 리뷰: 주요 지적 수정, Spring grant 권한 경계 확인

staging/운영 blocker

  • Spring의 ONMARU_AI_PLAN_EXECUTE_ENABLED / onmaru.ai.plan-execute-enabled는 계속 false로 둡니다.
  • BE PR #862와 이 PR이 develop에 반영된 뒤 staging Compose/DB/secrets 배선을 확인합니다.
  • staging corpus를 query embedding과 같은 Gemini profile로 새 revision에 재색인하고 검증해야 합니다.
  • 003_reviewed_facts.sql은 별도 migration role로 적용하고, curated facts는 사람이 검수·승인한 뒤 적재해야 합니다.
  • Spring과 live HTTP 합동 검증(clarify, SQL_ONLY NO_MATCH, pinned recommendation, 5 routes), rollback 및 부하 검증이 남았습니다.
  • 이 작업에서는 staging/production DB, corpus, Gemini API, feature flag를 변경하지 않았습니다.

상세 절차: Plan/Execute staging runbook

Complete the AI Engine side of the plan-execute runtime consistency work tracked by #76. Add active Postgres corpus wiring, authority-safe retrieval, exact reviewed-fact grounding, and staging deployment guidance.
@SHcommit
SHcommit marked this pull request as ready for review November 18, 2026 06:28
@SHcommit
SHcommit merged commit b517891 into develop Nov 18, 2026
2 checks passed
@SHcommit
SHcommit deleted the feature/plan-execute-runtime-consistency branch November 18, 2026 06:57
SHcommit added a commit that referenced this pull request Nov 18, 2026
chore(release): promote develop (#84, #85) to master
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