detect.halowerk.com/v1/F-A-NIGHT-OS-GITATTRS/git-attributes-hierarchy-macro-stat
Returns the final independent Set/Unset/Value/Unspecified state per attribute and path, especially a higher-priority unset macro suppressing lower expansion and nested per-attribute overrides, for an offline repository-attribute fixture author.
POST
https://detect.halowerk.com/v1/F-A-NIGHT-OS-GITATTRS/git-attributes-hierarchy-macro-state-resolutionUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://detect.halowerk.com/v1/F-A-NIGHT-OS-GITATTRS/git-attributes-hierarchy-macro-state-resolution", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"artifact":{"git_attributes":{"attributes":[0,1,2,3],"claim":8,"paths":["D0/F0.bin","F1.bin"],"sources":[{"directory":"","kind":2,"macros":[],"rules":[{"assignments":[{"attribute":0,"state":1}],"pattern":"*.bin"}]},{"directory":"D0","kind":2,"macros":[],"rules":[{"assignments":[{"attribute":3,"state":1}],"pattern":"F0.bin"}]}]}}}),
});
console.log(await res.json());Example input
{
"artifact": {
"git_attributes": {
"attributes": [
0,
1,
2,
3
],
"claim": 8,
"paths": [
"D0/F0.bin",
"F1.bin"
],
"sources": [
{
"directory": "",
"kind": 2,
"macros": [],
"rules": [
{
"assignments": [
{
"attribute": 0,
"state": 1
}
],
"pattern": "*.bin"
}
]
},
{
"directory": "D0",
"kind": 2,
"macros": [],
"rules": [
{
"assignments": [
{
"attribute": 3,
"state": 1
}
],
"pattern": "F0.bin"
}
]
}
]
}
}
}