[신규 일반 워크플로] 프로필 명시·MCP 작업별 선택 전달 #112
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
queue: KANDEV-WORKFLOW-EXPLICIT-PROFILE-MCP-20261014
소유자 원문과 코드관리 최초 공개 API readback: _UserHub/_desk/261001_mpm_ops_handoff/sent/codex_workflow_profile_api_readback_1014.md. 이 파일의 소유자 원문 전체와 운영 분담을 먼저 읽는다.
목표: 신규 일반 작업용 opt-in workflow에서 명시 프로필 누락을 작업 생성 전에 거절하고, UI/REST의 workflow_agent_overrides를 MCP schema/server/backend/service까지 전달하여 요청한 동적 프로필이 실제 runner 단계에 적용되고 기존 세션 재사용 의미를 유지한다.
한 코드 작업/하나의 원자 전달: 관련 기존 요구·설계 및 API를 확인하고 같은 delivery 내 opt-in 정책+MCP 전달+실제 생성/runner 연결을 구현·독립 검토·필수 수정·fork 정상 병합한다. 기존 default/profile-drop/overrides 산출물은 재사용하고 중복 구현하지 않는다. 현재 memex 조회 CALL-20261014-09e5fdf34deb hits0이지만 실제 repo owning design workflow-agent-overrides.md 및 mcp-task-agent-profile-default.md가 있다.
범위: opt-in=false 기존 흐름/관제/Office/시스템복구 유지, 새 일반 workflow에서만 생성 시 적용, 기존task/workflow/session/history 이관·초기화 없음. 기존 required selection을 global MCP 설정으로 확대하지 않는다. 고정 profile/source/task/workflow UUID나 이름분류·semantic classifier·새 원장/감시/상시 gate를 넣지 않는다. 기존 dynamic candidate순서·상한·독립 검토·권한·external-ID idempotency 보존. 선택된 workflow runner의 source→replacement map을 현재 service에서 검증해 task-bound step bindings에 저장한다; SessionTarget 및 reviewer를 임의 덮지 않는다. fallback metadata를 명시 선택 증거로 쓰지 않는다.
API 계약: 현재 require_explicit_agent_profile은 없다. 기존 설정 재사용 가능성을 먼저 확인하고, 필요하면 workflow 수준 default-false public field를 최소 추가한다. 최종 field/schema와 mutation endpoint를 먼저 코드관리/운영에 전달하고 미배포 상태를 명시한다. 변경된 owning 요구·설계를 기존 위치에 먼저 갱신하며 엔지니어링 본문은 영문. CM 프롬프트/칸 조립·운영 설정 적용은 이 작업이 수정하지 않는다.
작업 사본: 기존 Kandev Worktree executor08eb0bba-37dc-459c-b34c-14322417bde7와 repository068d4436-d120-42af-b178-8e1a45eb2279, workspace_mode:new_workspace, 최신 fork main 기반 전용codex/브랜치. 현재 제공되는 동적 프로필을 명시하고 고정 모델/동적 순서 변경은 하지 않는다. 부모 공용path inherit 금지. 새 영구 tests/CI/gate 없음; 기존 관련 시험 재사용과 필요한 임시 동작 확인만. 돌아가는 다른 writer/PR의 handlers.go changes를 먼저 확인하여 순차 통합한다.
확인할 결과: missing profile create-only 및 create/start 모두 task/session/repository 반쪽 결과0; MCP map 전달 뒤 reload/deferred execution/step move에서 requested effective profile와 same-task session 유지; 다른task·off-policy·Office·control과 independent reviewer 의미 유지; invalid/stale/disabled/cross-workspace profile 정상 error/no silent fallback. 바뀐 범위의 최소 충분 확인, formal 검토 current head coverage, merged fork PR와 운영에 적용 가능한 최종API readback. 운영설치/DB변경은 하지 않는다.
Kandev controller real response11:12:39Z confirms one existing-queue child1c8228cd-db89-4fef-89c0-6463097cc2b9/external-id-impl; CREATED, no session, automatic ceiling12/10. No code execution claimed. Public API and source constraints: _UserHub/_desk/261001_mpm_ops_handoff/sent/codex_workflow_profile_api_readback_1014.md. Existing controller restored801844fa RUNNING; implementation/review/merge remain authorized and pending normal admission. No duplicate task or cap bypass.
Actual task1c8228cd/primary977c remains implementation. PR321 head d8c81e2c8c fixes malformed map, creator config mixing and shared normalization, and removes4 unapproved standing cases. Required delta remains: shared override prevalidation must not block existing external-ID Found replay after replacement disabled/deleted or step changes. Same owner is merging latest main75945 normally and fixing replay before new-head review; no force/rebase. PR322 merged908906 and PR310 merged75945 unblock baseline, duplicatePR323 closed with branch preserved. Source handoffs: sent/codex_321_precreate_replay_delta_1014.md and codex_stale_instruction_actual_execution_1014.md. Code review/integration still required; live installation/25-policy activation not complete. Other original fork goals remain active.
[1c8228cd] PR #326 fix(task): propagate step resolution failure to explicit policy - fork main 병합 완료(squash, 병합 커밋 f5e9aacf63b610750a7fc65de1049150b92b1d7a, 2026-10-14T16:32:37Z, head 36a27550f0 = 검토 reviewed_head). 근거: 관제 801844fa 병합 GO, 단계 진입 독립 검토 d2e5666a + PR 범위 재검토 2ba5e3af 막는 지적 0. 내용: require_explicit_agent_profile opt-in 정책에서 단계 조회를 1회로 공유하고, 정책 on + 검증된 overrides 경로에서만 resolver 오류를 전파(ErrExplicitAgentProfileRequired 로 가리지 않음), 정책 off 경로는 기존처럼 빈 단계로 생성 계속. 앞선 PR #321(병합 1a7f2c2041)과 함께 기능 완결. 남은 것: 운영에 최종 공개 필드/API(require_explicit_agent_profile, create_task_kandev workflow_agent_overrides) 보고와 25개 workflow opt-in 적용은 관제/운영 몫. 후속 제안: 정책 off tolerant 경로에서 사라진 'failed to resolve start step' Warn 로그 복원 + service_tasks.go:373-379 주석 정합(관측성만의 차이).
[반영·정리] upstream 준비 후보를 publisher에 인계했습니다. branch upstream/explicit-profile-mcp-20261022b, fixed base 07ba3a68b31, reviewed head de6c7aee2a5, 4 local commits, 29 files +647/-114. Formal RV APPROVE (verdict FORMAL-261022_explicit-profile-mcp-upstream.diff-1792673527220740600-76301-mid-1@1, execution EXEC-rv-explicit-profile-mcp-upstream-de6c7aee-r4). Handoff message delivered to publisher task 5d5cbb5b (primary e82f4e0e, status sent); publication receipt pending from publisher. No push/PR/merge/public write from this task; prep branch preserved. Fork-only hidden plumbing excluded; ExecutorProfileNotFoundCode + preflight refactor included. No operational deploy/DB/settings changes.
[VER11-ALIGN-20261023] 최초 요청 원문·기존 flow/issue/이력 보존. 최신 기준 _Knowledge/references/최종목표구조설계_ver11/20_통합설계서.md 및 명세11/13/14, 절차·잔여·비용은42_현행정합_실행절차.md. 2026-10-23 읽기 관측 explicit task: f04c4041-94b0-4390-8d96-3793bafaa6ab (COMPLETED)
local API/RV/임시세션 readback과 native COMPLETED는 확인됐지만 상류 공개승인·review-only/partial 경계는 기존 담당8e/93에 남음. local 완료를 전체 원queue 완료로 올리지 않음.
이번 갱신은 결과/다음담당 연결이며 상태 일괄종결·task이동/삭제·모델순서/한도·상시시험·해시 확인 추가0.
8e receiving acceptance 2026-10-28: accept existing code and local preparation scope only. Original fork PR321/326 merged; source f04c4041-94b0-4390-8d96-3793bafaa6ab final report agent-delivery-aac6dd0410f830697b90ac827ff4dab3 and supplemental gap report f7dd77f5df6e78cee854d8ca95c83685, reviewed head de6c7aee2a5/base07ba3a68, formal APPROVE, actual K20 handoff, final API/readback/draft and narrow mock deferred/reload/step/reuse selection evidence accepted in Plan71ffb651. Provider/model execution is not claimed; Office/reviewer and disabled/cross-workspace retain review-only limitations. Explicit initial profile OR validated runner override, pre-persistence rejection, external-ID replay, SessionTarget/reviewer/history and dynamic ordering preserved. Prior direct production intake remains valid; do not rebuild/retest or restart completed source. Operational CM assembly/workflow opt-in and upstream publication/merge remain separate existing owners. Latest existing preapproval supersedes old publication-approval-only hold, with sole93/5d fresh duplicate/generic/scope/sequence checks. This note accepts original code/preparation deliverable for formal flow closure, not all-workflow activation or new operational/public authority.
원 Gap 확인 결과를 재사용해 최종 상태만 정합했습니다.
de6c7aee2a5clean, 격리 자원 정리 완료반영·정리단계 완료 신호 전송됨