Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>adrai Review NotesNew to Visual Studio Code? Get it now.
adrai Review Notes

adrai Review Notes

sprantic GmbH

|
5 installs
| (0) | Free
Personal annotation layer for adrai artifact review with debate promotion
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

adrai Review Notes

Personal annotation layer for adrai artifact review with debate promotion

GitHub | MIT License | by sprantic


The Problem

Reviewers have fleeting thoughts during review that don't warrant formal debates:

  • Knowledge questions ("what does X mean?")
  • Uncertainties ("not sure about this yet, need to read more")
  • Bookmarks ("come back to this")
  • Pre-debate concerns ("might be a problem, but not sure")

Current state: People keep text files open in notepad. No structured capture.

The Solution

This VS Code extension provides:

  • Sidebar panel showing all notes grouped by status/type
  • Quick note creation at current cursor position
  • Multi-location linking (one note → multiple files)
  • Personal storage in ~/.adrai/review-notes.yaml (gitignored)
  • Promotion workflow to create DEB-NNNN from notes

Usage

Keyboard Shortcuts

Shortcut Command Description
Ctrl+Shift+N Add Note Add a review note at current cursor
Ctrl+Shift+L Add Location Link current location to existing note
Ctrl+Shift+R Toggle Panel Show/focus the review notes panel

Note Types

Type Icon Use When
Idea 💡 Capture a new idea or insight
Question 🔍 Need answer/clarification
Uncertainty ❓ Not sure yet, need more context
Concern ⚠️ Potential issue to investigate
Bookmark 📌 Come back to this later
Pre-debate 🔥 Might warrant formal DEB-NNNN

Note Lifecycle

open → investigating → promote → resolved
                    ↘         ↗
                      resolved
Status Description
Open Newly created, needs attention
Investigating Being researched/explored
Promote Marked for debate promotion
Resolved Closed, no longer active

Multi-Location Notes

A single note can reference multiple file locations:

  1. Create note with Ctrl+Shift+N
  2. Navigate to another relevant location
  3. Press Ctrl+Shift+L and select the note
  4. The note now shows both locations

This is useful for:

  • Tracking related code across files
  • Linking interface definitions to implementations
  • Connecting documentation to code

Promoting to Debate

When a note warrants formal discussion:

  1. Right-click the note → "Promote to Debate"
  2. Extension reads .deb-tracker.md for next ID
  3. Creates DEB-NNNN file from template
  4. Pre-fills the central question from note content
  5. Links all note locations as context
  6. Marks the note as resolved with promoted_to: DEB-NNNN

🏗️ This function is currently incomplete and just a teaser for the collaborative support of adrai 🏗️

When to Promote: The 3-Gate Flow

Apply the 3-Gate criteria to decide if a note should become a formal debate:

Gate Question If YES
1 Disagreement - Can't resolve in MR comments? Promote
2 Irreversible - Decision hard to undo later? Promote
3 Uncertainty - Anyone flags "not sure"? Promote

If NO to all gates: Standard MR review continues. If ANY gate triggers: Use "Promote to Debate" to create DEB-NNNN.

See docs/RITUALS.md for the full development workflow.

Configuration

In VS Code settings (settings.json):

{
  "adrai.storageLocation": "~/.adrai/review-notes.yaml",
  "adrai.debateTemplateDir": "docs/debates/templates",
  "adrai.debatesDir": "docs/debates",
  "adrai.groupBy": "status"
}
Setting Default Description
storageLocation ~/.adrai/review-notes.yaml Path to notes YAML file
debateTemplateDir docs/debates/templates Debate templates directory
debatesDir docs/debates Debates directory
groupBy status Group notes by: status, type, or file

Storage Format

Notes are stored in YAML for human-readability:

version: "1.0"
notes:
  - id: "uuid-1"
    content: "What does risk level actually mean here?"
    type: question
    status: open
    created: "2026-01-29T14:30:00Z"
    updated: "2026-01-29T14:30:00Z"
    locations:
      - file: "docs/debates/README.md"
        line: 48
        preview: "| Risk | Approvers Required |"
      - file: "docs/debates/templates/plan-template.md"
        line: 187
        section: "Risk Level Guidelines"
    tags: [terminology]
    promoted_to: null

Commands

All commands are available via Command Palette (Ctrl+Shift+P):

Command Description
adrai: Add Review Note Create note at cursor
adrai: Add Location to Note Link location to existing note
adrai: Toggle Review Notes Panel Show/focus the sidebar
adrai: Promote to Debate Create DEB-NNNN from note
adrai: Resolve Note Mark note as resolved
adrai: Edit Note Edit note content, type, or status
adrai: Delete Note Remove a note
adrai: Refresh Notes Reload notes from storage

Context Menu

Right-click on a note in the panel for:

  • Add Location (link current cursor to this note)
  • Promote to Debate
  • Resolve Note
  • Edit Note
  • Delete Note

Right-click in the editor for:

  • Add Review Note

Status Bar

The status bar shows the count of open notes. Click to focus the panel.

Integration with adrai

This extension is part of the adrai (AIDE Notes Review Lifecycle Management System):

  • Notes capture fleeting thoughts during artifact review
  • Multi-location linking connects related code/docs
  • Promotion workflow creates formal debates when warranted
  • Personal storage keeps notes out of version control

See the adrai project documentation for the full system design.

License

MIT (c) 2026

sprantic GmbH

adrai Review Notes

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft