fermilink.implement.goal module

Parse implementation goal markdown into a structured specification.

fermilink.implement.goal.is_goal_markdown(text)[source]

Return True when markdown looks like an implementation goal.

Parameters:

text (str)

Return type:

bool

fermilink.implement.goal.parse_goal(text)[source]

Parse a goal.md file for implementation mode.

Missing sections are represented as empty strings or lists so callers can decide whether to infer a contract or require explicit user input.

Parameters:

text (str)

Return type:

dict[str, Any]

fermilink.implement.goal.render_worker_visible_goal(text, *, worker_workloads, split_enabled)[source]

Render a worker copy of goal.md with controller-only details redacted.

Parameters:
  • text (str)

  • worker_workloads (list[str])

  • split_enabled (bool)

Return type:

str