Repository navigation
Conversation
…istry/spec Add issue-refinement-ops-review task-kind to agent_ops_inventory.py with: - MUST_READ paths per AC2 (AGENTS.md, CLAUDE.md, contract scripts, refinement loop entrypoints) - Optional inventory artifact generation with coverage of required prefixes (AC3) - DO_NOT_READ_INITIAL_ONLY for src/ and docs/product/ (AC4) - Parameterized build_agent_ops_inventory() to share implementation between both ops-review task-kinds (AC7) - Comprehensive test suite in test_issue_refinement_ops_review.py covering all ACs Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…s/ prefix support Fixes: - GAP 1 (AC3): Add ".claude/agents/" to target_prefixes so inventory has items under that prefix - GAP 2 (AC6 / MAJOR-2): Add per-prefix coverage block with tracked_matches count and empty_ok flag Implementation: - Updated build_agent_ops_inventory() to include ".claude/agents/" in target_prefixes (line 297) - Added coverage computation before return statement with 7 required prefixes - Coverage dict includes: prefix, tracked_matches (int), empty_ok (bool) - Returned dict now includes "coverage" key alongside existing schema fields Tests (test_issue_refinement_ops_review.py): - Added test_inventory_coverage_includes_claude_agents_and_codex_agents() to coverage class Verifies: coverage field exists, all required prefixes present, .claude/agents/ has tracked_matches >= 1 - Added test_security_coverage_tracked_matches_and_empty_ok() to security class Verifies: all coverage entries have correct type and empty_ok == (tracked_matches == 0) All 36 tests in test_issue_refinement_ops_review.py pass. All 59 tests in test_agent_ops_inventory.py pass (no regression). Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Add a runner-side CI=true env delta for pnpm build, classify pnpm no-TTY failures as tooling blockers, and sync the related tests and guidance.
16 tasks
Contributor
Preview URL⏳ publish requested(asset-level live check 未検証 / Pages source 設定後に有効化): https://squne121.github.io/loop-protocol/pr-956/ Pages source の設定が必要な場合: Settings → Pages → Source → gh-pages (root) |
34 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Issue #943 の Step 1 として、
pnpm buildの no-TTY false blocker を決定論的に扱う変更だけに絞って実装しました。baseline_vc_preflight.pyにpnpm build専用の runner-side fixed env delta{CI:"true"}を追加し、shell=Falseのまま安全に実行するようにしました。ERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY/Aborted removal of modules directory due to no TTYをpackage_manager_no_tty_promptとして分類し、body-author-fixable ではなく tooling/env blocker として扱うようにしました。env CI=true pnpm buildとCI=true pnpm buildの workaround を許可しない方針を tests / docs / skill guidance に同期しました。Checks
以下の確認をすべてローカルで実行し、pass を確認しました。
python3 -m py_compile .claude/skills/issue-contract-review/scripts/baseline_vc_preflight.py .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight.pyuv run pytest .claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight.py -vpnpm typecheckpnpm lintpnpm testpnpm buildSchema Change Applicability
Schema Consumer Inventory
対象なし。
理由:
not_schema_changeのため、consumer inventory を更新すべき schema 変更はありません。Safety Claim Matrix
この PR で制御した安全境界と、その確認根拠を以下に整理します。
pnpm buildの no-TTY false blocker を shell/env prefix を解禁せず修正したpackage_manager_no_tty_prompt分類、追加 pytest で確認envwrapper を一般解禁せず allowlist 境界を維持したtest_env_wrapper_exact_env_ci_pnpm_gate_is_blockedとtest_shell_env_prefix_ci_true_pnpm_build_is_blockedで確認test_runner_env_delta_output_exposes_only_fixed_envで{\"CI\":\"true\"}のみ出力されることを確認Notes
関連情報とスコープ境界を以下に記録します。
.claude/skills/issue-contract-review/scripts/baseline_vc_preflight.py,.claude/skills/issue-contract-review/scripts/tests/test_baseline_vc_preflight.py,.claude/skills/create-issue/references/body-authoring.md,.claude/skills/issue-contract-review/references/vc-preflight.md,.claude/skills/issue-contract-review/SKILL.md.claude/worktrees/issue-943-pnpm-ci-buildtests/fixtures/agent-session-manifest/temp-invalid-no-markers.mdとartifacts/はこの PR に含めていません。