aeat.agent package

Operator agent-harness: read accessor for the shipped operating layer.

The agent-harness operating layer - operator rules, tax-advisor personas, and workflow skills - is reviewed markdown product data under aeat/_data/agent/, shipped inside the wheel and read here through the bundled-data boundary so it resolves identically under an editable install and a built wheel.

This package is a read accessor only. It carries no tax logic and computes no value; it hands the operating-layer text to whatever drives the agent (a prompt assembler, the MCP server, or an operator-workspace materialiser). The capability catalogue the agent reads first is emitted by aeat app contract --format json.

harness_root()[source]

Return the bundled aeat/_data/agent harness data root.

Return type:

Traversable

iter_operator_rules()[source]

Yield each operator operating-rule document, ordered by file name.

Return type:

Iterator[Traversable]

operator_rules_text()[source]

Return the concatenated operator operating-rule documents.

The rules are joined in file-name order with a blank line between them, ready to load into an agent’s always-on operating context.

Return type:

str

iter_personas()[source]

Yield each tax-advisor persona document, ordered by file name.

Return type:

Iterator[Traversable]

iter_skill_documents()[source]

Yield each workflow skill’s SKILL.md document, ordered by skill name.

Return type:

Iterator[Traversable]

iter_skill_metadata()[source]

Yield every shipped skill’s parsed SKILL.md metadata.

Each frontmatter is parsed through the structured schema. A predicate that is present is fully validated: this raises SkillMetadataError on the first skill whose frontmatter is malformed, whose applies_when predicate is invalid, or whose declared name does not match its directory. A skill whose predicate has not yet been lifted from prose still loads, with applies_when set to None - strict presence is enforced by the coverage gate, not this load path, so the tree stays loadable while the lifts land.

Return type:

Iterator[SkillMetadata]

Returns:

A SkillMetadata.

Subpackages

Submodules