{"uid":"cap_tS0S3D-mKDqTIAlP6T9Gq","slug":"forest-infra-repository-state-change-detector-c7ddc0a6","name":"Forest Infra - Repository State Change Detector","description":"Cheaply detect material public repository state changes with a deterministic hash of existence, branch and archive state. Timestamps and unrelated metadata do not trigger a change. Base mainnet USDC","url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/repo/changed?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"repository":{"type":"string","pattern":"^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$","maxLength":200,"description":"Public owner/name repository to inspect."},"previous_hash":{"type":"string","description":"Earlier result hash used to detect a material change."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yuRNuPw4jnCUcd_drr0cN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects material changes to a public GitHub repository by comparing a deterministic hash of existence, branch, and archive state against a previous hash.","exampleAgentPrompt":"Has the GitHub repo openai/tiktoken changed materially since my last check? Here's the previous hash from yesterday: abc123def456 — let me know if existence, branches, or archive state have shifted.","exampleUseCases":[{"title":"Dependency repo archival watch","prompt":"Keep an eye on the repo huggingface/transformers for me — compare it against hash 9f3a21bc7d and tell me if it's been archived, deleted, or had major branch changes since my last check."},{"title":"Open source project gone-dark detection","prompt":"I need to know if the repo openssl/openssl still exists and looks the same as when I last recorded hash e7c4891d2a — has anything material changed like it getting archived or branches disappearing?"},{"title":"CI pipeline dependency freshness check","prompt":"Before my build runs, check whether the public repo torvalds/linux has changed in any material way since hash 00fa3d9e12 — I only care about existence, archive status, or branch changes, not timestamps."}],"resultDescription":"Returns a current deterministic hash of the repository's material state (existence, branch list, archive status) and a boolean or signal indicating whether this hash differs from the provided previous_hash. Timestamps and unrelated metadata are excluded from the hash so only functionally significant changes trigger a positive result.","failureModes":["Repository not found or private — endpoint cannot inspect private repositories","Invalid repository format (must be owner/name pattern) returns validation error","Network or upstream GitHub API unavailability causes transient failure","Malformed previous_hash string may result in mismatch being flagged as a change","Rate limiting or payment failure returns 402 or error response"],"whenToPreferThis":"Use this endpoint when you need a cheap, noise-free signal that a public GitHub repository has changed in a meaningful way — specifically when you want to ignore timestamp churn and metadata drift. Prefer this over scraping GitHub directly or polling the full GitHub API when cost and determinism matter. Ideal for agent pipelines that periodically poll many repos and only want to act when something structurally significant (archival, deletion, branch changes) has occurred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:01:41.859Z","isFirstParty":false,"canonicalSlug":"forest-infra-repository-state-change-detector-c7ddc0a6"}