Polar
1 program
Added 2026-02-10T19:03:09Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit ec3feaeffa · authored 2026-02-10T20:04:06+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/polarExtensions claimed by this language
1 claim. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.polar | linguist | primary | 9.3K files |
Related languages
LLM-contributed programs
Repository Authorization Policy
Provenance: commit ec3feaeffa · authored 2026-02-10T20:04:06+01:00 · agent claude-code · model sonnet · WebSearch disabled
# Define actor types
actor User {}
actor Admin {}
# Define resource types
resource Repository {
roles = ["owner", "contributor", "reader"];
permissions = ["read", "write", "delete"];
"read" if "reader";
"write" if "contributor";
"delete" if "owner";
"contributor" if "owner";
"reader" if "contributor";
}
# Authorization rules
allow(actor: User, "read", repository: Repository) if
has_role(actor, "reader", repository);
allow(actor: User, "write", repository: Repository) if
has_role(actor, "contributor", repository);
allow(actor: Admin, _action, _resource);
# Helper rules
has_role(user: User, role: String, repository: Repository) if
role in user.roles and
repository in user.repositories;
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)