Commit graph

256 commits

Author SHA1 Message Date
c283c1fa5e archive plane todo files and update bridge_test.go 2026-06-21 16:29:21 +09:00
9e534d8133 fix(gitosync): omit RoadmapRevision on missing-create to allow authoring roundtrip
When the missing-create path stores a RoadmapRevision, a later reconcile push
(after the authoring roundtrip adds the Plane identity to the milestone file)
conflicts with ReconcileCreationCycle's revision guard because the new push has
a different revision than the original missing-create push.

Since missing-create has no completed projection steps, a future reconcile on a
different revision should be allowed to resume. Omit RoadmapRevision from the
missing-create job args so the persisted row stores NULL and the revision guard
does not block the subsequent reconcile push.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 15:28:53 +09:00
9338a8500c fix(gitosync): fill in missing tenant/project from bridge config on reconcile path
When a milestone file's provider identity block omits Tenant and Project
(both are optional since MatchDevelopMilestone fills them from expected),
the bridge's FetchWorkItem call fails with ErrInvalidInput because
planeWorkItemRef requires all three: tenant, project, id.

Fill in missing Tenant/Project from BridgeConfig before building the ref,
mirroring the missing-create path which always uses b.cfg.Tenant/Project.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 15:22:34 +09:00
1a99b3d04b fix(scheduler): skip task finalizer when Ref.ID is empty for missing-create jobs
On the missing-create path, SyncCreation creates a new Plane work item and
returns SyncActionProjected before any workflow task has been registered for
the new work item UUID. Calling CompleteTaskByExternalRef with an empty Ref.ID
caused pgx.ErrNoRows → River retry → reconcile returning not_ready, leaving
only develop_matched recorded.

Fix 1 (roadmap_sync_jobs.go): guard CompleteTaskByExternalRef with args.Ref.ID != ""
so missing-create jobs complete cleanly without retrying.

Fix 2 (workflow/service.go): CompleteTaskByExternalRef now returns (zero, false, nil)
when GetTaskByExternalRef returns pgx.ErrNoRows, so reconcile jobs that have no
registered workflow task also complete cleanly rather than triggering retry loops.

Also adds PLANE_PROJECT_ID to docker-compose.yml environment so the missing-create
bridge receives non-empty tenant/project inputs at runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 13:45:48 +09:00
2d3a24d261 archive: move 09+08_scan_enqueue to archive 2026-06-21 12:21:33 +09:00
9d7061b9ed sync: agent-ops from agentic-framework v1.1.153 2026-06-21 11:52:20 +09:00
6ad44cd3a6 chore(task): milestone 파일을 archive로 이동한다 2026-06-21 11:45:34 +09:00
e3053ed0a9 feat: add gito delivery subtask and update milestone 2026-06-21 09:56:22 +09:00
a23c723823 chore: archive old subtask files and update roadmapsyncpipeline 2026-06-21 08:54:11 +09:00
528e9d6966 feat(roadmapsync): plane origin authoring roundtrip 기능 및 마일스톤 ID 지원
- roadmapsync pipeline에 retry 로직 및 개발 일치 검증 로직 추가
- gitosync scanner에 slug 재조정 및 plane 매칭 로직 강화
- roadmap sync identity 관리를 위한 migration(00009) 및 SQL 쿼리 추가
- milestone parser 테스트 및 retry 테스트 보강
- agent-ops 문서(PHASE, SDD, milestones) 갱신
- agent-task archive 및 작업 디렉터리 추가
2026-06-21 07:59:56 +09:00
d1699ef724 feat(authoring): identity write 구현 및 scheduler/river 리팩토링
- authoring: identity write 도메인 구현 (identity_write.go)
- authoring: request/result 도메인 정리 및 테스트 개선
- scheduler: job/river 구조 리팩토링 및 테스트 보완
- gitosync: bridge/scanner 테스트 개선
- roadmap: plane-origin-authoring-roundtrip-sync 마일스톤 업데이트
2026-06-20 21:09:26 +09:00
13ce1ec281 chore: archive migrated task files and update core services
- Move 03+01,02_push_command files to archive
- Update services/core authoring request and scheduler jobs
- Update related tests and documentation
2026-06-20 19:48:16 +09:00
8157ba060b update core services and move progress files to archive 2026-06-20 19:25:18 +09:00
6d4553bdc9 feat: m-plane-origin-authoring-roundtrip-sync G07-G08 progress and core scheduler improvements
- Add code review and plan logs for cloud G07, G08 subtasks
- Add stale task detection to scheduler
- Update OpenAI client config and tests
- Fix core services Makefile, README, docker-compose, and run script
2026-06-20 18:33:39 +09:00
a4d30165e4 update: agent-ops MCP control plane phase and milestones update 2026-06-20 16:48:16 +09:00
fc84d212d8 update roadmap, add MCP control surface sketches, fix core services config and adapters
- Update agent-roadmap ROADMAP.md and PHASE.md
- Add mcp-control-surface-sketch.md and plane-origin-authoring-roundtrip-sync.md
- Update live-cycle-smoke.md test doc
- Fix services/core: Dockerfile, docker-compose, config, OpenAI client, authoring request
- Update config and test files for core service
2026-06-20 16:29:55 +09:00
b5cc76877b sync: to agentic-framework v1.1.152 2026-06-20 16:14:57 +09:00
4ac7f74d28 update roadmap and fix gito webhook implementations 2026-06-19 20:10:35 +09:00
381c7eaddf feat(services/core): Gito webhook 테스트와 문서 보강한다
- Gito webhook 테스트 케이스 추가 및 기존 테스트 리팩토링
- main_test.go 테스트 구조 개선
- docker-compose.yml 설정 추가
- 관련 문서(README, 마일스톤) 갱신
2026-06-19 17:11:39 +09:00
784bd4849e sync: agent-ops from agentic-framework v1.1.151 2026-06-19 17:04:12 +09:00
83036e366b test: improve RoadmapRevision verification to use dynamic after value
Change RoadmapRevision check from hardcoded string to comparing against
the HTTP payload's `after` variable directly, proving the full chain:
HTTP payload `after` → scanner → bridge → job.RoadmapRevision.
2026-06-19 16:37:50 +09:00
d0d4c810ae test: add HTTP webhook delivery integration test for scan-enqueue evidence
Add TestGitoHTTPWebhookDeliveryEnqueuesCreationSyncOnce to prove that a
signed HTTP branch.updated delivery reaches gitoBridgeHTTPAdapter, triggers
the bridge scanner, and enqueues exactly one RoadmapCreationSync job.

