mt config
mt config show prints the merged config as TOML that mt can read back: every key a layer set, from the embedded floor through the project’s .mindtape/config.toml. Add --origin to see which file each value came from, and --json to print the same table under config, with $schema first.
The collected table carries the keys a layer set, so copying it into a config pins only what the project chose. --resolved prints what mt uses instead, every default filled in. A rule that sets no severity shows the level it reports at, and a section a layer leaves out prints the keys mt falls back to. Written back as a config, the resolved output resolves to itself. A path a pack declares prints as the file it resolves to, relative to the project root, so writing the output back keeps it. It leaves out extends, disable and [pack-sources], because those say how the layers combine rather than what the config does. --defaults prints just the embedded floor, with no project needed. It and --origin answer other questions, so neither combines with --resolved.
The essentials report
The report at contrib/jq/reports/essentials.jq prints a project’s shape from the resolved config. The output covers the roots and their exclusions, the status legend, the actors and roles, and the priority framework with its bounds and inputs. It covers difficulty, estimate, kinds, link kinds, comments, extensions and templates. It covers the commit trailer and run, the hooks, the [rm] filter, the tags, the views, the dictionaries and the derived fields. Every rule appears with the moments it fires at: add, flip, commit or rm. A section the project leaves empty prints empty. A reader can then tell “no hooks” from a report that forgets to print hooks.
mt config show --json --resolved | jq -f contrib/jq/reports/essentials.jq feeds it. The report reads the config mt uses, not a second shape of it. The report’s top-level keys are the config’s own, less the keys its dropped array names. jq -n -f contrib/jq/reports/essentials.jq prints that array alone.
just meta jq-reports runs every report in contrib/jq/reports/ against contrib/jq/fixtures/config.resolved.json and diffs the output with the report’s expected file. It also fails when the config gains a top-level key that a report neither prints nor drops. A report cannot fall behind in silence.
The report is this repo’s own until it settles. It retires when git log --since="1 month ago" -- contrib/jq/reports/ is empty at a release review, which means no one has had to correct it for a month. To keep a report of its own, a project copies the file into its tree under contrib/jq/reports/ and edits the copy. The reports stay out of the config package until then.
Show the config mt uses
mt config show # effective config as re-parseable TOML
mt config show --defaults # the embedded floor alone
mt config show --json # effective config as JSON$ mt config show --origin
embedded: <built-in>
project: .mindtape/config.toml (exists)
rule tasks.rules.tag-task-stateful-or-stateless: pack mindtape:tasks
rule tasks.rules.start-title-with-verb: pack mindtape:tasks
rule tasks.rules.one-milestone: project
rule tasks.rules.one-task: project
rule tasks.rules.goals: project
rule tasks.rules.judgment-stays-small: project
rule tasks.body.headers.rules.allow-only-declared-sections: pack mindtape:tasks
rule tasks.body.headers.rules.require-environment-for-fix: pack mindtape:tasks
rule tasks.body.headers.rules.require-alternatives-for-design: pack mindtape:tasks
rule tasks.body.headers.rules.require-source-of-truth-for-docs: pack mindtape:tasks
rule tasks.body.headers.rules.require-rollback-for-stateful-change: pack mindtape:tasks
rule tasks.body.headers.rules.allow-environment-only-for-fix: pack mindtape:tasks
rule tasks.body.headers.rules.allow-alternatives-only-for-design: pack mindtape:tasks
rule tasks.body.headers.rules.allow-source-of-truth-only-for-docs: pack mindtape:tasks
rule tasks.body.headers.rules.allow-rollback-only-for-stateful-change: pack mindtape:tasks
rule tasks.body.headers.rules.put-environment-after-as-is: pack mindtape:tasks
rule tasks.body.headers.rules.put-to-be-after-as-is: pack mindtape:tasks
rule tasks.body.headers.rules.put-source-of-truth-after-to-be: pack mindtape:tasks
rule tasks.body.headers.rules.put-changes-after-to-be: pack mindtape:tasks
rule tasks.body.headers.rules.put-changes-after-source-of-truth: pack mindtape:tasks
rule tasks.body.headers.rules.put-alternatives-after-changes: pack mindtape:tasks
rule tasks.body.headers.rules.put-rollback-after-changes: pack mindtape:tasks
rule tasks.body.headers.rules.put-out-of-scope-after-changes: pack mindtape:tasks
rule tasks.body.headers.rules.put-out-of-scope-after-alternatives: pack mindtape:tasks
rule tasks.body.headers.rules.put-out-of-scope-after-rollback: pack mindtape:tasks
rule tasks.body.headers.rules.keep-one-as-is-section: pack mindtape:tasks
rule tasks.body.headers.rules.keep-one-to-be-section: pack mindtape:tasks
rule tasks.body.headers.rules.keep-one-changes-section: pack mindtape:tasks
rule tasks.body.headers.rules.keep-one-out-of-scope-section: pack mindtape:tasks
rule tasks.body.headers.rules.keep-sections-flat: pack mindtape:tasks
rule tasks.body.content.rules.write-as-is-as-numbered-steps: pack mindtape:tasks
rule tasks.body.content.rules.open-as-is-with-the-essence: pack mindtape:tasks
rule tasks.body.content.rules.mark-defect-step-with-red: pack mindtape:tasks
rule tasks.body.content.rules.add-fenced-repro-to-as-is: pack mindtape:tasks
rule tasks.body.content.rules.open-to-be-bullet-with-green: pack mindtape:tasks
rule tasks.body.content.rules.open-every-to-be-bullet-with-green: pack mindtape:tasks
rule tasks.body.content.rules.add-fenced-example-to-to-be: pack mindtape:tasks
rule tasks.body.content.rules.name-path-in-changes: pack mindtape:tasks
rule tasks.body.content.rules.start-every-changes-bullet-with-path: pack mindtape:tasks
rule tasks.body.content.rules.write-changes-plan: pack mindtape:tasks
rule tasks.body.content.rules.leave-no-listed-section-empty: pack mindtape:tasks
rule tasks.body.content.rules.write-as-is-section: pack mindtape:tasks
rule tasks.body.content.rules.cap-every-listed-section-at-120-words: pack mindtape:tasks
rule tasks.body.content.rules.cap-as-is-at-120-words: pack mindtape:tasks
rule tasks.body.content.rules.cap-changes-at-220-words: pack mindtape:tasks
rule tasks.body.content.rules.show-proposed-shape-when-gating: pack mindtape:tasks
rule tasks.body.content.rules.keep-at-most-one-em-dash-per-paragraph: pack mindtape:tasks
rule tasks.body.content.rules.leave-no-question-open: pack mindtape:tasks
rule commits.rules.name-task-in-refs-trailer: pack mindtape:tasks
rule commits.rules.squash-every-autosquash-commit: pack mindtape:tasks
rule commits.rules.flip-task-with-its-work: pack mindtape:tasks
rule commits.rules.finish-named-task-at-tip: pack mindtape:tasks
rule on.flip[0]: project
key dicts.verbs.include: project
key tasks.comments.policy: pack mindtape:tasks
key tasks.fields.kind.example: pack mindtape:tasks
key tasks.fields.kind.required: project
key tasks.fields.kind.values: pack mindtape:tasks
param examples = false: default, for pack mindtape:tasks
param statefulness = false: default, for pack mindtape:tasksmt config show
Print the config mt uses, with every layer merged
This is the default.
Runs on one project and refuses a set.
--origin | List the layers the config comes from, instead of the config The layers come lowest priority first. Each rule, each key a pack set and each pack parameter then reports the layer or pack it comes from. |
--defaults | Print only the built-in defaults Works outside a project. |
--resolved | Print the config mt uses, with every default filled in The default view prints what the layers set, so it reads as a config file. This one also prints the value behind each key a layer left unset, and the result reads back as the same config. |
--json | Print JSON instead of TOML |
mt config schema
Print the JSON Schema for .mindtape/config.toml
Works outside a project.
Runs on one project and refuses a set.
Every command also takes the global flags.