Configuration and proposal lifecycle
This page lists cfp’s two configuration files, the keys of the store’s config.md, and the rules of the proposal lifecycle.
Install and first run walks through the setup, and Track a proposal’s status shows the lifecycle from the user’s side.
The user config file
| Item | Value |
|---|---|
Path |
|
Content |
A JSON object with the key |
Written by |
|
Missing or malformed file |
Read as an empty object, so the store must come from |
Store resolution
The store CLI takes the first of these that is set:
| Order | Source | Note |
|---|---|---|
1 |
|
Given on a store CLI call. |
2 |
|
An environment variable.
It points a session at a second store without rewriting |
3 |
|
Written by |
With none of the three, the call fails with no store configured.
Install and first run has a walkthrough for a second store with CFP_STORE.
The keys of config.md
<store>/config.md holds the speaker settings in its front matter.
Store files shows an example file.
| Key | Default | Use |
|---|---|---|
|
empty |
Read by |
|
empty |
Read by |
|
empty |
The cc-prose voice profile that |
|
|
The maximum number of committee review rounds in the |
|
empty |
The profile |
|
not set |
Optional; |
config show returns the keys of config.md merged over these defaults.
A key without a value in the file takes its default.
Change a key with config set
config set writes one key of config.md in an initialized store:
python3 -I cfp/scripts/cfp_store.py config set --key review_rounds --value 4
--key and --value are both required.
review_rounds must be an integer, otherwise the call fails.
set writes whatever key you name, so it also adds speaker_gender.
Store CLI lists config show, config init, and config set in full.
The proposal lifecycle
A new proposal starts as draft.
A proposal without a status in its front matter is treated as draft.
/cfp:status and status set move a proposal from one status to the next.
|
cfp never submits anything.
|
Statuses and transitions
| Status | Allowed next statuses | Date field set | Counts toward the limit |
|---|---|---|---|
|
|
none |
no |
|
|
|
no |
|
|
|
yes |
|
|
|
yes |
|
none (final) |
|
yes |
|
none (final) |
|
yes |
|
none (final) |
|
no |
-
A move outside this table fails with a message that names the allowed targets. An unknown status fails with the list of valid statuses.
-
The date comes from
--datein ISO form (YYYY-MM-DD) and defaults to today. A move todraftwrites no date. -
Every move sets
updatedto today. -
The proposal must have a
profilein its front matter, otherwise the move fails.
The check before ready
A move to ready passes only when all of these hold:
-
the last committee review verdict is
pass; -
review_staleis not set (a move or demotion todraftafter the review sets it; edits to adraftproposal, such as the voice pass, do not); -
a pre-flight result exists and it reported no disqualifying findings.
With --force, ready is set without these checks, and the result says so in its side effects.
How rules and verdicts are computed describes the check.
Side effects
| Trigger | Effect |
|---|---|
Move to |
Adds a calibration example with the origin |
Move to |
Records an outing of kind |
Move to |
Clears |
Content edit of a |
A field text, bio, or proposal meta change (track, session type, co-speakers, and similar) moves the proposal back to |
/cfp:status reopen starts a new draft from a proposal’s talk for another event, and the source proposal keeps its status.
The diagram shows this note at rejected; the command is meant for rejected or withdrawn proposals and asks before it reopens a proposal with another status.
Statuses that count toward a submission limit
submitted, accepted, rejected, and presented proposals count toward the submission limit of their event.
draft, ready, and withdrawn proposals do not.
A proposal id counts once, and a proposal file with broken front matter is not counted.
How rules and verdicts are computed shows how the pre-flight check applies the limit.
Proposal front matter keys of the lifecycle
| Key | Default | Content |
|---|---|---|
|
|
The current status. |
|
empty |
The date of the move to |
|
empty |
The date of the move to |
|
empty |
The date of the move to |
|
empty |
The date of the move to |
|
empty |
Set to today by every write to the proposal. |
|
|
The recorded committee review rounds; the ready check reads the verdict of the last one.
This list is not the |
|
|
Set when a proposal with review rounds goes back to |
|
|
The stored pre-flight result; the ready check needs it with no disqualifying findings. |
Store files shows a complete proposal file.