Repository navigation
Description
Problem
The daf-workflow development-session guidance for daf open and daf new currently includes a blanket prohibition:
Do NOT: Create git commits (handled by
daf complete)
That wording makes an agent following the session instructions refuse ordinary, user-requested Git operations such as git add, git commit, and git push while working in the managed development checkout. It conflates DAF lifecycle and metadata operations with Git operations on the repository.
This is especially confusing after the recovery guidance added for busy temporary clones in #686: manual Git commits and pushes are a valid way to preserve work, but the normal development-session instructions still forbid them.
Expected behavior
For development sessions launched with daf open or daf new:
- Permit explicit user-requested Git operations, including staging, committing, fetching/syncing, and pushing the active feature branch.
- Keep the existing branch safety rules, including never committing directly to
main, and do not perform commits or pushes automatically without user direction. - Continue requiring DAF lifecycle and metadata operations such as
daf complete,daf open,daf new, anddaf updateto run outside the active agent session. Manual Git commits or pushes must not be described as updating DAF status, time tracking, or completion state. - Keep clone-holder, process, and cleanup protections fail-closed.
The analysis-only workflows daf git new, daf jira new, and daf investigate must remain read-only and must continue to prohibit code changes, branch creation, commits, and pushes.
Acceptance Criteria
- Update the source-of-truth workflow/skill guidance so normal
daf open/daf newdevelopment sessions distinguish permitted, explicitly requested Git operations from DAF lifecycle commands that remain outside the session. - Preserve the read-only restrictions for
git-new,jira-new, andinvestigationsessions. - Verify that
daf completehandles a session with changes already committed and/or pushed without requiring a redundant commit or push, while retaining existing PR/MR and session-metadata behavior. - Add or update regression coverage for the session-specific guidance and the pre-committed/pre-pushed completion path.
- Document that manual Git operations do not mark a DAF session complete or update its status/time tracking.
- Retain existing branch, clone-holder, cleanup, and duplicate-push protections.
Related
- Clarify recovery after completion is blocked by a busy clone #686 clarified recovery after completion is blocked by a busy clone.
- Avoid duplicate push prompt after committing during daf complete #624 fixed duplicate pushes during
daf complete; this work must not regress that behavior.
Activity
itdove commentedon Nov 21, 2026
Implemented issue #695. Development-session guidance now permits explicitly requested Git staging, commits, fetch/sync, and pushes on the active feature branch while keeping DAF lifecycle/metadata commands outside agent sessions. Analysis-only git-new, jira-new, and investigate workflows explicitly remain read-only and forbid commits/pushes. Completion regressions cover pre-committed and pre-pushed branches without redundant Git operations. Validation: 158 focused tests passed, mypy devflow/ passed, and the isolated integration suite passed 19/19.
itdove commentedon Nov 21, 2026
Pull request created: #697
itdove commentedon Nov 21, 2026
✅ Session Complete
Project: devaiflow
Goal: #695: Allow explicit Git commits and pushes in daf open sessions
Time Spent:
0h 33m total
Branch: 695
No significant activity detected in this session.
Session Notes:
Session Notes: itdove-devaiflow-695
JIRA: #695
2026-11-20 21:40
Generated by DevAIFlow