{"slug":"detect-halowerk-com-v1-f-td2000-documents-06-go-explicit-tar-8214c3","title":"Reconstruct which Go source files belong to an explicit target and build-tag env","host":"detect.halowerk.com","method":"POST","resource":"https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-06/go-explicit-target-build-tag-filename-source-selection","category":"other","description":"Reconstruct which Go source files belong to an explicit target and build-tag environment.","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1196,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"artifact":{"goBuildSelection":{"claim":{"effective_tags":["amd64","amd64.v1","custom0","enterprise","gccgo","go1.1","go1.10","go1.11","go1.12","go1.13","go1.14","go1.15","go1.16","go1.17","go1.18","go1.19","go1.2","go1.20","go1.3","go1.4","go1.5","go1.6","go1.7","go1.8","go1.9","linux","unix"],"excluded":[{"name":"mod_windows_amd64.go","reason":"filename_target"},{"name":"os_darwin_test.go","reason":"test_file"},{"name":"_ignored.go","reason":"hidden_name"},{"name":".x.go","reason":"hidden_name"},{"name":"readme.txt","reason":"not_go_source"}],"selected":["0ase.go","mod_linux.go","linux.go","arch_amd64.go","custom0.go"]},"data":{"context":{"cgo":false,"compiler":"gccgo","goarch":"amd64","goos":"linux","release_minor":20,"tags":["custom0","enterprise"],"tool_tags":["amd64.v1"]},"files":[{"expression":null,"name":"base.go"},{"expression":"linux && (cgo || enterprise)","name":"mod_linux.go"},{"expression":null,"name":"mod_windows_amd64.go"},{"expression":null,"name":"linux.go"},{"expression":null,"name":"os_darwin_test.go"},{"expression":"not_a_tag","name":"_ignored.go"},{"expression":null,"name":".x.go"},{"expression":null,"name":"readme.txt"},{"expression":"go1.20 && !go1.30","name":"arch_amd64.go"},{"expression":"custom0 && (unix || windows)","name":"custom0.go"}],"include_tests":false}}}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"artifact":{"additionalProperties":false,"properties":{"goBuildSelection":{"additionalProperties":false,"properties":{"claim":{"anyOf":[{"type":"null"},{"additionalProperties":false,"properties":{"effective_tags":{"items":{"maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9_.]+$","type":"string"},"maxItems":128,"minItems":0,"type":"array"},"excluded":{"items":{"additionalProperties":false,"properties":{"name":{"maxLength":128,"minLength":1,"type":"string"},"reason":{"enum":["hidden_name","not_go_source","test_file","filename_target","build_expression"]}},"required":["name","reason"],"type":"object"},"maxItems":64,"minItems":0,"type":"array"},"selected":{"items":{"maxLength":128,"minLength":1,"type":"string"},"maxItems":64,"minItems":0,"type":"array"}},"required":["selected","excluded","effective_tags"],"type":"object"}]},"data":{"additionalProperties":false,"properties":{"context":{"additionalProperties":false,"properties":{"cgo":{"type":"boolean"},"compiler":{"enum":["gc","gccgo"]},"goarch":{"maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9_.]+$","type":"string"},"goos":{"maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9_.]+$","type":"string"},"release_minor":{"maximum":30,"minimum":1,"type":"integer"},"tags":{"items":{"maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9_.]+$","type":"string"},"maxItems":32,"minItems":0,"type":"array"},"tool_tags":{"items":{"maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9_.]+$","type":"string"},"maxItems":32,"minItems":0,"type":"array"}},"required":["goos","goarch","compiler","cgo","release_minor","tool_tags","tags"],"type":"object"},"files":{"items":{"additionalProperties":false,"properties":{"expression":{"anyOf":[{"type":"null"},{"maxLength":1024,"minLength":1,"type":"string"}]},"name":{"maxLength":128,"minLength":1,"type":"string"}},"required":["name","expression"],"type":"object"},"maxItems":64,"minItems":1,"type":"array"},"include_tests":{"type":"boolean"}},"required":["context","files","include_tests"],"type":"object"}},"required":["data","claim"],"type":"object"}},"required":["goBuildSelection"],"type":"object"}},"required":["artifact"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"billable":{"const":true},"findings":{"items":{"additionalProperties":false,"allOf":[{"else":{"properties":{"confidence":{"const":1},"evidence":{"minItems":1},"value":{"additionalProperties":false,"properties":{"claim_matches":{"type":"boolean"},"computed":{"additionalProperties":false,"properties":{"effective_tags":{"items":{"maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9_.]+$","type":"string"},"maxItems":128,"minItems":0,"type":"array"},"excluded":{"items":{"additionalProperties":false,"properties":{"name":{"maxLength":128,"minLength":1,"type":"string"},"reason":{"enum":["hidden_name","not_go_source","test_file","filename_target","build_expression"]}},"required":["name","reason"],"type":"object"},"maxItems":64,"minItems":0,"type":"array"},"selected":{"items":{"maxLength":128,"minLength":1,"type":"string"},"maxItems":64,"minItems":0,"type":"array"}},"required":["selected","excluded","effective_tags"],"type":"object"}},"required":["computed","claim_matches"],"type":"object"},"warnings":{"maxItems":0}}},"if":{"properties":{"state":{"const":"unknown"}},"required":["state"]},"then":{"properties":{"confidence":{"const":0},"evidence":{"maxItems":0},"value":{"type":"null"},"warnings":{"minItems":1}}}}],"properties":{"confidence":{"maximum":1,"minimum":0,"type":"number"},"evidence":{"items":{"additionalProperties":false,"properties":{"page_indices":{"items":{"type":"integer"},"maxItems":0,"type":"array"},"page_url":{"type":"null"},"pattern":{"const":"go-explicit-target-build-tag-filename-source-selection_scoped_evidence"},"type":{"const":"artifact"}},"required":["type","page_url","pattern","page_indices"],"type":"object"},"maxItems":1,"type":"array"},"limits":{"items":{"maxLength":300,"type":"string"},"maxItems":1,"type":"array"},"module":{"const":"go-explicit-target-build-tag-filename-source-selection"},"state":{"enum":["observed","not_observed","unknown"]},"value":{"anyOf":[{"type":"null"},{"additionalProperties":false,"properties":{"claim_matches":{"type":"boolean"},"computed":{"additionalProperties":false,"properties":{"effective_tags":{"items":{"maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9_.]+$","type":"string"},"maxItems":128,"minItems":0,"type":"array"},"excluded":{"items":{"additionalProperties":false,"properties":{"name":{"maxLength":128,"minLength":1,"type":"string"},"reason":{"enum":["hidden_name","not_go_source","test_file","filename_target","build_expression"]}},"required":["name","reason"],"type":"object"},"maxItems":64,"minItems":0,"type":"array"},"selected":{"items":{"maxLength":128,"minLength":1,"type":"string"},"maxItems":64,"minItems":0,"type":"array"}},"required":["selected","excluded","effective_tags"],"type":"object"}},"required":["computed","claim_matches"],"type":"object"}]},"warnings":{"items":{"maxLength":150,"type":"string"},"maxItems":1,"type":"array"}},"required":["module","state","value","confidence","evidence","warnings","limits"],"type":"object"},"maxItems":1,"minItems":1,"type":"array"},"known_count":{"const":1},"scope":{"type":"object"},"warnings":{"type":"array"}},"required":["findings","known_count","billable","warnings","scope"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1183,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1194,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1224,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1332,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1342,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1196,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1170,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1306,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1136,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1160,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1172,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1164,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1163,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1171,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1194,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1143,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1268,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1149,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1167,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1162,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1170,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1201,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1174,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1199,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1188,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1168,"error":null},{"day":"2026-11-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1254,"error":null}],"description_full":"Reconstruct which Go source files belong to an explicit target and build-tag environment.","last_updated":"2026-11-02T16:26:21.977Z","schemes":["exact"]}