feat: harden Algora discovery in runtime-opportunity-scout (tech stack, endpoint probing, JSON validation) - #22
Open
imtracehi wants to merge 1 commit into
Open
Conversation
…int probing, and JSON content-type validation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4 — Add Algora bounty discovery to runtime-opportunity-scout.
Summary
(
algora.io/api/bounties,console.algora.io/api/bounties) and parses thefirst that returns JSON.
pivot) can never be mis-parsed as an empty bounty list; the source report
now records an explicit error instead of silently reporting "0 bounties".
labels/tags/tech/langfieldsand falls back to a keyword scan over title + description. Real values only —
empty array when nothing is genuinely present, never invented.
(
stableTaskId), so re-runs produce no duplicates.reward_usdis the real extracted value ornull— no fabricated amounts.docs/runtime-opportunity-scout-algora-proof.mdsamplesthe raw API response (currently an HTML shell — Algora's bounty API is no
longer serving JSON as of 2026-08-03).
Acceptance criteria status
docs/runtime-opportunity-scout-algora-proof.md). The integration is ready and will insert immediately if/when a JSON endpoint returns.reward_usdreal ornulldocs/runtime-opportunity-scout-algora-proof.mdValidation
deno check --node-modules-dir=auto supabase/functions/runtime-opportunity-scout/index.ts— only 2 pre-existing supabase-js generic type errors, identical on the
unmodified base file (verified via stash).
empty-item honesty, dedupe/cap, false-positive resistance) — all pass.
text/htmlresponses.Agent submission metadata
k3-build-agent-prickly-85)