{ "task_id": "GEN2-026", "task_revision": 1, "architecture_revision": "ARCH-GEN2-000", "base_repo_revision": "gen2-integration", "risk_tier": "E", "intent": "Перевести реальные бытовые сценарии на Gen2 foundation и доказать, что технический протокол не просачивается пользователю.", "requirement_ids": [ "REQ-GEN2-026-GOAL", "REQ-GEN2-026-BOUNDARY", "REQ-GEN2-026-GATE" ], "allowed_change_scope": { "modules": [ "interaction", "situation", "capability", "epistemics", "work", "continuity", "configuration", "self", "world" ], "paths": [ "cmd/core-runtime/**", "cmd/cognitive-worker/**", "cmd/creator-web/**", "modules/interaction/**", "modules/situation/**", "modules/capability/**", "modules/epistemics/**", "modules/work/**", "modules/continuity/**", "modules/configuration/**", "modules/self/**", "modules/world/**", "runtime/retrieval/**", "adapters/multimodal/**", "tests/**", "dev/ACTIVE_TASK.json", "dev/tasks/GEN2-026-migrate-household-behavior-to-gen2-context-memory-skills-with-local-degr.json" ] }, "forbidden_change_scope": { "paths": [ "security/**", "go.mod", "go.sum", "architecture/**", ".gitea/workflows/**", "deploy/**", "database/**", "adapters/models/**" ] }, "allowed_architecture_delta": { "new_cross_module_dependencies": 0, "new_canonical_owners": 0, "new_privileges": 0, "new_third_party_dependencies": 0, "new_database_owner_roles": 0 }, "contracts": { "consume": [ "contracts.interaction@gen2", "contracts.situation@gen2", "contracts.capability@gen2", "contracts.epistemics@gen2", "contracts.work@gen2", "contracts.continuity@v1", "contracts.configuration@gen2", "contracts.self@gen2", "contracts.world@gen2", "contracts.cognitive@gen2" ], "may_change": [] }, "semantic_owner": "Existing owners, integration task. Follow GEN2 target architecture: owner boundaries are authoritative; Memory remains a read/retrieval fabric, World is not truth owner, SELF is not a God orchestrator.", "canonical_state": [ "no new canonical owner; integration switches reads/routes to Gen2", "No task may create a second canonical owner for an already-owned mutable semantic concept." ], "state_transitions": [ "current state -> additive/shadow Gen2 path -> evidence comparison -> controlled cutover -> compatibility retention; writer rule: no new canonical owner; integration switches reads/routes to Gen2" ], "side_effects_and_privileges": [ "No external mutation may bypass existing Authority -> Commit -> Executor boundaries.", "Do not weaken architecture/security/test guardrails to make the task pass." ], "persistence_and_migrations": [ "No database schema change is authorized by this packet unless a revised task explicitly grants database/migration scope." ], "failure_retry_restart": [ "Rollback rule: per-subsystem switches to V1 compatibility remain until M6", "Retries/restarts must not create duplicate external side effects or a second canonical writer.", "Durable state required by this task must survive process restart; process-local memory is never the only source of truth.", "Cutover must keep the previous read/compatibility path available until the task or milestone explicitly proves retirement." ], "assumptions": [ "Program milestone: M5; test profile: FAST.", "Task branch starts from local gen2-integration; base_repo_revision=gen2-integration must resolve to the untouched integration base while the task branch is active.", "Codex reads DOMOVOY_CONSTITUTION.md, GEN2_TARGET_ARCHITECTURE.md, GEN2_CANONICAL_DATA_MODEL.md, GEN2_MIGRATION_MAP.md, GEN2_MASTER_PLAN.md and GEN2_EXECUTION_CONTRACT.md before non-trivial edits.", "Do not expand scope silently. If a required change falls outside allowed paths or changes ownership, return a typed gap and request a task revision.", "Depends on: GEN2-025." ], "acceptance_scenarios": [ "GEN2-026-SCN-01: перенести SCN-HH-001..010 на Gen2 paths", "GEN2-026-SCN-02: name/preference continuity through scoped retrieval", "GEN2-026-SCN-03: current data uses freshness/revalidation", "GEN2-026-SCN-04: travel/places follows Focus/location and source evidence", "GEN2-026-SCN-05: multi-action uses Work", "GEN2-026-SCN-06: reminder uses Continuity", "GEN2-026-SCN-07: multimodal uses capability/degraded path", "GEN2-026-SCN-08: creative request avoids unnecessary web", "GEN2-026-SCN-09: partial/unavailable/contradictory results produce honest answer", "GEN2-026-SCN-10: short natural response", "GEN2-026-EXIT: обычный пользователь не замечает internal Gen2 protocols; baseline household behavior preserved/improved." ], "required_tests": [ "FAST: go test ./cmd/core-runtime/... ./cmd/cognitive-worker/... ./cmd/creator-web/... ./modules/interaction/... ./modules/situation/... ./modules/capability/... ./modules/epistemics/... ./modules/work/... ./modules/continuity/... ./runtime/retrieval/...", "FAST: go vet ./cmd/core-runtime/... ./cmd/cognitive-worker/... ./cmd/creator-web/... ./modules/interaction/... ./modules/situation/... ./modules/capability/... ./modules/epistemics/... ./modules/work/... ./modules/continuity/... ./runtime/retrieval/...", "FAST governance: go run ./cmd/devctl preflight -active dev/ACTIVE_TASK.json", "FAST scope: go run ./cmd/devctl check-diff -active dev/ACTIVE_TASK.json", "FAST independent: go run ./cmd/devctl/independent", "FAST whitespace: git diff --check gen2-integration --" ], "terminal_gap_states": [ "BLOCKED_BY_SPEC_GAP", "BLOCKED_BY_ARCHITECTURE_GAP", "BLOCKED_BY_MISSING_CAPABILITY", "BLOCKED_BY_CONFLICT", "REQUIRES_MIGRATION_DECISION" ] }