Skip to main content
Customize Macroscope with files in a .macroscope/ folder at your repository root. Changes are versioned and reviewed like any other code:
See Ignore files, Approvability, Check Run Agents, and Custom instructions for configuration details.

Policy Inheritance

To share configuration across repositories, choose a Policy Repo under Settings → Repos → Policy Inheritance. Macroscope uses configuration from that repository’s default branch when the reviewed repository does not provide its own. Select None to turn inheritance off. If a given repo sets a Policy Repo, and provides its own config files in .macroscope/ the files within that repo always take priority. This provides an easy override mechanism in case you want a mix of inherited and customized behavior. Admin on a repository lets you set its Policy Repo, alone or with several repos at once if you are admin on each. A workspace admin can set it under Defaults for newly linked repos. Defaults apply only to repos linked afterward; existing repos keep their saved setting. Overrides apply file by file:
  • Ignore rules: a repo’s own ignore.md replaces the policy repo’s entire ignore file, even when it is empty.
  • Correctness and Check Run Agents: a repo’s file overrides the policy repo’s file at the same relative path. Other policy files still apply.

Variables in policy files

Files inherited from a Policy Repo can use {{ .RepoName }}, which is replaced with the name of the repository under review (for example, payments-api). This lets one shared file adapt to each repo that inherits it:
{{ .RepoName }} is the only supported variable. Any other {{ ... }} causes an error. Because double curly braces are reserved for variables, a literal {{ must be written as {{"{{"}}. For example, to mention a GitHub Actions expression in a shared Check Run Agent: