1"use strict";(self.rspackChunkgage_io=self.rspackChunkgage_io||[]).push([[84],{1159(e,n,s){s.r(n);var i=s(1684),r=s(7008);function t(e){let n={a:"a",code:"code",h2:"h2",p:"p",pre:"pre",span:"span",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.p,{children:"The scanner scans sessions for noteworthy findings. A finding is an\nobservation of agent behavior or user friction made by an agent that\nread the session. Problems the session itself diagnosed and fixed are\nskipped."}),"\n",(0,i.jsxs)(n.h2,{id:"how-it-works",children:[(0,i.jsx)(n.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#how-it-works",children:"#"}),"How it works"]}),"\n",(0,i.jsx)(n.p,{children:"The scanner submits each session to an agent that reads the session and\nwrites one finding note per observation. The agent sees a single session\nand has no visibility across sessions."}),"\n",(0,i.jsx)(n.p,{children:"Sessions with less than 200 characters of text are skipped. A session\nalready scanned is not scanned again. A session that has grown since the\nlast scan is scanned only over its new lines."}),"\n",(0,i.jsxs)(n.h2,{id:"what-it-writes",children:[(0,i.jsx)(n.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#what-it-writes",children:"#"}),"What it writes"]}),"\n",(0,i.jsxs)(n.p,{children:["The scanner writes notes that are in turn used by downstream issue\nwriters. In particular, ",(0,i.jsx)(n.a,{href:"/docs/scanners/finding-issues.html",children:(0,i.jsx)(n.code,{children:"finding-issues"})}),"\nreads ",(0,i.jsx)(n.code,{children:"finding.general"})," notes and reports issues from them."]}),"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Note"}),(0,i.jsx)(n.th,{children:"Description"}),(0,i.jsx)(n.th,{children:"Target"})]})}),(0,i.jsx)(n.tbody,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"finding.general"})}),(0,i.jsx)(n.td,{children:"Noteworthy observation in a session"}),(0,i.jsx)(n.td,{children:"Session"})]})})]}),"\n",(0,i.jsx)(n.p,{children:"When known, the note also records the session lines the observation\nrefers to."}),"\n",(0,i.jsxs)(n.h2,{id:"running",children:[(0,i.jsx)(n.a,{className:"rp-header-anchor","aria-hidden":"true",href:"#running",children:"#"}),"Running"]}),"\n",(0,i.jsxs)(n.p,{children:["The scanner is in the ",(0,i.jsx)(n.code,{children:"default"})," group, so it runs when you run ",(0,i.jsx)(n.code,{children:"gage scan"})," without selecting scanners. To run it alone:"]}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(n.pre,{className:"shiki css-variables",style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0",lang:"cli",children:(0,i.jsx)(n.code,{children:(0,i.jsxs)(n.span,{className:"line",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"gage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" scan "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"-s"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" general"})]})})})})]})}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(t,{...e})}):t(e)}a.__RSPRESS_PAGE_META={},a.__RSPRESS_PAGE_META["..%2F..%2Fgage%2Fdocs%2Fscanners%2Fgeneral.md"]={toc:[{id:"how-it-works",text:"How it works",depth:2},{id:"what-it-writes",text:"What it writes",depth:2},{id:"running",text:"Running",depth:2}],title:"general",headingTitle:"",frontmatter:{title:"general",description:"Scans Claude sessions for noteworthy findings such as agent misbehavior and user friction"}},s.d(n,{default:()=>a})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.