MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / tag

Function tag

src/context/approach-diff.ts:82–86  ·  view source on GitHub ↗
(m: ApproachMatch)

Source from the content-addressed store, hash-verified

80}
81
82function tag(m: ApproachMatch): string {
83 const base = m.kind === 'episode' ? '🎯 task' : m.kind === 'fact' ? '🧠 fact' : m.kind === 'receipt' ? '🧾 receipt' : `📝 ${m.detail ?? 'worklog'}`;
84 // Ground-truth outcome, when known: ✓ = gates/receipt proved it worked; ⛔ = it was blocked.
85 return m.verified === true ? `${base} ✓` : m.verified === false ? `${base} ⛔` : base;
86}
87
88function fileLinks(files: string[] | undefined, refFiles?: Set<string>): string {
89 if (!files?.length) return '';

Callers 1

renderApproachDiffsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected