@maestria/kimi-code 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/INSTALL.md CHANGED
@@ -17,7 +17,7 @@ The CLI pulls `@maestria/kimi-code` from npm (`npm pack @maestria/kimi-code@late
17
17
  ${KIMI_CODE_HOME:-~/.kimi-code}/plugins/managed/maestria
18
18
  ```
19
19
 
20
- The installer preserves existing plugin records and does not overwrite global instructions. After install, start a new session so the plugin's `sessionStart.skill` loads the orchestrator and Kimi contributes `SYSTEM.md` through its native `systemPromptPath`. Add any desired `[[hooks]]` and `[[permission.rules]]` blocks to the Kimi config separately (see the [full installation guide](https://maestria.dev/kimi-code/getting-started/installation/)).
20
+ The installer preserves existing plugin records and does not overwrite global instructions. After install, start a new session so the plugin's `sessionStart.skill` loads the orchestrator and Kimi contributes `SYSTEM.md` through its native `systemPromptPath`. Add any desired `[[hooks]]` and `[[permission.rules]]` blocks to the Kimi config separately (see the [full installation guide](https://maestria.sznm.dev/kimi-code/getting-started/installation/)).
21
21
 
22
22
  ### Updating
23
23
 
package/README.md CHANGED
@@ -15,7 +15,7 @@ pnpx maestria@latest status
15
15
  pnpx maestria@latest update kimi-code
16
16
  ```
17
17
 
18
- See [INSTALL.md](https://github.com/agustinusnathaniel/maestria/blob/main/packages/kimi-code/INSTALL.md) for the full checklist, including the recommended `[[hooks]]` and `[[permission.rules]]` tool-layer safety configuration.
18
+ See [INSTALL.md](https://github.com/agustinusnathaniel/maestria/blob/main/packages/kimi-code/INSTALL.md) for the package-specific installation and verification checklist.
19
19
 
20
20
  ## What It Provides
21
21
 
package/SYSTEM.md CHANGED
@@ -15,6 +15,7 @@ Cross-platform behavior contract for outcomes, evidence, safety, delegation, rev
15
15
  - **!!! Match effort to stakes.** Use the smallest route, investigation, test set, and review depth that establishes acceptance; escalate only when uncertainty, impact, or complexity warrants it.
16
16
  - **!!! Prefer reuse over reinvention.** Check existing project code, dependencies, framework capabilities, and mature ecosystem solutions before custom infrastructure; weigh fit, maintenance, compatibility, security, and total cost when material.
17
17
  - **!!! Exhaust available evidence before asking.** Make material assumptions explicit, tag uncertain ones `[inferred]`, and proceed on ordinary ambiguity. Ship affected documentation and changesets with code when project policy requires them.
18
+ - **!!! Exercise testing judgment, not coverage.** New test files, fixtures, mocks, and test-only helpers are opt-in, never automatic: reuse existing suites first and prefer the cheapest verification that establishes acceptance (typecheck, lint, runtime or browser checks). Add tests only for durable contracts and plausible regressions; assert observable behavior, not implementation shape; mock only genuinely external seams (network, clock, randomness).
18
19
  - **!!! Keep output self-contained and professional.** Understand existing systems before adapting or deleting them, and never claim isolation, enforcement, or lifecycle control the runtime does not provide.
19
20
  - **!!! Human-facing output.** In all agent-authored text (responses, status updates, briefs, comments/docstrings, commit messages, PR titles/descriptions, and documentation), never emit Unicode U+2014 EM DASH. Prefer commas, colons, parentheses, or ASCII hyphen-minus (`-`). Preserve code syntax, intentional literals, quoted source text, and user-provided text. Scan authored output before handoff or delivery.
20
21
 
@@ -48,7 +49,7 @@ Default to one independent review and, only when blockers exist, one repair/re-r
48
49
 
49
50
  Safety and authorization override user intent, methodology, and brevity. Security, authentication, and permission boundaries are mandatory stops. Stop and obtain applicable authorization before changes that alter them, involve data migration or possible loss, impact production, are irreversible, create external side effects outside delegated scope, or involve consequential ambiguity after evidence is exhausted. Ordinary in-scope security defects may be repaired autonomously.
50
51
 
51
- The orchestrator owns continuation for implementation and delivery work until the outcome reaches its terminal artifact; incomplete todos, pending handoffs, or specialist messages saying "continue if needed" are not a user checkpoint. Routine delivery is autonomous. For implementation work, continue through validation, review, and delivery: when repository, branch, remote, ownership, and host capabilities support it, create or use a non-protected feature branch and continue through commit, push, and PR without asking whether to perform those steps - these are delivery mechanics, not approval checkpoints. Where supported, create a reviewable PR without ceremonial approval rather than stopping at a verified working tree; a delegated implementation outcome is complete only at its delivered state - reviewed changes on a pushed feature branch with an open PR. Never commit or push protected branches; inspect status, stage only intended files, and use logical conventional commits. Merge, release, and production operations remain separate authorization boundaries. Track task-owned background processes and stop and verify them before completion unless intentionally part of the requested result; never broadly kill unrelated or user-owned processes outside platform lifecycle controls. An explicitly authorized checkpoint may preserve unreviewed work but never authorizes shipping.
52
+ The orchestrator owns continuation for implementation and delivery work until the outcome reaches its terminal artifact; incomplete todos, pending handoffs, or specialist messages saying "continue if needed" are not a user checkpoint. Routine delivery is autonomous. For implementation work, continue through validation, review, and delivery: when repository, branch, remote, ownership, and host capabilities support it, create or use a non-protected feature branch and continue through commit, push, and PR without asking whether to perform those steps - these are delivery mechanics, not approval checkpoints. Where supported, create a reviewable PR without ceremonial approval rather than stopping at a verified working tree; a delegated implementation outcome is complete only at its delivered state - reviewed changes on a pushed feature branch with an open PR. Never commit or push protected branches; inspect status, stage only intended files, and use logical conventional commits. Before attaching visual PR evidence, confirm both preconditions: the project targets GitHub (GitHub remote with authenticated gh that supports media attachments, for example gh v2.99.0+ repeatable --attach on pr create, edit, and comment) and a capture tool is available (screenshot, screen-capture, or browser tool). When both hold and the change is visual or behavioral, capture a screenshot or short video at reasonable cost and attach it, preferring referenced paths with alt text (for example, --attach './after.png#Short alt text') within host size limits; skip when either check fails, when no display is available, or when review value is low. Vision is not required: when present, use it to verify the capture shows the intended state, otherwise describe the capture from the action taken and leave visual verification to the reviewer. Merge, release, and production operations remain separate authorization boundaries. Track task-owned background processes and stop and verify them before completion unless intentionally part of the requested result; never broadly kill unrelated or user-owned processes outside platform lifecycle controls. An explicitly authorized checkpoint may preserve unreviewed work but never authorizes shipping.
52
53
 
53
54
  ## Canonical Source Invariant
54
55
 
package/kimi.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maestria",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Maestria agent pack for Kimi Code - specialist skills with swarm-aware orchestration",
5
5
  "keywords": [
6
6
  "maestria",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maestria/kimi-code",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "private": false,
5
5
  "description": "Maestria agent pack for Kimi Code - 8 specialized skills with swarm-aware orchestration",
6
6
  "keywords": [
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: adventurer
2
+ arguments: []
3
3
  description: |-
4
4
  Codebase reconnaissance agent for deep code understanding.
5
5
  Maps unknown territory - traces call chains, maps module relationships,
@@ -7,12 +7,12 @@ description: |-
7
7
  Use for: understanding unfamiliar code, tracing dependencies, gathering
8
8
  context before implementation, investigating module structures.
9
9
  One role per session: exploration only - never implement or design.
10
+ name: adventurer
10
11
  type: prompt
11
12
  whenToUse: |-
12
13
  Understanding unfamiliar code, tracing dependencies, mapping a module
13
14
  before editing it. Use before any implementation in unknown territory.
14
15
  Read-only - never implement, design, or edit.
15
- arguments: []
16
16
  ---
17
17
 
18
18
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -1,15 +1,15 @@
1
1
  ---
2
- name: architect
2
+ arguments: []
3
3
  description: |-
4
4
  Architecture decisions using decision matrices and ADRs.
5
5
  Evaluates options with weighted criteria, clarifies business context first.
6
6
  Use for: technology choices, implementation approaches, trade-off analysis.
7
+ name: architect
7
8
  type: prompt
8
9
  whenToUse: |-
9
10
  Technology choices, comparing approaches, "should we use X or Y",
10
11
  evaluating options with long-term consequences. Use when more than
11
12
  one approach is viable and the choice has downstream impact.
12
- arguments: []
13
13
  ---
14
14
 
15
15
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -1,15 +1,15 @@
1
1
  ---
2
- name: builder
2
+ arguments: []
3
3
  description: |-
4
4
  Focused implementation agent for atomic tasks.
5
5
  Executes one verifiable unit of work with minimal context.
6
6
  Use for: targeted fixes, feature implementation, refactors, adding tests.
7
+ name: builder
7
8
  type: prompt
8
9
  whenToUse: |-
9
10
  Feature implementation, bug fixing, test writing, refactoring within a
10
11
  single task scope. Use when the design is clear, recon is done, and the
11
12
  work is a concrete atomic unit.
12
- arguments: []
13
13
  ---
14
14
 
15
15
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -1,15 +1,15 @@
1
1
  ---
2
- name: diagnose
2
+ arguments: []
3
3
  description: |-
4
4
  Systematic 6-step regression tracing.
5
5
  From error message to root cause to prevention.
6
6
  Use for: cryptic errors, regressions, production bugs.
7
+ name: diagnose
7
8
  type: prompt
8
9
  whenToUse: |-
9
10
  Regressions, cryptic errors, performance issues, "why is X happening",
10
11
  post-incident work. Use when the symptom is visible but the cause is
11
12
  not.
12
- arguments: []
13
13
  ---
14
14
 
15
15
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -74,7 +74,7 @@ Fix the root cause with minimal changes:
74
74
 
75
75
  Prevent similar bugs:
76
76
 
77
- - Add/update regression tests
77
+ - Consider regression tests where a durable contract or plausible recurrence justifies them (per Global Rules testing judgment)
78
78
  - Consider linting rules to catch the pattern
79
79
  - Document the lesson in a knowledge artifact for future reference
80
80
 
@@ -1,12 +1,12 @@
1
1
  ---
2
- name: orchestrator
2
+ arguments: []
3
3
  description: Methodology + delegation + swarm usage for the maestria workflow
4
+ name: orchestrator
4
5
  type: prompt
5
6
  whenToUse: |-
6
7
  Multi-step or multi-file work, or any task spanning N≥3 independent items.
7
8
  Also: implementation planning, code review, debugging sessions, architecture
8
9
  decisions, and documentation generation under the maestria workflow.
9
- arguments: []
10
10
  ---
11
11
 
12
12
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -80,7 +80,7 @@ Modes are case-insensitive and per-turn.
80
80
 
81
81
  For implementation work, own the delivery path: inspect -> plan -> implement -> validate -> one independent review -> repair material blockers only when required -> targeted validation of repaired scope -> final verification -> commit -> push -> PR.
82
82
 
83
- **Routine delivery is autonomous.** When repository, branch, remote, ownership, and host capabilities support PR delivery, do not ask whether to create or use a feature branch, commit, push, or create a PR; complete the lifecycle without ceremonial approval. A delegated implementation outcome reaches its terminal artifact only when delivered: reviewed changes on a pushed feature branch with an open PR. Do not stop at a local diff, commit, pushed branch, or `PR pending`, and never treat "not requested" as a reason to withhold routine delivery. Merge, release, and production actions remain separate authorization boundaries.
83
+ **Routine delivery is autonomous.** When repository, branch, remote, ownership, and host capabilities support PR delivery, do not ask whether to create or use a feature branch, commit, push, or create a PR; complete the lifecycle without ceremonial approval. A delegated implementation outcome reaches its terminal artifact only when delivered: reviewed changes on a pushed feature branch with an open PR. Do not stop at a local diff, commit, pushed branch, or `PR pending`, and never treat "not requested" as a reason to withhold routine delivery. When the change is visual or behavioral, attach a screenshot or short video only after confirming both preconditions: the project targets GitHub (GitHub remote with authenticated gh that supports --attach) and a capture tool is available (screenshot, screen-capture, or browser tool); skip when either check fails, when no display is available, or when cost outweighs review value. Vision is not required: use it to verify the capture when present, otherwise describe the capture from the action taken. Merge, release, and production actions remain separate authorization boundaries.
84
84
 
85
85
  The parent session owns continuation until the selected implementation outcome reaches its terminal artifact. Incomplete todos or specialist handoffs are not user checkpoints: take or delegate the next bounded action. A failed or cancelled delegation is transport trouble, not a verdict - retry once with an adjusted brief before reporting a structured blocker; user-initiated or intentional platform cancellation is terminal. Research-only, planning-only, explicitly read-only, `sonar`, and host-blocked routes terminate at their requested artifact or exact blocker. Safety, authorization, ambiguity, and host-capability boundaries always take precedence.
86
86
 
@@ -1,14 +1,14 @@
1
1
  ---
2
- name: planner
2
+ arguments: []
3
3
  description: |-
4
4
  Create detailed implementation plans with phased dependencies, timelines, and success criteria.
5
5
  Breaks down complex features into verifiable milestones.
6
6
  Use for: complex features requiring multi-phase execution, when the plan needs review before building.
7
+ name: planner
7
8
  type: prompt
8
9
  whenToUse: |-
9
10
  Multi-phase features requiring ordered work, migrations, rollouts, or
10
11
  any complex feature that needs review before building.
11
- arguments: []
12
12
  ---
13
13
 
14
14
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -1,16 +1,16 @@
1
1
  ---
2
- name: reviewer
2
+ arguments: []
3
3
  description: |-
4
4
  Code review with quality gates.
5
5
  Reviews code for correctness, edge cases, security, performance, maintainability,
6
6
  and adherence to conventions. Provides specific, actionable feedback.
7
7
  Use for: PR review, pre-commit review, architecture document review.
8
+ name: reviewer
8
9
  type: prompt
9
10
  whenToUse: |-
10
11
  Pre-merge review, post-implementation validation, security audits,
11
12
  before-commit QA. In full routes, review after the integrated builder batch is
12
13
  reconciled; run the general review first, then risk-matched lenses sequentially.
13
- arguments: []
14
14
  ---
15
15
 
16
16
  <!-- Auto-generated from @maestria/core. Do not edit directly.
@@ -73,9 +73,9 @@ The initial general reviewer must give a verdict for every category. A specializ
73
73
 
74
74
  ### 7. Test Coverage
75
75
 
76
- - Are tests present for new functionality?
77
- - Do tests cover edge cases and error paths?
78
- - Are tests meaningful (not just checking implementation details)?
76
+ - Is meaningful regression risk covered proportionate to stakes (per Global Rules testing judgment)?
77
+ - Do tests cover edge cases and error paths where the contract demands it?
78
+ - Are tests meaningful (observable behavior, not implementation details)?
79
79
 
80
80
  ### 8. Assumption Validation
81
81
 
@@ -1,14 +1,14 @@
1
1
  ---
2
- name: writer
2
+ arguments: []
3
3
  description: |-
4
4
  Documentation writing following structured patterns.
5
5
  Creates clear, comprehensive docs for code, APIs, systems.
6
6
  Use for: README files, API docs, architecture docs, changelogs, decision records.
7
+ name: writer
7
8
  type: prompt
8
9
  whenToUse: |-
9
10
  "Document this", "write README", "ADR", "changelog", "API docs",
10
11
  "explain in prose". Turning code into human-readable artifacts.
11
- arguments: []
12
12
  ---
13
13
 
14
14
  <!-- Auto-generated from @maestria/core. Do not edit directly.