Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / function

review_memory_item

modules.code.router.review_memory_item

PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.

PHAROS at 975a38dMIT license

Around this symbol

Search all symbols

Loading

Inside (1)
SymbolFileResolved by
routerrouter.pysame file
modules.code.router.review_memory_itembackend/app/modules/code/router.py, lines 394–403Open source
@router.patch("/memory/items/{item_id}")def review_memory_item(item_id: uuid.UUID, action: str = Query(..., pattern="^(accept|reject|archive|restore)$"),                       db: Session = Depends(get_sync_db), _=Depends(require_admin)):    """A human decision on a memory item. Learning runs never override it."""    item = db.get(MemoryItem, item_id)    if item is None:        raise HTTPException(status_code=404, detail="memory item not found")    set_status(db, item, action)    db.commit()    return recall.item_to_dict(item, full=True)

What the index recorded

Signature
def review_memory_item(item_id: uuid.UUID, action: str, db: Session, _):
File
backend/app/modules/code/router.py
Lines
394–403
Parser
python-ast
Git blob
d914024790aaafe7234adda557677b76e4ad73d5
Call sites
6 named, 3 resolved, 3 left unlinked
Outside this subset
3 more edges reach code outside the graph shown here

Read it on GitHub at this commit