@geraldmaron/construct 1.0.5 → 1.0.6
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/README.md +8 -4
- package/agents/prompts/cx-accessibility.md +3 -3
- package/agents/prompts/cx-ai-engineer.md +7 -7
- package/agents/prompts/cx-architect.md +6 -6
- package/agents/prompts/cx-business-strategist.md +6 -6
- package/agents/prompts/cx-data-analyst.md +7 -7
- package/agents/prompts/cx-data-engineer.md +3 -3
- package/agents/prompts/cx-debugger.md +6 -6
- package/agents/prompts/cx-designer.md +5 -5
- package/agents/prompts/cx-devil-advocate.md +4 -4
- package/agents/prompts/cx-docs-keeper.md +5 -5
- package/agents/prompts/cx-engineer.md +5 -5
- package/agents/prompts/cx-evaluator.md +2 -2
- package/agents/prompts/cx-explorer.md +8 -8
- package/agents/prompts/cx-legal-compliance.md +2 -2
- package/agents/prompts/cx-operations.md +5 -5
- package/agents/prompts/cx-orchestrator.md +10 -10
- package/agents/prompts/cx-platform-engineer.md +5 -5
- package/agents/prompts/cx-product-manager.md +4 -4
- package/agents/prompts/cx-qa.md +8 -8
- package/agents/prompts/cx-rd-lead.md +9 -9
- package/agents/prompts/cx-release-manager.md +5 -5
- package/agents/prompts/cx-researcher.md +22 -22
- package/agents/prompts/cx-reviewer.md +7 -7
- package/agents/prompts/cx-security.md +10 -10
- package/agents/prompts/cx-sre.md +7 -7
- package/agents/prompts/cx-test-automation.md +3 -3
- package/agents/prompts/cx-trace-reviewer.md +8 -8
- package/agents/prompts/cx-ux-researcher.md +3 -3
- package/bin/construct +235 -21
- package/commands/build/feature.md +4 -4
- package/commands/build/fix.md +8 -8
- package/commands/design/access.md +3 -3
- package/commands/design/flow.md +3 -3
- package/commands/design/ui.md +4 -4
- package/commands/measure/experiment.md +5 -5
- package/commands/measure/metrics.md +3 -3
- package/commands/measure/results.md +4 -4
- package/commands/plan/api.md +3 -3
- package/commands/plan/challenge.md +3 -3
- package/commands/plan/decide.md +3 -3
- package/commands/plan/feature.md +7 -7
- package/commands/plan/requirements.md +3 -3
- package/commands/remember/context.md +5 -5
- package/commands/remember/handoff.md +3 -3
- package/commands/remember/runbook.md +3 -3
- package/commands/review/code.md +8 -8
- package/commands/review/quality.md +4 -4
- package/commands/review/security.md +3 -3
- package/commands/ship/ready.md +3 -3
- package/commands/ship/release.md +3 -3
- package/commands/ship/status.md +4 -4
- package/commands/understand/docs.md +3 -3
- package/commands/understand/this.md +4 -4
- package/commands/understand/why.md +8 -8
- package/commands/work/clean.md +14 -14
- package/commands/work/drive.md +10 -10
- package/commands/work/optimize-prompts.md +9 -9
- package/commands/work/parallel-review.md +8 -8
- package/db/schema/006_graph.sql +24 -0
- package/examples/provider-plugin/README.md +7 -7
- package/examples/seed-observations/README.md +6 -6
- package/examples/seed-observations/anti-patterns.md +14 -14
- package/examples/seed-observations/decisions.md +4 -4
- package/examples/seed-observations/patterns.md +14 -14
- package/lib/auto-docs.mjs +8 -3
- package/lib/cli-commands.mjs +2 -2
- package/lib/flavors/loader.mjs +1 -1
- package/lib/knowledge/graph.mjs +213 -0
- package/lib/mcp/server.mjs +187 -1
- package/lib/mcp/tools/profile.mjs +270 -0
- package/package.json +1 -1
- package/platforms/claude/CLAUDE.md +6 -6
- package/rules/common/agents.md +2 -2
- package/rules/common/beads-hygiene.md +11 -11
- package/rules/common/code-review.md +1 -1
- package/rules/common/coding-style.md +1 -1
- package/rules/common/comments.md +8 -8
- package/rules/common/commit-approval.md +4 -4
- package/rules/common/cx-agent-routing.md +2 -2
- package/rules/common/cx-skill-routing.md +2 -2
- package/rules/common/development-workflow.md +1 -1
- package/rules/common/doc-ownership.md +2 -2
- package/rules/common/efficiency.md +3 -3
- package/rules/common/framing.md +1 -1
- package/rules/common/git-workflow.md +1 -1
- package/rules/common/patterns.md +1 -1
- package/rules/common/performance.md +1 -1
- package/rules/common/release-gates.md +7 -7
- package/rules/common/research.md +4 -4
- package/rules/common/security.md +1 -1
- package/rules/common/skill-composition.md +8 -8
- package/rules/common/testing.md +1 -1
- package/rules/golang/coding-style.md +2 -2
- package/rules/golang/hooks.md +1 -1
- package/rules/golang/patterns.md +1 -1
- package/rules/golang/security.md +1 -1
- package/rules/golang/testing.md +1 -1
- package/rules/python/coding-style.md +1 -1
- package/rules/python/hooks.md +1 -1
- package/rules/python/patterns.md +1 -1
- package/rules/python/security.md +1 -1
- package/rules/python/testing.md +1 -1
- package/rules/swift/coding-style.md +3 -3
- package/rules/swift/hooks.md +2 -2
- package/rules/swift/patterns.md +2 -2
- package/rules/swift/security.md +4 -4
- package/rules/swift/testing.md +2 -2
- package/rules/typescript/coding-style.md +1 -1
- package/rules/typescript/hooks.md +1 -1
- package/rules/typescript/patterns.md +1 -1
- package/rules/typescript/security.md +1 -1
- package/rules/typescript/testing.md +1 -1
- package/rules/web/coding-style.md +1 -1
- package/rules/web/design-quality.md +1 -1
- package/rules/web/hooks.md +1 -1
- package/rules/web/patterns.md +1 -1
- package/rules/web/performance.md +1 -1
- package/rules/web/security.md +1 -1
- package/rules/web/testing.md +1 -1
- package/skills/ai/agent-dev.md +1 -1
- package/skills/ai/llm-security.md +1 -1
- package/skills/ai/ml-ops.md +6 -6
- package/skills/ai/orchestration-workflow.md +1 -1
- package/skills/ai/prompt-and-eval.md +1 -1
- package/skills/ai/prompt-optimizer.md +13 -13
- package/skills/ai/rag-system.md +1 -1
- package/skills/architecture/api-design.md +1 -1
- package/skills/architecture/caching.md +1 -1
- package/skills/architecture/cloud-native.md +1 -1
- package/skills/architecture/message-queue.md +1 -1
- package/skills/architecture/security-arch.md +1 -1
- package/skills/compliance/ai-disclosure.md +1 -1
- package/skills/compliance/data-privacy.md +1 -1
- package/skills/compliance/license-audit.md +2 -2
- package/skills/compliance/regulatory-review.md +1 -1
- package/skills/development/cpp.md +1 -1
- package/skills/development/go.md +1 -1
- package/skills/development/java.md +1 -1
- package/skills/development/kotlin.md +9 -9
- package/skills/development/mobile-crossplatform.md +13 -13
- package/skills/development/python.md +1 -1
- package/skills/development/rust.md +1 -1
- package/skills/development/shell.md +1 -1
- package/skills/development/swift.md +6 -6
- package/skills/development/typescript.md +1 -1
- package/skills/devops/ci-cd.md +5 -5
- package/skills/devops/containerization.md +9 -9
- package/skills/devops/cost-optimization.md +1 -1
- package/skills/devops/data-engineering.md +2 -2
- package/skills/devops/database.md +1 -1
- package/skills/devops/dependency-management.md +3 -3
- package/skills/devops/devsecops.md +1 -1
- package/skills/devops/git-workflow.md +1 -1
- package/skills/devops/incident-response.md +18 -18
- package/skills/devops/monorepo.md +5 -5
- package/skills/devops/observability.md +1 -1
- package/skills/devops/performance.md +1 -1
- package/skills/devops/testing.md +1 -1
- package/skills/docs/adr-workflow.md +2 -2
- package/skills/docs/backlog-proposal-workflow.md +1 -1
- package/skills/docs/customer-profile-workflow.md +1 -1
- package/skills/docs/document-ingest-workflow.md +1 -1
- package/skills/docs/evidence-ingest-workflow.md +1 -1
- package/skills/docs/init-docs.md +15 -15
- package/skills/docs/init-project.md +1 -1
- package/skills/docs/prd-workflow.md +3 -3
- package/skills/docs/prfaq-workflow.md +1 -1
- package/skills/docs/product-intelligence-review.md +1 -1
- package/skills/docs/product-intelligence-workflow.md +1 -1
- package/skills/docs/product-signal-workflow.md +9 -9
- package/skills/docs/research-workflow.md +10 -10
- package/skills/docs/runbook-workflow.md +2 -2
- package/skills/docs/strategy-workflow.md +3 -3
- package/skills/exploration/repo-map.md +11 -11
- package/skills/frameworks/django.md +15 -15
- package/skills/frameworks/nextjs.md +16 -16
- package/skills/frameworks/react.md +12 -12
- package/skills/frameworks/spring-boot.md +12 -12
- package/skills/frontend-design/accessibility.md +6 -6
- package/skills/frontend-design/component-patterns.md +1 -1
- package/skills/frontend-design/engineering.md +1 -1
- package/skills/frontend-design/state-management.md +1 -1
- package/skills/frontend-design/ui-aesthetics.md +1 -1
- package/skills/frontend-design/ux-principles.md +1 -1
- package/skills/operating/orchestration-reference.md +27 -27
- package/skills/quality-gates/review-work.md +3 -3
- package/skills/quality-gates/verify-change.md +1 -1
- package/skills/quality-gates/verify-module.md +1 -1
- package/skills/quality-gates/verify-quality.md +1 -1
- package/skills/quality-gates/verify-security.md +1 -1
- package/skills/routing.md +14 -14
- package/skills/security/blue-team.md +1 -1
- package/skills/security/code-audit.md +1 -1
- package/skills/security/pentest.md +1 -1
- package/skills/security/red-team.md +1 -1
- package/skills/security/threat-intel.md +1 -1
- package/skills/security/vuln-research.md +1 -1
- package/skills/utility/clean-code.md +2 -2
- package/templates/docs/changelog-entry.md +1 -1
- package/templates/docs/construct_guide.md +13 -13
- package/templates/docs/meta-prd.md +16 -16
- package/templates/docs/one-pager.md +1 -1
- package/templates/docs/prd-business.md +1 -1
- package/templates/docs/prd-platform.md +1 -1
- package/templates/docs/prd.md +17 -17
- package/templates/docs/research-brief.md +8 -8
- package/templates/docs/rfc.md +1 -1
- package/templates/docs/strategy.md +1 -1
package/commands/review/code.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/review/code.md
|
|
2
|
+
commands/review/code.md (Code review) correctness, regressions, security, test coverage
|
|
3
3
|
|
|
4
|
-
Code review
|
|
4
|
+
Code review: correctness, regressions, security, test coverage
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Code review
|
|
7
|
+
description: Code review: correctness, regressions, security, test coverage
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are Construct. Review: $ARGUMENTS
|
|
@@ -12,10 +12,10 @@ You are Construct. Review: $ARGUMENTS
|
|
|
12
12
|
If no target specified, review all uncommitted changes (`git diff HEAD`).
|
|
13
13
|
|
|
14
14
|
Check in order:
|
|
15
|
-
1. Correctness
|
|
16
|
-
2. Regression
|
|
17
|
-
3. Security
|
|
18
|
-
4. Coverage
|
|
19
|
-
5. Maintainability
|
|
15
|
+
1. Correctness: does it do what it's supposed to?
|
|
16
|
+
2. Regression: does it break anything that was working?
|
|
17
|
+
3. Security: injection, auth, secrets, data exposure
|
|
18
|
+
4. Coverage: are there tests for changed or new behavior?
|
|
19
|
+
5. Maintainability: can someone unfamiliar understand it?
|
|
20
20
|
|
|
21
21
|
Rate each finding: CRITICAL / HIGH / MEDIUM / LOW. State clearly if no CRITICAL or HIGH findings exist.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/review/quality.md
|
|
2
|
+
commands/review/quality.md (Quality audit) complexity, naming, duplication, dead code, maintainability
|
|
3
3
|
|
|
4
|
-
Quality audit
|
|
4
|
+
Quality audit: complexity, naming, duplication, dead code, maintainability
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Quality audit
|
|
7
|
+
description: Quality audit: complexity, naming, duplication, dead code, maintainability
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are Construct. Audit quality for: $ARGUMENTS
|
|
@@ -16,4 +16,4 @@ Check:
|
|
|
16
16
|
- Unused exports, unreachable branches, stale imports
|
|
17
17
|
- Coupling, unclear data flow
|
|
18
18
|
|
|
19
|
-
Rate findings: CRITICAL / HIGH / MEDIUM / LOW. Describe the fix
|
|
19
|
+
Rate findings: CRITICAL / HIGH / MEDIUM / LOW. Describe the fix: do not rewrite unprompted.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/review/security.md
|
|
2
|
+
commands/review/security.md (Security scan) secrets, auth, injection, data exposure, dependency risk
|
|
3
3
|
|
|
4
|
-
Security scan
|
|
4
|
+
Security scan: secrets, auth, injection, data exposure, dependency risk
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Security scan
|
|
7
|
+
description: Security scan: secrets, auth, injection, data exposure, dependency risk
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are Construct. Scan: $ARGUMENTS
|
package/commands/ship/ready.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/ship/ready.md
|
|
2
|
+
commands/ship/ready.md (Pre-release check) is this ready to ship?
|
|
3
3
|
|
|
4
|
-
Pre-release check
|
|
4
|
+
Pre-release check: is this ready to ship?
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Pre-release check
|
|
7
|
+
description: Pre-release check: is this ready to ship?
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are Construct. Check if the following is ready: $ARGUMENTS
|
package/commands/ship/release.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/ship/release.md
|
|
2
|
+
commands/ship/release.md (Release) plan rollout, changelog, rollback, and post-release verification
|
|
3
3
|
|
|
4
|
-
Release
|
|
4
|
+
Release: plan rollout, changelog, rollback, and post-release verification
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Release
|
|
7
|
+
description: Release: plan rollout, changelog, rollback, and post-release verification
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are Construct. Release the following: $ARGUMENTS
|
package/commands/ship/status.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/ship/status.md
|
|
2
|
+
commands/ship/status.md (Status) current project state, workflow, uncommitted changes, recent activity
|
|
3
3
|
|
|
4
|
-
Status
|
|
4
|
+
Status: current project state, workflow, uncommitted changes, recent activity
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Status
|
|
7
|
+
description: Status: current project state, workflow, uncommitted changes, recent activity
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are Construct. Report status for: $ARGUMENTS
|
|
11
11
|
|
|
12
12
|
Check and report:
|
|
13
|
-
1. Tracker and `plan.md` state
|
|
13
|
+
1. Tracker and `plan.md` state: active slices, blockers, and ownership boundaries
|
|
14
14
|
2. Uncommitted changes via `git status`
|
|
15
15
|
3. Recent commits via `git log --oneline -10`
|
|
16
16
|
4. Active branch and relationship to main
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/understand/docs.md
|
|
2
|
+
commands/understand/docs.md (Look up documentation) current behavior from primary sources, not training memory
|
|
3
3
|
|
|
4
|
-
Look up documentation
|
|
4
|
+
Look up documentation: current behavior from primary sources, not training memory
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Look up documentation
|
|
7
|
+
description: Look up documentation: current behavior from primary sources, not training memory
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are Construct. Look up: $ARGUMENTS
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/understand/this.md
|
|
2
|
+
commands/understand/this.md (Explore and understand something) trace execution paths, map structure, gather evidence
|
|
3
3
|
|
|
4
|
-
Explore and understand something
|
|
4
|
+
Explore and understand something: trace execution paths, map structure, gather evidence
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Explore and understand something
|
|
7
|
+
description: Explore and understand something: trace execution paths, map structure, gather evidence
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are Construct. Explore and explain: $ARGUMENTS
|
|
11
11
|
|
|
12
|
-
Gather evidence
|
|
12
|
+
Gather evidence: do not propose solutions unless asked.
|
|
13
13
|
|
|
14
14
|
1. Search for the specific symbol, pattern, or behavior
|
|
15
15
|
2. Trace the execution path from entry point to outcome
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/understand/why.md
|
|
2
|
+
commands/understand/why.md (Investigate a failure) why is this broken, what is the root cause
|
|
3
3
|
|
|
4
|
-
Investigate a failure
|
|
4
|
+
Investigate a failure: why is this broken, what is the root cause
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Investigate a failure
|
|
7
|
+
description: Investigate a failure: why is this broken, what is the root cause
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are Construct. Investigate: $ARGUMENTS
|
|
11
11
|
|
|
12
|
-
1. Capture
|
|
13
|
-
2. Reproduce
|
|
14
|
-
3. Isolate
|
|
15
|
-
4. Trace
|
|
16
|
-
5. Root cause
|
|
12
|
+
1. Capture: exact error, stack trace, reproduction steps
|
|
13
|
+
2. Reproduce: confirm you can trigger the failure consistently
|
|
14
|
+
3. Isolate: narrow to the smallest failing case
|
|
15
|
+
4. Trace: follow data and control flow to where the invariant breaks
|
|
16
|
+
5. Root cause: the one upstream cause that, if fixed, prevents the failure
|
|
17
17
|
|
|
18
18
|
Do not plan a fix until root cause is confirmed. If you cannot reproduce, say so immediately and ask for more context.
|
package/commands/work/clean.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/work/clean.md
|
|
2
|
+
commands/work/clean.md (Remove AI-generated code smells) verbosity, hedging, dead comments, generic names
|
|
3
3
|
|
|
4
|
-
Remove AI-generated code smells
|
|
4
|
+
Remove AI-generated code smells: verbosity, hedging, dead comments, generic names
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Remove AI-generated code smells
|
|
7
|
+
description: Remove AI-generated code smells: verbosity, hedging, dead comments, generic names
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are cx-reviewer identifying AI slop in: $ARGUMENTS
|
|
@@ -13,17 +13,17 @@ Then dispatch cx-engineer to apply the fixes.
|
|
|
13
13
|
|
|
14
14
|
## What to remove
|
|
15
15
|
|
|
16
|
-
1. **Obvious comments
|
|
17
|
-
2. **Hedging names**
|
|
18
|
-
3. **Debug artifacts
|
|
19
|
-
4. **Unnecessary wrapping
|
|
20
|
-
5. **Dead TODO blocks
|
|
21
|
-
6. **Restated types
|
|
22
|
-
7. **Over-specified assertions
|
|
23
|
-
8. **Swallowed errors
|
|
24
|
-
9. **Single-use abstractions
|
|
25
|
-
10. **Padded error messages
|
|
26
|
-
11. **Boilerplate docstrings
|
|
16
|
+
1. **Obvious comments**: `// This function calculates X` when the function is named `calculateX`
|
|
17
|
+
2. **Hedging names** (`result`, `data`, `temp`, `item`, `obj`, `value`, `response`) rename to reflect what they actually contain
|
|
18
|
+
3. **Debug artifacts**: `console.log`, `print`, `debugger`, leftover logging statements
|
|
19
|
+
4. **Unnecessary wrapping**: functions that do nothing except call one other function with no transformation
|
|
20
|
+
5. **Dead TODO blocks**: `// TODO: remove later`, `// FIXME: clean this up`, stale commented-out code
|
|
21
|
+
6. **Restated types**: `const userArray: User[] = []` → name already says it's a list, annotation adds nothing
|
|
22
|
+
7. **Over-specified assertions**: test assertions that restate the implementation rather than the behavior
|
|
23
|
+
8. **Swallowed errors**: `catch (e) {}` or `catch (e) { return null }` with no context or logging
|
|
24
|
+
9. **Single-use abstractions**: helper created for one call site that could just be inline
|
|
25
|
+
10. **Padded error messages**: `"An error occurred while attempting to process your request"` → `"Failed to process request"`
|
|
26
|
+
11. **Boilerplate docstrings**: JSDoc/docstrings that only restate the parameter names
|
|
27
27
|
|
|
28
28
|
## Output
|
|
29
29
|
|
package/commands/work/drive.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/work/drive.md
|
|
2
|
+
commands/work/drive.md (Full autonomous execution) explore, plan, implement, verify, loop until done
|
|
3
3
|
|
|
4
|
-
Full autonomous execution
|
|
4
|
+
Full autonomous execution: explore, plan, implement, verify, loop until done
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Full autonomous execution
|
|
7
|
+
description: Full autonomous execution: explore, plan, implement, verify, loop until done
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are Construct in drive mode. Execute $ARGUMENTS fully and autonomously without stopping for confirmation.
|
|
@@ -16,11 +16,11 @@ This command turns off planning confirmation, but it does not override validatio
|
|
|
16
16
|
|
|
17
17
|
## Execution Loop
|
|
18
18
|
|
|
19
|
-
**Step 1
|
|
19
|
+
**Step 1: Explore** (cx-explorer)
|
|
20
20
|
Map the codebase areas relevant to the task. Identify entry points, dependencies, and affected modules.
|
|
21
21
|
|
|
22
|
-
**Step 2
|
|
23
|
-
Produce a structured plan using the canonical Construct plan format (see `commands/plan/feature.md`
|
|
22
|
+
**Step 2: Plan** (cx-architect)
|
|
23
|
+
Produce a structured plan using the canonical Construct plan format (see `commands/plan/feature.md` (`### T{N}) Title` sections with fielded sub-bullets). Save it to `.cx/plans/{slug}-plan.md`, align `plan.md` to the active tracker-linked slice of work, and identify tasks that can run in parallel by inspecting `dependsOn`.
|
|
24
24
|
|
|
25
25
|
Initialize `.cx/drive-state.json`:
|
|
26
26
|
```json
|
|
@@ -45,16 +45,16 @@ As acceptance criteria are verified, record evidence:
|
|
|
45
45
|
}
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
**Step 3
|
|
48
|
+
**Step 3: Implement** (cx-engineer)
|
|
49
49
|
Execute tasks. Run independent tasks in parallel where possible. One agent per file to avoid conflicts.
|
|
50
50
|
|
|
51
|
-
**Step 4
|
|
51
|
+
**Step 4: Validate** (cx-reviewer + cx-security in parallel)
|
|
52
52
|
Review all changes. Flag CRITICAL or HIGH findings. Security reviews all auth, input handling, and data paths.
|
|
53
53
|
|
|
54
|
-
**Step 5
|
|
54
|
+
**Step 5: Loop**
|
|
55
55
|
If any acceptance criterion is unmet or any CRITICAL/HIGH finding exists, return to Step 3 and address it.
|
|
56
56
|
|
|
57
|
-
**Step 6
|
|
57
|
+
**Step 6: Done**
|
|
58
58
|
Only stop when ALL of the following are true:
|
|
59
59
|
- Every workflow task is `done`
|
|
60
60
|
- Every acceptance criterion has verification evidence
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/work/optimize-prompts.md
|
|
2
|
+
commands/work/optimize-prompts.md: Prompt optimization command.
|
|
3
3
|
|
|
4
4
|
Runs the closed-loop prompt optimization workflow using telemetry trace data.
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Closed-loop prompt optimization
|
|
7
|
+
description: Closed-loop prompt optimization: read telemetry traces, diagnose failures, push improved version to staging
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are cx-trace-reviewer running a prompt optimization cycle for: $ARGUMENTS
|
|
@@ -18,13 +18,13 @@ Optimize prompt fragments and overlays, not the runtime orchestration policy. If
|
|
|
18
18
|
|
|
19
19
|
## Required steps
|
|
20
20
|
|
|
21
|
-
1. **Read current prompt
|
|
22
|
-
2. **Fetch recent scores
|
|
23
|
-
3. **Skip agents with fewer than 20 scored traces
|
|
24
|
-
4. **Diagnose failure patterns
|
|
25
|
-
5. **Generate improved prompt
|
|
26
|
-
6. **Push to staging
|
|
27
|
-
7. **Report
|
|
21
|
+
1. **Read current prompt**: read the agent's prompt from `agents/registry.json` (or its `promptFile`)
|
|
22
|
+
2. **Fetch recent scores**: GET `{CONSTRUCT_TELEMETRY_URL}/api/public/scores?name=quality&limit=200`
|
|
23
|
+
3. **Skip agents with fewer than 20 scored traces**: insufficient signal; note them but do not optimize
|
|
24
|
+
4. **Diagnose failure patterns**: analyze low-scoring traces, identify top 3 recurring patterns
|
|
25
|
+
5. **Generate improved prompt**: targeted edits that address failures without breaking high-scoring behaviors
|
|
26
|
+
6. **Push to staging**: update the prompt in a staging marker comment; log the candidate via `cx_trace` with `promptVersion: staging-{timestamp}`
|
|
27
|
+
7. **Report**: for each agent: before/after median score estimate, patterns addressed, staging version note
|
|
28
28
|
|
|
29
29
|
## Output
|
|
30
30
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
commands/work/parallel-review.md
|
|
2
|
+
commands/work/parallel-review.md (Adversarial parallel review) 5 reviewers must agree before output ships
|
|
3
3
|
|
|
4
|
-
Adversarial parallel review
|
|
4
|
+
Adversarial parallel review: 5 reviewers must agree before output ships
|
|
5
5
|
-->
|
|
6
6
|
---
|
|
7
|
-
description: Adversarial parallel review
|
|
7
|
+
description: Adversarial parallel review: 5 reviewers must agree before output ships
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are Construct running a parallel adversarial review of: $ARGUMENTS
|
|
11
11
|
|
|
12
12
|
Dispatch the following 5 review roles concurrently:
|
|
13
13
|
|
|
14
|
-
1. **cx-reviewer
|
|
15
|
-
2. **cx-security
|
|
16
|
-
3. **cx-qa
|
|
17
|
-
4. **cx-devil-advocate
|
|
18
|
-
5. **cx-accessibility** (UI changes) or **cx-trace-reviewer** (non-UI)
|
|
14
|
+
1. **cx-reviewer**: Correctness and logic: does it do what it claims? Are there off-by-ones, edge cases, or control flow bugs?
|
|
15
|
+
2. **cx-security**: Vulnerabilities and data exposure: injection, auth bypass, secret leakage, SSRF, unvalidated input
|
|
16
|
+
3. **cx-qa**: Test coverage and edge cases: what's untested? What inputs would break this?
|
|
17
|
+
4. **cx-devil-advocate**: Assumption stress-test: what are we assuming that could be wrong? What failure modes are unaddressed?
|
|
18
|
+
5. **cx-accessibility** (UI changes) or **cx-trace-reviewer** (non-UI): Inclusive UX or performance bottlenecks
|
|
19
19
|
|
|
20
20
|
## Merge Gate
|
|
21
21
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
-- 006_graph.sql. GraphRAG community columns for entities.
|
|
2
|
+
--
|
|
3
|
+
-- Phase C9 foundations. Adds community_id (label propagation output) and a
|
|
4
|
+
-- community summary table so the Pg-backed deployment can query communities
|
|
5
|
+
-- without a JSONL scan. Solo-mode JSONL remains the source of truth; this
|
|
6
|
+
-- table is the projection.
|
|
7
|
+
|
|
8
|
+
ALTER TABLE construct_entities
|
|
9
|
+
ADD COLUMN IF NOT EXISTS community_id text,
|
|
10
|
+
ADD COLUMN IF NOT EXISTS community_size int;
|
|
11
|
+
|
|
12
|
+
CREATE INDEX IF NOT EXISTS idx_entities_community ON construct_entities(project, community_id);
|
|
13
|
+
|
|
14
|
+
CREATE TABLE IF NOT EXISTS construct_entity_communities (
|
|
15
|
+
community_id text NOT NULL,
|
|
16
|
+
project text NOT NULL,
|
|
17
|
+
size int NOT NULL DEFAULT 0,
|
|
18
|
+
top_members jsonb DEFAULT '[]'::jsonb,
|
|
19
|
+
summary text,
|
|
20
|
+
updated_at timestamptz NOT NULL DEFAULT now(),
|
|
21
|
+
PRIMARY KEY (project, community_id)
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
CREATE INDEX IF NOT EXISTS idx_communities_size ON construct_entity_communities(project, size DESC);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Hello World
|
|
1
|
+
# Hello World: Construct provider plugin example
|
|
2
2
|
|
|
3
3
|
A minimal reference implementation of the [Construct provider contract](../../docs/providers/authoring.md). Returns canned data; no external credentials required.
|
|
4
4
|
|
|
@@ -18,16 +18,16 @@ construct provider test hello-world --query "greet"
|
|
|
18
18
|
## What this shows
|
|
19
19
|
|
|
20
20
|
- The factory function signature (`create({ env })`)
|
|
21
|
-
- `meta
|
|
22
|
-
- `configSchema
|
|
23
|
-
- `health()
|
|
24
|
-
- `read()
|
|
25
|
-
- `search()
|
|
21
|
+
- `meta`: id, displayName, capabilities
|
|
22
|
+
- `configSchema`: JSON Schema for provider settings
|
|
23
|
+
- `health()`: always-healthy health check
|
|
24
|
+
- `read()`: look up a single item by id
|
|
25
|
+
- `search()`: full-text filter over canned items
|
|
26
26
|
|
|
27
27
|
## Adapting for real providers
|
|
28
28
|
|
|
29
29
|
1. Replace the `ITEMS` constant with real API calls.
|
|
30
|
-
2. Add auth logic in `create()
|
|
30
|
+
2. Add auth logic in `create()`: read tokens from `env` or `config`.
|
|
31
31
|
3. Add `watch()` and/or `webhook()` if your source supports push.
|
|
32
32
|
4. Publish as an npm package and register via `construct provider plugins add <package>`.
|
|
33
33
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
examples/seed-observations/README.md
|
|
2
|
+
examples/seed-observations/README.md: seed corpus for Construct's in-tree memory layer.
|
|
3
3
|
|
|
4
4
|
Run `construct bootstrap` to import these files into the local observation and entity stores.
|
|
5
5
|
The seed corpus gives the hybrid BM25 + cosine retrieval a meaningful starting signal
|
|
@@ -25,14 +25,14 @@ This corpus seeds the Construct memory layer with high-value starting knowledge.
|
|
|
25
25
|
construct bootstrap
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
Imports all three files into the local observation store. Safe to re-run
|
|
28
|
+
Imports all three files into the local observation store. Safe to re-run: duplicate
|
|
29
29
|
observations are deduplicated by content hash.
|
|
30
30
|
|
|
31
31
|
## Payoff Timeline
|
|
32
32
|
|
|
33
|
-
- **0 sessions
|
|
34
|
-
- **5 sessions
|
|
35
|
-
- **20 sessions
|
|
36
|
-
- **50+ sessions
|
|
33
|
+
- **0 sessions**: retrieval is cold; seed corpus provides baseline recall
|
|
34
|
+
- **5 sessions**: personal patterns start surfacing; seed corpus still dominant
|
|
35
|
+
- **20 sessions**: personal patterns dominate; seed corpus recedes to backstop
|
|
36
|
+
- **50+ sessions**: retrieval is fully personalized; seed corpus rarely surfaces
|
|
37
37
|
|
|
38
38
|
Run `construct memory stats` to see whether memory is paying off.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
examples/seed-observations/anti-patterns.md
|
|
2
|
+
examples/seed-observations/anti-patterns.md: recurring mistakes for Construct memory seed corpus.
|
|
3
3
|
|
|
4
4
|
Each entry becomes one observation in the store with category "anti-pattern". Imported via
|
|
5
5
|
`construct bootstrap`.
|
|
@@ -9,36 +9,36 @@ Each entry becomes one observation in the store with category "anti-pattern". Im
|
|
|
9
9
|
|
|
10
10
|
## Context Waste
|
|
11
11
|
|
|
12
|
-
**Reading the whole file to find one function
|
|
12
|
+
**Reading the whole file to find one function**: Use Grep to locate the line number, then Read with offset/limit to read only that section. Reading a 500-line file to find a 10-line function burns ~5k tokens.
|
|
13
13
|
|
|
14
|
-
**Re-reading already-loaded files
|
|
14
|
+
**Re-reading already-loaded files**: If the file content is already in context, reading it again is pure waste. Check context before issuing another Read.
|
|
15
15
|
|
|
16
|
-
**Sequential tool calls that could be parallel
|
|
16
|
+
**Sequential tool calls that could be parallel**: Issuing Glob, then Read, then Grep one at a time when they're independent triples the latency. Batch independent calls in one message.
|
|
17
17
|
|
|
18
18
|
## Code Authoring
|
|
19
19
|
|
|
20
|
-
**Guessing a function signature
|
|
20
|
+
**Guessing a function signature**: Never guess an API or function signature. Read the source or check the docs first. Wrong signatures produce runtime errors that cost a full round-trip to fix.
|
|
21
21
|
|
|
22
|
-
**Editing without reading
|
|
22
|
+
**Editing without reading**: Issuing an Edit without a prior Read produces "oldString not found" failures when the file differs from assumptions. Always read first.
|
|
23
23
|
|
|
24
|
-
**Creating new files instead of editing existing ones
|
|
24
|
+
**Creating new files instead of editing existing ones**: Adding a new file when the logic belongs in an existing one fragments the codebase. Check for the right home first.
|
|
25
25
|
|
|
26
|
-
**Commenting what the code already says
|
|
26
|
+
**Commenting what the code already says**: `// increment counter` above `count++` adds noise. Comments earn their place by explaining non-obvious constraints, not restating syntax.
|
|
27
27
|
|
|
28
28
|
## Testing
|
|
29
29
|
|
|
30
|
-
**Testing the mock instead of the behavior
|
|
30
|
+
**Testing the mock instead of the behavior**: A test that only verifies that a mock was called doesn't confirm the real behavior. Prefer integration-level assertions over spy counts.
|
|
31
31
|
|
|
32
|
-
**Skipping the failing test to make CI green
|
|
32
|
+
**Skipping the failing test to make CI green**: Skipping tests hides regressions. Fix the failure or delete the test with a comment explaining why it no longer applies.
|
|
33
33
|
|
|
34
34
|
## Git
|
|
35
35
|
|
|
36
|
-
**Amending a pushed commit
|
|
36
|
+
**Amending a pushed commit**: `git commit --amend` after a push requires force-push, which rewrites shared history. Use a new commit instead.
|
|
37
37
|
|
|
38
|
-
**Committing without running tests
|
|
38
|
+
**Committing without running tests**: Tests exist to catch regressions before they land on main. A green build is the only signal that a change is safe to ship.
|
|
39
39
|
|
|
40
40
|
## Agent Behavior
|
|
41
41
|
|
|
42
|
-
**Stopping without surfacing incomplete tasks
|
|
42
|
+
**Stopping without surfacing incomplete tasks**: An agent that stops while tasks are `in_progress` or have unmet acceptance criteria leaves the user without visibility. Surface the state before stopping.
|
|
43
43
|
|
|
44
|
-
**Making assumptions about user intent
|
|
44
|
+
**Making assumptions about user intent**: When a requirement is ambiguous, ask one targeted question rather than guessing and building the wrong thing.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
examples/seed-observations/decisions.md
|
|
2
|
+
examples/seed-observations/decisions.md: key architectural decisions for Construct memory seed corpus.
|
|
3
3
|
|
|
4
4
|
Each entry becomes one observation in the store with category "decision". Imported via
|
|
5
5
|
`construct bootstrap`.
|
|
@@ -13,7 +13,7 @@ Each entry becomes one observation in the store with category "decision". Import
|
|
|
13
13
|
|
|
14
14
|
## Two-Phase Sync with Lockfile
|
|
15
15
|
|
|
16
|
-
`construct sync` writes to `.cx/sync-staging/` first, then atomically renames into place. A lockfile at `.cx/sync.lock` prevents concurrent runs from corrupting the output. This makes partial syncs impossible
|
|
16
|
+
`construct sync` writes to `.cx/sync-staging/` first, then atomically renames into place. A lockfile at `.cx/sync.lock` prevents concurrent runs from corrupting the output. This makes partial syncs impossible: either the full sync lands or nothing does.
|
|
17
17
|
|
|
18
18
|
## Hook Ceiling: 30
|
|
19
19
|
|
|
@@ -25,7 +25,7 @@ The memory layer uses a hashing bag-of-words cosine similarity for dense recall
|
|
|
25
25
|
|
|
26
26
|
## Tiered Session-Start Injection
|
|
27
27
|
|
|
28
|
-
Session-start injects context in three tiers: Tier 1 (always
|
|
28
|
+
Session-start injects context in three tiers: Tier 1 (always (header, branch, status), Tier 2 (when fresh and meaningful) workflow, observations, context.md), Tier 3 (hint-only: efficiency snapshot, skill scope). This caps injection size and avoids loading the model with stale or irrelevant context on every session.
|
|
29
29
|
|
|
30
30
|
## Declarative Policy Rules
|
|
31
31
|
|
|
@@ -33,4 +33,4 @@ Hook guards for workflow, drive, bootstrap, and task behavior are expressed as Y
|
|
|
33
33
|
|
|
34
34
|
## Registry as Single Source of Truth
|
|
35
35
|
|
|
36
|
-
`agents/registry.json` is the canonical definition for all agents on all platforms (Claude Code, OpenCode, Codex, Copilot). `construct sync` regenerates all platform-specific files from the registry. Never edit generated files directly
|
|
36
|
+
`agents/registry.json` is the canonical definition for all agents on all platforms (Claude Code, OpenCode, Codex, Copilot). `construct sync` regenerates all platform-specific files from the registry. Never edit generated files directly: edits are overwritten on the next sync.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
examples/seed-observations/patterns.md
|
|
2
|
+
examples/seed-observations/patterns.md: engineering patterns for Construct memory seed corpus.
|
|
3
3
|
|
|
4
4
|
Each entry becomes one observation in the store. Format: ## Category, then pattern entries
|
|
5
5
|
with **Pattern name** and description. Imported via `construct bootstrap`.
|
|
@@ -9,34 +9,34 @@ with **Pattern name** and description. Imported via `construct bootstrap`.
|
|
|
9
9
|
|
|
10
10
|
## Code Quality
|
|
11
11
|
|
|
12
|
-
**Read before edit
|
|
12
|
+
**Read before edit**: Always read the target file with the Read tool before writing or editing. Editing without reading produces stale edits that fail with "oldString not found".
|
|
13
13
|
|
|
14
|
-
**Parallel tool calls for independent work
|
|
14
|
+
**Parallel tool calls for independent work**: When two tool calls don't depend on each other's output, issue them in the same message. Cuts wall time roughly in half for multi-file operations.
|
|
15
15
|
|
|
16
|
-
**Probe before bulk read
|
|
16
|
+
**Probe before bulk read**: Use Glob or Grep to identify which files are relevant before reading them. Bulk-reading 10 files to find the one that matters burns context and slows response.
|
|
17
17
|
|
|
18
|
-
**Edit smallest possible diff
|
|
18
|
+
**Edit smallest possible diff**: Target the exact lines that need to change. Large oldString blocks with unchanged surrounding context are fragile when the file is modified concurrently.
|
|
19
19
|
|
|
20
20
|
## Testing
|
|
21
21
|
|
|
22
|
-
**Run targeted test first
|
|
22
|
+
**Run targeted test first**: Before running the full suite, run only the affected test file. Faster feedback loop; full suite confirms no regressions.
|
|
23
23
|
|
|
24
|
-
**Assert the contract, not the implementation
|
|
24
|
+
**Assert the contract, not the implementation**: Tests that check internal state (private variables, call counts) break on refactors that don't change behavior. Test the public output.
|
|
25
25
|
|
|
26
|
-
**Table-driven tests for edge cases
|
|
26
|
+
**Table-driven tests for edge cases**: When a function has many input/output pairs to verify, a single table-driven test is more maintainable than N separate `it()` blocks.
|
|
27
27
|
|
|
28
28
|
## Git Discipline
|
|
29
29
|
|
|
30
|
-
**Branch, test, merge
|
|
30
|
+
**Branch, test, merge**: Never commit directly to main. Branch for every feature or fix, verify tests pass, then merge.
|
|
31
31
|
|
|
32
|
-
**Commit message: why, not what
|
|
32
|
+
**Commit message: why, not what**: The diff already shows what changed. The commit message should explain why. "fix dry-run bypass" is less useful than "fix: dry-run skipped mkdirp calls, causing 31 phantom files in test home".
|
|
33
33
|
|
|
34
|
-
**Atomic commits
|
|
34
|
+
**Atomic commits**: One logical change per commit. Mixing a bug fix with a refactor makes bisect and revert painful.
|
|
35
35
|
|
|
36
36
|
## Agent Dispatch
|
|
37
37
|
|
|
38
|
-
**Route through Construct
|
|
38
|
+
**Route through Construct**: Construct is the single dispatch point. Invoking specialist agents directly bypasses context injection and workflow tracking.
|
|
39
39
|
|
|
40
|
-
**Subagent for isolated subtasks
|
|
40
|
+
**Subagent for isolated subtasks**: Use Task tool dispatch when a subtask has a clear input/output contract and doesn't need the parent conversation history. Keeps the main context lean.
|
|
41
41
|
|
|
42
|
-
**Timeout specialist calls
|
|
42
|
+
**Timeout specialist calls**: Agent dispatch without a timeout can block indefinitely. Set `timeout: 120_000` as a floor; use 300_000 for heavy analysis tasks.
|
package/lib/auto-docs.mjs
CHANGED
|
@@ -160,9 +160,14 @@ function buildAgentsTable(rootDir) {
|
|
|
160
160
|
|
|
161
161
|
const rows = ['| Agent | Tier | Purpose |', '|---|---|---|'];
|
|
162
162
|
for (const agent of agents.slice(0, 30)) {
|
|
163
|
-
const name = agent.id ?? agent.name ?? '
|
|
164
|
-
const tier = agent.tier ?? agent.model_tier ?? '
|
|
165
|
-
|
|
163
|
+
const name = agent.id ?? agent.name ?? 'n/a';
|
|
164
|
+
const tier = agent.tier ?? agent.model_tier ?? 'n/a';
|
|
165
|
+
// Strip em-dashes from descriptions so the prose lint stays clean across
|
|
166
|
+
// AUTO regen. Em-dashes are allowed in the registry's source descriptions
|
|
167
|
+
// but never in the rendered markdown.
|
|
168
|
+
const purpose = (agent.description ?? agent.purpose ?? '')
|
|
169
|
+
.split('\n')[0].slice(0, 80)
|
|
170
|
+
.replace(/ — /g, '. ').replace(/—/g, ',');
|
|
166
171
|
rows.push(`| \`${name}\` | ${tier} | ${purpose} |`);
|
|
167
172
|
}
|
|
168
173
|
if (agents.length > 30) rows.push(`| *(+${agents.length - 30} more)* | | |`);
|
package/lib/cli-commands.mjs
CHANGED
|
@@ -92,7 +92,7 @@ export const CLI_COMMANDS = [
|
|
|
92
92
|
emoji: '📥',
|
|
93
93
|
category: 'Core',
|
|
94
94
|
core: true,
|
|
95
|
-
description: 'View and process
|
|
95
|
+
description: 'View and process the active profile\'s intake queue (queue label varies by profile)',
|
|
96
96
|
usage: 'construct intake list|show|done|skip',
|
|
97
97
|
},
|
|
98
98
|
{
|
|
@@ -166,7 +166,7 @@ export const CLI_COMMANDS = [
|
|
|
166
166
|
{ name: 'show', desc: 'Show the active profile' },
|
|
167
167
|
{ name: 'list', desc: 'List curated profiles' },
|
|
168
168
|
{ name: 'set <id>', desc: 'Switch the active profile (writes construct.config.json)' },
|
|
169
|
-
{ name: 'create <id> [--display
|
|
169
|
+
{ name: 'create <id> [--display=…] [--role=…] [--department=…] [--yes|--dry-run]', desc: 'Scaffold a draft profile; previews and confirms by default, prompts interactively when no flags' },
|
|
170
170
|
{ name: 'drafts', desc: 'List in-progress draft profiles' },
|
|
171
171
|
{ name: 'archive <id> --reason="..."', desc: 'Move a curated profile into archive/profiles/<id>/' },
|
|
172
172
|
{ name: 'health <id> [--days=N]', desc: 'Per-profile observation + outcome rollup' },
|
package/lib/flavors/loader.mjs
CHANGED
|
@@ -130,7 +130,7 @@ export function validateFlavor(filePath) {
|
|
|
130
130
|
errors.push(`${filePath}: applies_to must be a non-empty array`);
|
|
131
131
|
}
|
|
132
132
|
if (!Array.isArray(fm.profiles) || fm.profiles.length === 0) {
|
|
133
|
-
errors.push(`${filePath}: profiles must be a non-empty array
|
|
133
|
+
errors.push(`${filePath}: profiles must be a non-empty array; add a frontmatter line like \`profiles: [rnd]\``);
|
|
134
134
|
}
|
|
135
135
|
return errors;
|
|
136
136
|
}
|