Read the plan and the records where the config puts them in chunk-preflight and larv-review
This commit is contained in:
@@ -58,6 +58,11 @@ def located(directory: str | None, home: pathlib.Path) -> ProjectConfig | Failur
|
||||
return load(pathlib.Path(lines[0]), pathlib.Path(lines[1]).parent, home)
|
||||
|
||||
|
||||
def project() -> ProjectConfig | Failure:
|
||||
"""The config of the project whose checkout holds the current directory, under the user's home."""
|
||||
return located(None, pathlib.Path.home())
|
||||
|
||||
|
||||
def goals_file(directory: str, home: pathlib.Path) -> pathlib.Path | Failure:
|
||||
"""The file holding the premises, `## Goals` and `## Audience`, of the project whose checkout holds directory, as its config under home names it."""
|
||||
config = located(directory, home)
|
||||
|
||||
Reference in New Issue
Block a user