Back to the room

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

Code Observatory / function

memory_skill

modules.code.router.memory_skill

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

Calls (1)
SymbolFileResolved by
_repo_idsrouter.pysame file
Inside (1)
SymbolFileResolved by
routerrouter.pysame file
modules.code.router.memory_skillbackend/app/modules/code/router.py, lines 412–419Open source
@router.get("/memory/skills/{name}")def memory_skill(name: str, repository: str | None = None, level: int = Query(1, ge=0, le=2),                 db: Session = Depends(get_sync_db)):    ids = _repo_ids(db, repository) if repository else None    skill = recall.get_skill(db, ids, name, level)    if skill is None:        raise HTTPException(status_code=404, detail="skill not found")    return skill

What the index recorded

Signature
def memory_skill(name: str, repository: str | None, level: int, db: Session):
File
backend/app/modules/code/router.py
Lines
412–419
Parser
python-ast
Git blob
d914024790aaafe7234adda557677b76e4ad73d5
Call sites
4 named, 2 resolved, 2 left unlinked
Outside this subset
1 more edges reach code outside the graph shown here

Read it on GitHub at this commit