zara-coding: bind symbolic tasks to fresh repository identity #161

Closed
opened 2026-09-08 02:03:06 +00:00 by nsaspy · 0 comments
Owner

Problem

coding.task.create currently persists goals/constraints/criteria in Prolog but does not bind the task to an allowed repository identity. That leaves symbolic state context-free even though #1 requires coding requests to be repository/worktree-bound.

Required slice

  • deterministic RED proving task creation requires/accepts one repository path and captures it only through the existing bounded RepositoryInspector;
  • persist canonical repository root, exact HEAD, and branch in Prolog-owned task state;
  • fail closed when repository inspection is unavailable or the repository identity cannot be validated;
  • do not trust caller-supplied HEAD/branch and do not add execution authority;
  • task get returns the retained repository identity unchanged across protocol operations;
  • update README contract;
  • full zara-coding tests, registry/source/install compatibility, nix flake check, and generated package builds.

This advances #1 locally and does not bypass Core #400. Worktree-specific ownership remains a later slice.

## Problem `coding.task.create` currently persists goals/constraints/criteria in Prolog but does not bind the task to an allowed repository identity. That leaves symbolic state context-free even though #1 requires coding requests to be repository/worktree-bound. ## Required slice - deterministic RED proving task creation requires/accepts one repository path and captures it only through the existing bounded `RepositoryInspector`; - persist canonical repository root, exact HEAD, and branch in Prolog-owned task state; - fail closed when repository inspection is unavailable or the repository identity cannot be validated; - do not trust caller-supplied HEAD/branch and do not add execution authority; - task `get` returns the retained repository identity unchanged across protocol operations; - update README contract; - full zara-coding tests, registry/source/install compatibility, `nix flake check`, and generated package builds. This advances #1 locally and does not bypass Core #400. Worktree-specific ownership remains a later slice.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/zara-plugins#161
No description provided.