issue-264: Verify the vision tool live against the DeepSeek API #277
No reviewers
Labels
No labels
bug
chore
documentation
enhancement
feature
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
david/pi-extensions-and-skills!277
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/issue-264/verify-the-vision-tool-live-against-the-deepseek-a"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
264: Verify the vision tool live against the DeepSeek API
Closes #264 — 264.
Generated in 12m 23s.
Review findings
I'll start by examining the current state of the relevant files to understand the context before deciding on fixes.
Let me examine the packaging config and the implementation plan to understand what ships and where this file belongs.
Key discovery: the repo's
.gitignoreexplicitly un-ignoresextensions/**/findings.mdand comments "Keep every extension's copy" — so a committed per-extensionfindings.mdis the established audit-trail convention here (forgejo, grillme, postgres, penpot all ship theirs). That settles finding #1: the file belongs where it is; the reviewer's actionable ask is to mark the intended end-state clearly.Let me read the usage.ts rate table (finding #2) to confirm its disclosure state.
Both findings are now clear:
usage.ts:55): The rate table is already documented as a "Best-effort snapshot... re-check if DeepSeek changes prices" — the exact disclosed "best effort" the finding names. The suggested fix ("once a key is available, run check #4") is impossible without a key. This is an accepted/disclosed risk, not a bug → leave unresolved.findings.md): The file belongs here per repo convention (.gitignoreexplicitly commitsextensions/**/findings.mdas evidence). The actionable ask is to mark the intended end-state clearly. I'll add a short audit-trail note.Applying the single fix:
Now let me verify the edit and run the test gate to confirm the suite is green.
The test gate is green (976 tests, 975 pass, 1 skipped, 0 fail). However, my edit accidentally consumed the
## Status: BLOCKED — could not runheading (it was in myoldTextbut notnewText). Let me restore it and fix the dangling sentence.Fix applied and verified. Summary of the single pass:
findings.mdshipped as a stale placeholder) — Resolved. The repo's.gitignoreexplicitly un-ignoresextensions/**/findings.mdwith the comment "Keep every extension's copy," so a committed per-extensionfindings.mdis the established audit-trail convention (forgejo, grillme, postgres, penpot all ship theirs). I kept it in place and added a clear> Audit trail (committed by design)note marking the intended end-state: it's a placeholder that gets replaced with real results once a key is available.usage.ts:55rate table not live-verified) — Unresolved. Already documented as a "Best-effort snapshot… re-check if DeepSeek changes prices." The suggested fix requires a key that isn't available; it's an accepted/disclosed risk, not a bug.Review Findings — 264
Summary
The change adds a single new file,
extensions/vision/findings.md, documenting that the opt-in, key-gated live verification (issue #264) could not run because noDEEPSEEK_API_KEYis present in the environment. The test gate ran (npm test→ 976 tests, 975 pass, 1 skipped, 0 fail; vision suite 96/96) and matches the claim in the file; there is no build or lint gate. All factual claims infindings.mdwere verified against the actual source and are accurate. One Low finding was resolved: thefindings.mdplacement was clarified as a committed audit trail (matching the repo's.gitignoreconvention of un-ignoringextensions/**/findings.md) with an explicit "replace with real results when a key is available" end-state. The remaining Low finding (thedeepseek-flashrate table not being live-verified) is an accepted/disclosed best-effort risk that cannot be fixed without a key.Critical
High
Medium
Low
extensions/vision/findings.md:1— This file is a BLOCKED placeholder committed into the shippedextensions/vision/directory, so it ships as part of the pi package and will remain a permanently-stale "could not run" note until a key is available. Suggested fix: keep it only as the audit trail, or move it out of the shipped extension dir (e.g. under adocs/or.vision-live-check/path); the file already says to "replace this blocker note with the real results," so mark the intended end-state clearly.extensions/vision/src/usage.ts:55(findings.md§"The four checks") — Thedeepseek-flashpeak/off-peak rate table and the matching README cost table are asserted facts but were never live-verified: check #4 (cost sanity) is the only check that would catch a stale rate, and it is blocked by the missing key. This is already disclosed as "best effort" inusage.ts, the README, andIMPLEMENTATION_PLAN.md §16, so it is an accepted/disclosed risk rather than a bug; Suggested fix: once a key is available, run check #4 to confirm the numbers against DeepSeek's live pricing page and update the table if it drifted.