| name | initializing-engineering-log-task |
|---|---|
| description | Initialization of an engineering-log task directory based on a template, including file creation, copying 04-execution-spec.md, and writing the original problem statement to 01-problem-statement.md. |
- Create a task directory at
engineering-log/<yy>/<MM>/<NN>-<slug>. - Create files and directories according to the defined structure.
- Write the input problem statement to
01-problem-statement.md. - Copy the embedded template
./assets/04-execution-spec.mdto04-execution-spec.md.
- Informal problem statement in free form.
- Optional:
--slug, if directory naming needs to be controlled.
-
Created task directory in
engineering-log/<yy>/<MM>/. -
The script prints the relative path of the created directory.
-
Created files:
chats/01-problem-formalization-chat-1.mdchats/02-solution-options-chat-1.mdchats/02-solution-hld-chat-1.mdchats/03-execution-spec-chat-1.mdchats/04-implementation-chat-1.md01-problem-statement.md02-solution-options.md03-solution-hld.md04-execution-spec.md
01-problem-statement-formal.md is created later by the problem formalization step.
- Run from the repository root.
- Pass the problem statement to the script via stdin.
- Attempt to generate a
slugbased on the problem statement. The proposedslugmust use ASCII letters, digits, and dashes only, should prefer English wording, and must be no longer than 60 characters. - Present the proposed
slugto the user. - Obtain approval or a corrected
slug. - Determine the next number
NNwithin the month by scanning directories inengineering-log/<yy>/<MM>/. - Create the directory and files without overwriting existing ones.
cat <<'EOF' | python3 ./processes/engineering-log/initializing-engineering-log-task/scripts/init_task_dir.py --dry-run
<paste problem statement here>
EOFcat <<'EOF' | python3 ./processes/engineering-log/initializing-engineering-log-task/scripts/init_task_dir.py --slug <approved-slug>
<paste problem statement here>
EOFcat <<'EOF' | python3 ./processes/engineering-log/initializing-engineering-log-task/scripts/init_task_dir.py --date 2026-02-07 --slug <approved-slug>
<paste problem statement here>
EOFcat <<'EOF' | python3 ./processes/engineering-log/initializing-engineering-log-task/scripts/init_task_dir.py --yes
<paste problem statement here>
EOF