Skip to content

Add copilot coding-agent notes#31

Open
ceej640 wants to merge 2 commits into
gently-project:developmentfrom
ceej640:ceej/issue-17-copilot-notes
Open

Add copilot coding-agent notes#31
ceej640 wants to merge 2 commits into
gently-project:developmentfrom
ceej640:ceej/issue-17-copilot-notes

Conversation

@ceej640

@ceej640 ceej640 commented May 31, 2026

Copy link
Copy Markdown
Collaborator

Closes #17.

Summary:

  • Add an append-only JSONL CodingNotesStore for copilot-to-coding-agent feedback.
  • Add leave_coding_agent_note and list_coding_agent_notes tools, registered with the app tools package.
  • Store notes in the active session directory when available, with a storage-path fallback.
  • Document the note format and add focused tests.

Verification:

  • .\.venv\Scripts\python.exe -m pytest tests/test_coding_notes.py -q -p no:cacheprovider
  • git diff --check

@pskeshu

pskeshu commented Jun 1, 2026 via email

Copy link
Copy Markdown
Collaborator

@ceej640

ceej640 commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator Author

Yes, I think you are right to avoid calling the system "copilot". Even apart from possible brand/legal confusion, it is conceptually less clear than Gently's own terms.

For this PR, I would rename the language toward:

  • "Gently agent" for the runtime entity inside Gently
  • "coding agent" for an external software agent reading/debugging/modifying the codebase
  • "agent notes" or "coding-agent notes" for this specific handoff channel

That would keep the tool purpose without implying the product itself is a copilot.

On the interface question: I think the low-friction bridge needs to be machine-readable and session-aware. The coding agent should be able to discover sessions, fetch runtime tracebacks/logs, inspect exported debug bundles, and leave notes that attach to a session/tool call/error rather than just writing free text somewhere. This PR covers only the note channel; #30 covers the debug export side. Longer term, those should probably converge into an "agent runtime bridge": note store + trace/debug export + stable CLI/HTTP access to session/runtime evidence.

@ceej640

ceej640 commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator Author

Follow-up implemented from this thread in commit 1121399.

I kept the tool names stable but changed the new note source/default wording away from "copilot" and toward "Gently agent" / "coding-agent notes". New records now default to source: gently_agent, and the docs/tests use the updated terminology.

Verification:

  • pytest tests/test_coding_notes.py -q -p no:cacheprovider
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants