Seed flavor and depends_on on new workplan files.
CUST-WP-0072-T03: scaffold, workplan create, and rapp bootstrap templates include flavor: planning and depends_on. Assistant: grok Assistant-Session: 01a09dc1-b21e-77e1-919e-fcad2f82b267
This commit is contained in:
parent
0190e86a9f
commit
4a19254e8c
3 changed files with 6 additions and 1 deletions
|
|
@ -109,7 +109,8 @@ def init(
|
||||||
),
|
),
|
||||||
f"workplans/{rapp_id.upper()}-WP-0001-bootstrap.md": (
|
f"workplans/{rapp_id.upper()}-WP-0001-bootstrap.md": (
|
||||||
f"---\nid: {rapp_id.upper()}-WP-0001\ntype: workplan\n"
|
f"---\nid: {rapp_id.upper()}-WP-0001\ntype: workplan\n"
|
||||||
f'title: "Bootstrap {rapp_id}"\nstatus: proposed\n---\n\n'
|
f'title: "Bootstrap {rapp_id}"\nstatus: proposed\n'
|
||||||
|
f"flavor: planning\ndepends_on: []\n---\n\n"
|
||||||
f"# Bootstrap {rapp_id}\n"
|
f"# Bootstrap {rapp_id}\n"
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -164,6 +164,8 @@ def scaffold_repository(
|
||||||
f"domain: {domain}\n"
|
f"domain: {domain}\n"
|
||||||
f"repo: {slug}\n"
|
f"repo: {slug}\n"
|
||||||
"status: proposed\n"
|
"status: proposed\n"
|
||||||
|
"flavor: planning\n"
|
||||||
|
"depends_on: []\n"
|
||||||
"---\n\n"
|
"---\n\n"
|
||||||
"# Foundation\n\n"
|
"# Foundation\n\n"
|
||||||
"```task\n"
|
"```task\n"
|
||||||
|
|
|
||||||
|
|
@ -133,6 +133,8 @@ def _create_text(
|
||||||
f"domain: {domain}\n"
|
f"domain: {domain}\n"
|
||||||
f"repo: {repo_slug}\n"
|
f"repo: {repo_slug}\n"
|
||||||
f"status: {status}\n"
|
f"status: {status}\n"
|
||||||
|
f"flavor: planning\n"
|
||||||
|
"depends_on: []\n"
|
||||||
f"owner: {owner}\n"
|
f"owner: {owner}\n"
|
||||||
f"topic_slug: {topic_slug}\n"
|
f"topic_slug: {topic_slug}\n"
|
||||||
f"created: {_quoted(today)}\n"
|
f"created: {_quoted(today)}\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue