acquaint.meta#
Where a project’s meeting todos may be filed: its declared private meta repository, and the people who belong to it.
Before agents file todos from a meeting as GitHub issues, three things must hold, and
todo_preflight() checks them against the store and the live repository:
the project is unambiguous: exactly one
projectororgrecord matches;every participant is registered and belongs to it: each resolves to exactly one person whose
links.yamllinks them to that project or org;the project declares a private meta repository:
meta_repo: owner/namein the record’s frontmatter, orgithub_org: <org>, which means<org>/meta; andghreports that repository private now.
Every failed check comes back as a problem with a concrete fix, so the skill can tell the
user how to proceed instead of guessing. Each participant’s GitHub login (an active
github identity) is returned for assigning issues, with a warning when there is none.
>>> meta_repo_of({"github_org": "example-org"})
'example-org/meta'
>>> meta_repo_of({"meta_repo": "ada-lovelace/notes", "github_org": "example-org"})
'ada-lovelace/notes'
>>> meta_repo_of({}) is None
True
Module Attributes
The repository name a declared |
Functions
|
The meta repository a record's frontmatter declares: |
|
|
|
Check that meeting todos for |
- acquaint.meta.META_REPO_NAME = 'meta'#
The repository name a declared
github_orgimplies.
- acquaint.meta.meta_repo_of(meta)[source]#
The meta repository a record’s frontmatter declares:
meta_repo, else<github_org>/meta, elseNone.
- acquaint.meta.repo_privacy(repo, *, run=<function run_command>)[source]#
(True, …)ifghreports the repository private now,(False, …)if not,(None, why)if it could not tell.
- acquaint.meta.todo_preflight(store, project, people, *, run=<function run_command>)[source]#
Check that meeting todos for
projectandpeoplemay be filed, and where.Returns
ok, the resolvedprojectreference, themeta_repo, one row per participant (ref,github),problems(each acheck, amessageand afix) andwarnings.okis false whenever any problem is found.