Skip to content

Configuration keys

Every key alr reads from its configuration files, from the code's defaults table and its scope tables. Layers, lowest first: default, user, project, env, flag, session.

Keys:

clients

  • Default: []
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: no
  • A trusted project file may add to or tighten it on the personal profile; the managed profile's provisioned configuration decides alone
  • Settable for one session: no
  • From the code: client values the organization uses beside the codes of alr-clients.csv (alr_emit.tag_lists). A value on neither is checked as tag_checks says by every form that adds a tag (/alr-tag add, /alr-tag move, a plain alr tag, and alr tag --move) and by a plan's import check. Set only in the user (provisioned) config, never by ALR_* or a flag. On the personal profile a trusted project file may also ADD values to it (never remove one); the managed profile refuses a project file's clients.

cost_centers

  • Default: []
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: no
  • A trusted project file may add to or tighten it on the personal profile; the managed profile's provisioned configuration decides alone
  • Settable for one session: no
  • From the code: cost_center values beside the codes of alr-cost-centers.csv, by the same rule as clients: checked as tag_checks says, by every form that adds a tag (/alr-tag add, /alr-tag move, a plain alr tag, and alr tag --move) and by a plan's import check; a trusted project file may ADD values on the personal profile; the managed profile refuses a project file's cost_centers.

credential_id

  • Default: ""
  • Environment variable: ALR_CREDENTIAL_ID
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no

credential_kind

  • Default: ""
  • Environment variable: ALR_CREDENTIAL_KIND
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no

credential_label

  • Default: ""
  • Environment variable: ALR_CREDENTIAL_LABEL
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no

default_tags

  • Default: []
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no

destination

  • Default: ""
  • Environment variable: ALR_DESTINATION
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: yes
  • Settable for one session: yes

local_rates

  • Default: ""
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: yes
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no
  • From the code: The user's local rates file (alr_emit.viewer.local_rates): rates read over the signed price book. "" is \<alr home>/local-rates.json; otherwise an absolute path or ~/... (a relative one is refused). User (or provisioned) config only.

log_dir

  • Default: "~/.alr-emit"
  • Environment variable: ALR_LOG_DIR
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no
  • From the code: The directory of the record file records.jsonl. The default is the OpenALR home ($ALR_EMIT_HOME, else ~/.alr-emit); ALR_EMIT_SINK (a file) still wins over this key.

plan_file

  • Default: ""
  • Environment variable: ALR_PLAN_FILE
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no
  • From the code: The project's plan file (the file alr plan new --from reads and the alr plan interview saves), a path RELATIVE to the repository root that never leaves it. "" is unset.

price_book_keys

  • Default: []
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: yes
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no
  • From the code: Organization price-book keys trusted beside the built-in key (alr_emit.viewer.orgkeys): "NAME:KEY" strings, KEY the raw 32-byte Ed25519 public key in standard padded base64. At most one fits beside the built-in key. User (or provisioned) config only; never a repository.

profile

  • Default: "personal"
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: yes
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no

project

  • Default: ""
  • Environment variable: ALR_PROJECT
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no
  • From the code: The project's code: the default project: tag, and the default --project of alr plan, alr ev and alr accept. "" is unset.

project_rates_paid

  • Default: false
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: yes
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no
  • From the code: Whether the user declares that a repository's rates (a rates_file the user trusted with alr trust) are what the user pays. User config only.

provider

  • Default: ""
  • Environment variable: ALR_PROVIDER
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no
  • From the code: Who billed the work (SPEC section 2.2 provider, section 2.4 credential; alr_emit.billing). "" is unset. provider overrides what the adapter detected; the credential is emitted only when a label or an id is set, and an id only because the operator set credential_id: none is ever derived.

rates_file

  • Default: ""
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: yes
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no
  • From the code: A repository's rates file, RELATIVE to its root, and the SHA-256 of its bytes. Read only when the user's own alr trust record holds this project file (then in either repo_settings mode); a blanket repo_settings = "trusted" alone never applies them. Project file only.

rates_sha256

  • Default: ""
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: yes
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no

record_file_mode

  • Default: "0600"
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: yes
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no
  • From the code: The mode alr creates the record file with: "0600" (the owner only) or "0640" (the owner, and the file's group may read it, e.g. a collector); never world-readable. User (or provisioned) config only. No effect on Windows, whose files have no such mode.

repo_settings

  • Default: "ask"
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: yes
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no
  • From the code: Whether a repository's project file is read at all: "off" (never), "ask" (only a file the user trusted, by its SHA-256, with alr trust) or "trusted" (every project file's project facts). User config only.

required_tags

  • Default: []
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: no
  • From the code: Reserved-key (SPEC section 2.3) names the organization expects on every record, e.g. ["project", "task"]. WARN ONLY: a record missing one is counted and reported by the viewer, never refused or dropped. Config files only.

tag_checks

  • Default: "warn"
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: no
  • A trusted project file may add to or tighten it on the personal profile; the managed profile's provisioned configuration decides alone
  • Settable for one session: no
  • From the code: What every form that adds a tag does with a value its checks find (an unlisted work_type, client or cost_center, a task outside its project's issued plan): "warn" (the default, on every profile) or "refuse". Set only in the user (provisioned) config, never by ALR_* or a flag. On the personal profile a trusted project file may TIGHTEN it (warn to refuse, never back); the managed profile refuses a project file's tag_checks.

task_class

  • Default: "interactive"
  • Environment variable: ALR_TASK_CLASS
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: no
  • Settable for one session: yes

transmit

  • Default: false
  • Environment variable: ALR_TRANSMIT
  • Provisioned (user) configuration only, on every profile: no
  • Provisioned (user) configuration only, under the managed profile: yes
  • Settable for one session: yes

work_types

  • Default: []
  • Environment variable: none
  • Provisioned (user) configuration only, on every profile: no
  • A trusted project file may add to or tighten it on the personal profile; the managed profile's provisioned configuration decides alone
  • Settable for one session: no
  • From the code: work_type values the organization uses beside the spec's starter list (alr_emit.reserved.WORK_TYPE_STARTER). Every form that adds a tag (/alr-tag add, /alr-tag move, a plain alr tag, and alr tag --move) checks a value on neither list as tag_checks says, as does a plan's import check. Set only in the user (provisioned) config, never by ALR_* or a flag. On the personal profile a trusted project file may also ADD values to it (never remove one); the managed profile refuses a project file's work_types.

Report a problem with this page