Also adds TestGitoHTTPWebhookDeliveryRejectedOnInvalidSignature and
TestGitoHTTPWebhookDeliveryOffTargetIgnored for completeness.
2026-06-19 16:11:03 +09:00
2d9cf3c7a8 update agent-ops-mcp-control-plane phase and milestones 2026-06-19 15:16:12 +09:00
9258f9de54 feat: gito http webhook consumer readiness milestone completion
- Update milestone and SDD documents
- Add webhook HTTP receiver with idempotency checks
- Add config for webhook endpoints
- Implement gito events processing
- Add HTTP handlers and router updates
- Archive completed task files
2026-06-19 14:06:24 +09:00
5d2acc1afb fix(G06): remove duplicate trim/validate in webhook receiver
- Move strings.TrimSpace into validateBranchUpdatedPayload to avoid
  duplicate validation in ReceiveGitoWebhook
- Update CODE_REVIEW to reflect the improvement
2026-06-19 11:51:10 +09:00
2b35251b6d fix(G06): restore HTTP payload contract validation in webhook receiver
- Add validateBranchUpdatedPayload() to check body type and changed_files
- Extend gitoWebhookPayload struct with Type and ChangedFiles fields
- Add tests for wrong body type and malformed changed_files rejection
- All tests pass: ./internal/http, ./internal/config, ./cmd/server, ./...
2026-06-19 11:37:00 +09:00
29f40147a2 sync: agent-ops from agentic-framework v1.1.149 2026-06-17 23:21:03 +09:00
17ddb9fe67 sync: agent-ops from agentic-framework v1.1.148 2026-06-17 22:58:04 +09:00
dba77d860e sync: agent-ops from agentic-framework v1.1.147 2026-06-17 20:42:26 +09:00
6a7aa5bdc7 refactor: agent-ops-mcp-control-plane milestone rename and SDD docs
- Rename gito-protosocket-consumer-wire to gito-http-webhook-consumer-readiness
- Move old milestone to archive
- Add new HTTP webhook consumer readiness milestone
- Add SDD documentation for gito-http-webhook-consumer
2026-06-17 20:00:32 +09:00
afb098b0cb sync: agent-ops from agentic-framework v1.1.145 2026-06-17 18:34:00 +09:00
0eddf3fc0c update agent-roadmap: refresh phase/milestone status for gito-protosocket-consumer-wire-readiness 2026-06-17 14:37:18 +09:00
18f0c37e6a fix: gito sync failure ops and archive plan/review docs 2026-06-17 10:09:29 +09:00
48901b11d5 archive completed subtask and update related artifacts 2026-06-17 07:49:01 +09:00
f4959a3bab feat: gito-protosocket-consumer-wire-readiness milestone completion
- Update roadmap milestone status
- Add gitosync runner and tests
- Update gitoevents tests
- Adjust docker-compose configuration
- Update core and project READMEs
- Add agent-task for consumer wire readiness
2026-06-16 22:26:44 +09:00
0109c89eb9 update: agent-ops-mcp-control-plane 로드맵 정리 및 gitoevents 클라이언트 개선
- 마일스톤 문서 archive로 이동 (gito-branch-event-sync-bridge, plane-work-item-webhook-intake)
- PHASE.md 및 ROADMAP.md 갱신
- gitoevents/client.go: 클라이언트 로직 개선
- gitoevents/client_test.go: 테스트 커버리지 추가
2026-06-16 21:05:31 +09:00
dab107b4ba sync: agent-ops from agentic-framework v1.1.141 2026-06-16 20:57:36 +09:00
6ae2cd7bbe archive: migrate milestone-work-item-creation-sync to archive and update phase docs 2026-06-16 11:08:27 +09:00
58dce3d7a3 feat: agent-ops MCP control plane phase updates and core service refinements
- Update roadmap and phase documentation for agent-ops MCP control plane
- Update milestone work-item creation/sync documentation
- Refine core server command and HTTP Plane webhook handling
- Update Plane webhook tests
2026-06-16 11:01:17 +09:00
382b8db34d sync: agent-ops from agentic-framework v1.1.140 2026-06-16 10:54:34 +09:00
afb26e67ed feat: complete work item creation sync milestone - slot finalizer, live cycle smoke test, archive completed subtasks
- Add slot_finalizer.go for terminal state management
- Add live cycle smoke test documentation
- Archive completed subtasks (slot terminal state, live cycle smoke)
- Update scheduler jobs and workflow service for roadmap sync
- Update authoring request/result handlers
- Update milestone documentation
2026-06-16 10:06:58 +09:00
ef4c2191ce feat(core): scheduler jobs 및 workflow 서비스 개선, 코드 리뷰 아카이브
- scheduler: roadmap_sync_jobs, river 개선 및 테스트 추가
- workflow: lifecycle, model, service 수정 및 테스트 보완
2026-06-15 22:16:11 +09:00
66bf3712a0 update milestone docs, move completed subtask to archive, update test docs and docker-compose 2026-06-15 21:18:19 +09:00
26f90bae08 feat: milestone work item creation sync 구현 및 agent-task 구조 추가 2026-06-15 21:02:09 +09:00
c71ae81882 Update agent-ops-mcp-control-plane roadmap: PHASE, milestones (branch-event, protosocket, work-item creation) 2026-06-15 18:44:51 +09:00
a6625fd0eb feat: webhook idempotency & test improvements
- Move 03+02 idempotency docs to archive (2026/06)
- Add task_store_test.go for storage layer testing
- Improve plane_webhook_test.go (handle_null_external_id support)
- workflow/service.go: idempotency guard for duplicate webhook events
- workitempipeline/service.go: pipeline step error handling fix
- workitempipeline/service_test.go: test alignment with pipeline changes
2026-06-15 17:36:37 +09:00
bbb1179194 feat(work-item-pipeline): 작업자 외부 참조 중복 처리 및 고유 인덱스 추가
Tasks 테이블에 external_provider, external_id 기반 UPSERT 로직을 추가하고
GetTaskByExternalRef 쿼리를 신설하여 중복 작업을 효율적으로 처리한다.

