Skip to content

chore: Extract knowledge into reusable files, add RFD reviewer#562

Merged
JeanMertz merged 1 commit intomainfrom
prr128
Apr 16, 2026
Merged

chore: Extract knowledge into reusable files, add RFD reviewer#562
JeanMertz merged 1 commit intomainfrom
prr128

Conversation

@JeanMertz
Copy link
Copy Markdown
Collaborator

Architecture and software engineering knowledge sections were duplicated inline in both the architect and dev personas. This extracts them into dedicated knowledge files (architecture.toml and software-engineering.toml) that can be reused across personas via extends.

A new rfd-reviewer persona is added for reviewing RFD documents. It combines architecture and software engineering knowledge with research skills (file reading, GitHub issues/PRs, git history) to provide grounded, evidence-backed feedback on RFDs.

A matching just rfd-review command is added to the justfile. It accepts a permanent RFD number (41, 041) or a draft ID (D01), resolves the file path, and invokes jp query with the rfd-reviewer persona and the RFD file attached.

The Rust development skill (rust-development.toml) is expanded with explicit, example-backed code style rules covering import placement, qualified path avoidance, ?-operator usage, expression-oriented style, match arm patterns, and derive attribute grouping.

Additional changes:

  • Shell functions in the justfile now use ${2-} instead of $2 to avoid unbound variable errors under set -eu.
  • _coverage-setup installs cargo-llvm-cov separately without --only-signed, working around its disabled QuickInstall strategy.
  • Stager persona reasoning effort changed from auto to medium.

Architecture and software engineering knowledge sections were duplicated
inline in both the `architect` and `dev` personas. This extracts them
into dedicated knowledge files (`architecture.toml` and
`software-engineering.toml`) that can be reused across personas via
`extends`.

A new `rfd-reviewer` persona is added for reviewing RFD documents. It
combines architecture and software engineering knowledge with research
skills (file reading, GitHub issues/PRs, git history) to provide
grounded, evidence-backed feedback on RFDs.

A matching `just rfd-review` command is added to the justfile. It
accepts a permanent RFD number (`41`, `041`) or a draft ID (`D01`),
resolves the file path, and invokes `jp query` with the `rfd-reviewer`
persona and the RFD file attached.

The Rust development skill (`rust-development.toml`) is expanded with
explicit, example-backed code style rules covering import placement,
qualified path avoidance, `?`-operator usage, expression-oriented style,
match arm patterns, and derive attribute grouping.

Additional changes:
- Shell functions in the justfile now use `${2-}` instead of `$2` to
  avoid unbound variable errors under `set -eu`.
- `_coverage-setup` installs `cargo-llvm-cov` separately without
  `--only-signed`, working around its disabled QuickInstall strategy.
- Stager persona reasoning effort changed from `auto` to `medium`.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz JeanMertz merged commit abf5a6b into main Apr 16, 2026
13 checks passed
@JeanMertz JeanMertz deleted the prr128 branch April 16, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant