Skip to content

fix: resolve PyPI release blockers and major inconsistencies - #476

Open
hiroshitanaka-creator wants to merge 1 commit into
mainfrom
claude/po-core-release-audit-ln0nc
Open

fix: resolve PyPI release blockers and major inconsistencies#476
hiroshitanaka-creator wants to merge 1 commit into
mainfrom
claude/po-core-release-audit-ln0nc

Conversation

@hiroshitanaka-creator

Copy link
Copy Markdown
Owner

Summary

  • 変更概要:
  • 背景/目的:

必須チェック(SSOT / 進捗 / テスト報告)

  • SSOT docs/厳格固定ルール.md を読んだ
  • docs/status.md を更新した(どこを動かしたかを記載)
  • 実行したテストコマンドと結果を下記に記載した
  • 影響範囲とロールバック手順を下記に記載した
  • 既存の policy/golden/schema/migration チェック項目を削除していない(下位セクションで確認)

要件トレーサビリティ(M4ゲート)

  • Requirement ID(s): REQ- / NFR- / FR-
    • 関連する要件IDを少なくとも1つ記載した
  • 関連AT/シナリオ:
    • Acceptance Test ID / scenario を記載した(または「なし」と明記)

Status Update

  • 更新箇所(Completed / Meta / Next など):
  • 更新内容:

Test Report

  • pytest -q
  • その他:

実行ログ(コマンドと結果):

Impact / Rollback

  • 影響範囲:
  • ロールバック手順:

Policy Change Protocol v1(policy定数変更時のみ必須)

  • policy定数変更なし(該当しない)
  • policy_lab レポート(JSON)を添付した
  • policy_lab レポート(Markdown)を添付した
  • impacted_requirements 上位(例: Top 3)を本文へ記載した
  • golden差分がある場合、再生成で更新した(手編集なし)
  • golden差分要約(対象ケース/主要差分/妥当性)を本文へ記載した

Evidence

  • policy_lab artifacts:
    • JSON:
    • Markdown:
  • impacted_requirements (Top):
    1.
    2.
    3.

ADRチェック

  • ADR不要(理由を記載)
  • ADR追加/更新あり: docs/adr/XXXX-*.md

Determinism & Compatibility Checklist

  • 凍結golden(case_001 / case_009)を変更していない
  • schema互換性を確認した(tests/test_input_schema.py / tests/test_output_schema.py
  • golden契約を確認した(tests/test_golden_e2e.py
  • 互換性に影響がある場合、docs/operations/migration_guide_v1.md を更新した

Notes

  • 追加の注意事項・制約:

BLOCKER fixes:
- Add src/po_core/config/__init__.py so importlib.resources.files("po_core.config")
  works in installed wheels (battalion_table.py, pareto_table.py, release_smoke.py)
- Add pre-publish gate job to publish.yml: must-pass tests + safety check run
  before build; publishing without CI passing is no longer possible
- Remove "|| true" from safety check in ci.yml; add security to build.needs so
  CVE detection now blocks the build and publish pipeline

MAJOR fixes:
- Fix philosophers_max_normal default 39→42 in config.py, settings.py (2 places);
  REST API now deploys all 42 philosophers by default as documented
- Update REPOSITORY_STRUCTURE.md: replace v0.2.0b4→v1.0.2 (4 places), update
  Last Updated date, add completed M1-M4 milestones to Phase table
- Remove po_system_prompt (20-philosopher Claude test framework) from public
  __init__.py exports; it is internal testing infrastructure, not public API
- Fix badiou.yaml risk_level: 1→2 to match manifest.py (REDTEAM tier)
- Update QUICKSTART.md: pip install po-core-flyingpig is now primary install path

MINOR fix:
- Add WIP notice to philosophers/prompts/_GUIDE.md clarifying that YAML prompt
  files are incomplete (2/42 done) and LLMPhilosopher currently uses llm_personas.py

https://claude.ai/code/session_01DzvQ452ppBamM7UzQnhAd5
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.

2 participants