외부 참조 고유 인덱스 마이그레이션(00008)을 추가한다.

Workspace slots 쿼리에서 alias를 명시하여 FOR UPDATE SKIP LOCKED 동시성 처리를 개선한다.

Storage, workflow, workitempipeline의 중복 처리 로직을 일관되게 적용하고
Plane 웹훅 테스트를 보강한다.
2026-06-15 14:58:59 +09:00
210f67bd9a feat: complete G07 trigger dispatch and refactor webhook handling
- Move G07 task artifacts to archive (plan, code review, complete.log)
- Refactor main.go to use new webhook router
- Update plane webhook handlers with improved error handling
- Add config for Plane webhook integration
- Update docker-compose for webhook testing
- Update plane-dev test documentation
2026-06-15 14:46:20 +09:00
f23ba78eba feat: plane webhook intake & protosocket consumer wire readiness
- Add Plane webhook handler for issue events (created, state, assignees)
- Add Plane webhook integration tests with testdata fixtures
- Add Gito Protosocket consumer wire readiness milestone
- Add Plane work item webhook intake milestone
- Add agent-task for plane-work-item-webhook-intake (trigger dispatch, idempotency, live smoke)
- Update service config, router, handlers for Plane webhook endpoints
- Add SOPS env setup script and secrets configuration
- Update agent-ops domain rules and phase roadmap
2026-06-14 20:37:48 +09:00
2afa534338 feat: gito events client 및 gito sync bridge 구현, config 확장
- gitoevents: Gito 이벤트 클라이언트 및 이벤트 모델 구현
- gitosync: 브리지, 러너, 스캐너 구현으로 브랜치 이벤트 및 작업 항목 동기화
- config: 새 설정 항목 추가 및 테스트
- roadmapsync: plane projection 수정 및 테스트
- agent-task: G07 관련 계획 및 코드 리뷰 로그 추가
- roadmap: PHASE 및 마일스톤 업데이트
- contracts: Flutter core API 후보 노트 업데이트
2026-06-14 15:31:25 +09:00