Skip to content

feat: add private notes note-taking agent#232

Merged
Rizwan-095 merged 6 commits intoopenhome-dev:devfrom
Ju-usc:feat/private-notes
Mar 31, 2026
Merged

feat: add private notes note-taking agent#232
Rizwan-095 merged 6 commits intoopenhome-dev:devfrom
Ju-usc:feat/private-notes

Conversation

@Ju-usc
Copy link
Copy Markdown
Contributor

@Ju-usc Ju-usc commented Mar 29, 2026

Summary

This PR adds a new private-notes community ability for OpenHome. It provides a voice-first note-taking flow that can create, read, update, and delete private notes while keeping note data in persistent JSON storage.

What changed

  • add community/private-notes/main.py with a single-prompt tool loop for note operations
  • add confirmation-protected overwrite and delete flows
  • store notes in private_notes.json and safely overwrite JSON by deleting any existing file before writing
  • cap readback to the 3 most recent matched notes
  • add README.md and SPEC.md describing behavior, storage, and validation

Behavior

  • resolves note actions through an LLM-driven tool loop with write_note, read_notes, delete_notes, ask_followup, and finish
  • uses recency ordering by updated_at so the latest note is always first in the note index
  • asks follow-up questions when the request is ambiguous instead of guessing
  • requires explicit confirmation before destructive changes
  • returns a graceful error result when an overwrite targets a missing note id

Validation

  • python3 -m py_compile abilities/community/private-notes/main.py
  • python3 abilities/validate_ability.py abilities/community/private-notes

@Ju-usc Ju-usc requested a review from a team as a code owner March 29, 2026 23:13
Copilot AI review requested due to automatic review settings March 29, 2026 23:13
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 29, 2026

🔀 Branch Merge Check

PR direction: feat/private-notesdev

Passedfeat/private-notesdev is a valid merge direction

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 29, 2026

✅ Community PR Path Check — Passed

All changed files are inside the community/ folder. Looks good!

@github-actions github-actions bot added the community-ability Community-contributed ability label Mar 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 29, 2026

🔍 Lint Results

__init__.py — Empty as expected

Files linted: community/private-notes/main.py

✅ Flake8 — Passed

✅ All checks passed!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 29, 2026

✅ Ability Validation Passed

📋 Validating: community/private-notes
  ✅ All checks passed!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new community ability (private-notes) to provide a voice-first CRUD note-taking flow backed by persistent JSON storage.

Changes:

  • Introduces an LLM-driven tool loop (write_note, read_notes, delete_notes, ask_followup, finish) with a max-turn cap.
  • Implements persistent storage in private_notes.json, including “delete before write” to avoid append-corrupted JSON.
  • Adds end-user and technical documentation (README.md, SPEC.md) describing behavior and data model.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
community/private-notes/main.py Implements the ability runtime, tool loop, and JSON persistence for notes.
community/private-notes/README.md Documents user-facing usage, storage, and suggested trigger phrases.
community/private-notes/SPEC.md Specifies architecture, tool contracts, data model, and validation steps.
community/private-notes/init.py Adds required package marker file for ability validation/CI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Ju-usc and others added 3 commits March 29, 2026 16:28
Signed-off-by: Uzair Ullah <uzairullahmail@gmail.com>
Added a guideline to use plain spoken English without special formatting.

Signed-off-by: Uzair Ullah <uzairullahmail@gmail.com>
Copy link
Copy Markdown
Contributor

@uzair401 uzair401 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for community.
We will proceed with adopting this ability for a 30-day evaluation period to monitor performance, identify any bugs, and implement any necessary fixes or optimizations. If the ability proves stable and meets our quality standards during this period, we will move forward with publishing it to the marketplace, ensuring full credit is given to the original author for their work and contribution.
We truly appreciate your effort and encourage you to continue developing and submitting new abilities. Contributions like yours help strengthen the ecosystem, and we look forward to seeing more of your work.

@Rizwan-095 Rizwan-095 merged commit d925d34 into openhome-dev:dev Mar 31, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-ability Community-contributed ability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants