@wazir-dev/cli 1.0.0
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/AGENTS.md +111 -0
- package/CHANGELOG.md +14 -0
- package/CONTRIBUTING.md +101 -0
- package/LICENSE +21 -0
- package/README.md +314 -0
- package/assets/composition-engine.mmd +34 -0
- package/assets/demo-script.sh +17 -0
- package/assets/logo-dark.svg +14 -0
- package/assets/logo.svg +14 -0
- package/assets/pipeline.mmd +39 -0
- package/assets/record-demo.sh +51 -0
- package/docs/README.md +51 -0
- package/docs/adapters/context-mode.md +60 -0
- package/docs/concepts/architecture.md +87 -0
- package/docs/concepts/artifact-model.md +60 -0
- package/docs/concepts/composition-engine.md +36 -0
- package/docs/concepts/indexing-and-recall.md +160 -0
- package/docs/concepts/observability.md +41 -0
- package/docs/concepts/roles-and-workflows.md +59 -0
- package/docs/concepts/terminology-policy.md +27 -0
- package/docs/getting-started/01-installation.md +78 -0
- package/docs/getting-started/02-first-run.md +102 -0
- package/docs/getting-started/03-adding-to-project.md +15 -0
- package/docs/getting-started/04-host-setup.md +15 -0
- package/docs/guides/ci-integration.md +15 -0
- package/docs/guides/creating-skills.md +15 -0
- package/docs/guides/expertise-module-authoring.md +15 -0
- package/docs/guides/hook-development.md +15 -0
- package/docs/guides/memory-and-learnings.md +34 -0
- package/docs/guides/multi-host-export.md +15 -0
- package/docs/guides/troubleshooting.md +101 -0
- package/docs/guides/writing-custom-roles.md +15 -0
- package/docs/plans/2026-03-15-cli-pipeline-integration-design.md +592 -0
- package/docs/plans/2026-03-15-cli-pipeline-integration-plan.md +598 -0
- package/docs/plans/2026-03-15-docs-enforcement-plan.md +238 -0
- package/docs/readmes/INDEX.md +99 -0
- package/docs/readmes/features/expertise/README.md +171 -0
- package/docs/readmes/features/exports/README.md +222 -0
- package/docs/readmes/features/hooks/README.md +103 -0
- package/docs/readmes/features/hooks/loop-cap-guard.md +133 -0
- package/docs/readmes/features/hooks/post-tool-capture.md +121 -0
- package/docs/readmes/features/hooks/post-tool-lint.md +130 -0
- package/docs/readmes/features/hooks/pre-compact-summary.md +122 -0
- package/docs/readmes/features/hooks/pre-tool-capture-route.md +100 -0
- package/docs/readmes/features/hooks/protected-path-write-guard.md +128 -0
- package/docs/readmes/features/hooks/session-start.md +119 -0
- package/docs/readmes/features/hooks/stop-handoff-harvest.md +125 -0
- package/docs/readmes/features/roles/README.md +157 -0
- package/docs/readmes/features/roles/clarifier.md +152 -0
- package/docs/readmes/features/roles/content-author.md +190 -0
- package/docs/readmes/features/roles/designer.md +193 -0
- package/docs/readmes/features/roles/executor.md +184 -0
- package/docs/readmes/features/roles/learner.md +210 -0
- package/docs/readmes/features/roles/planner.md +182 -0
- package/docs/readmes/features/roles/researcher.md +164 -0
- package/docs/readmes/features/roles/reviewer.md +184 -0
- package/docs/readmes/features/roles/specifier.md +162 -0
- package/docs/readmes/features/roles/verifier.md +215 -0
- package/docs/readmes/features/schemas/README.md +178 -0
- package/docs/readmes/features/skills/README.md +63 -0
- package/docs/readmes/features/skills/brainstorming.md +96 -0
- package/docs/readmes/features/skills/debugging.md +148 -0
- package/docs/readmes/features/skills/design.md +120 -0
- package/docs/readmes/features/skills/prepare-next.md +109 -0
- package/docs/readmes/features/skills/run-audit.md +159 -0
- package/docs/readmes/features/skills/scan-project.md +109 -0
- package/docs/readmes/features/skills/self-audit.md +176 -0
- package/docs/readmes/features/skills/tdd.md +137 -0
- package/docs/readmes/features/skills/using-skills.md +92 -0
- package/docs/readmes/features/skills/verification.md +120 -0
- package/docs/readmes/features/skills/writing-plans.md +104 -0
- package/docs/readmes/features/tooling/README.md +320 -0
- package/docs/readmes/features/workflows/README.md +186 -0
- package/docs/readmes/features/workflows/author.md +181 -0
- package/docs/readmes/features/workflows/clarify.md +154 -0
- package/docs/readmes/features/workflows/design-review.md +171 -0
- package/docs/readmes/features/workflows/design.md +169 -0
- package/docs/readmes/features/workflows/discover.md +162 -0
- package/docs/readmes/features/workflows/execute.md +173 -0
- package/docs/readmes/features/workflows/learn.md +167 -0
- package/docs/readmes/features/workflows/plan-review.md +165 -0
- package/docs/readmes/features/workflows/plan.md +170 -0
- package/docs/readmes/features/workflows/prepare-next.md +167 -0
- package/docs/readmes/features/workflows/review.md +169 -0
- package/docs/readmes/features/workflows/run-audit.md +191 -0
- package/docs/readmes/features/workflows/spec-challenge.md +159 -0
- package/docs/readmes/features/workflows/specify.md +160 -0
- package/docs/readmes/features/workflows/verify.md +177 -0
- package/docs/readmes/packages/README.md +50 -0
- package/docs/readmes/packages/ajv.md +117 -0
- package/docs/readmes/packages/context-mode.md +118 -0
- package/docs/readmes/packages/gray-matter.md +116 -0
- package/docs/readmes/packages/node-test.md +137 -0
- package/docs/readmes/packages/yaml.md +112 -0
- package/docs/reference/configuration-reference.md +159 -0
- package/docs/reference/expertise-index.md +52 -0
- package/docs/reference/git-flow.md +43 -0
- package/docs/reference/hooks.md +87 -0
- package/docs/reference/host-exports.md +50 -0
- package/docs/reference/launch-checklist.md +172 -0
- package/docs/reference/marketplace-listings.md +76 -0
- package/docs/reference/release-process.md +34 -0
- package/docs/reference/roles-reference.md +77 -0
- package/docs/reference/skills.md +33 -0
- package/docs/reference/templates.md +29 -0
- package/docs/reference/tooling-cli.md +94 -0
- package/docs/truth-claims.yaml +222 -0
- package/expertise/PROGRESS.md +63 -0
- package/expertise/README.md +18 -0
- package/expertise/antipatterns/PROGRESS.md +56 -0
- package/expertise/antipatterns/backend/api-design-antipatterns.md +1271 -0
- package/expertise/antipatterns/backend/auth-antipatterns.md +1195 -0
- package/expertise/antipatterns/backend/caching-antipatterns.md +622 -0
- package/expertise/antipatterns/backend/database-antipatterns.md +1038 -0
- package/expertise/antipatterns/backend/index.md +24 -0
- package/expertise/antipatterns/backend/microservices-antipatterns.md +850 -0
- package/expertise/antipatterns/code/architecture-antipatterns.md +919 -0
- package/expertise/antipatterns/code/async-antipatterns.md +622 -0
- package/expertise/antipatterns/code/code-smells.md +1186 -0
- package/expertise/antipatterns/code/dependency-antipatterns.md +1209 -0
- package/expertise/antipatterns/code/error-handling-antipatterns.md +1360 -0
- package/expertise/antipatterns/code/index.md +27 -0
- package/expertise/antipatterns/code/naming-and-abstraction.md +1118 -0
- package/expertise/antipatterns/code/state-management-antipatterns.md +1076 -0
- package/expertise/antipatterns/code/testing-antipatterns.md +1053 -0
- package/expertise/antipatterns/design/accessibility-antipatterns.md +1136 -0
- package/expertise/antipatterns/design/dark-patterns.md +1121 -0
- package/expertise/antipatterns/design/index.md +22 -0
- package/expertise/antipatterns/design/ui-antipatterns.md +1202 -0
- package/expertise/antipatterns/design/ux-antipatterns.md +680 -0
- package/expertise/antipatterns/frontend/css-layout-antipatterns.md +691 -0
- package/expertise/antipatterns/frontend/flutter-antipatterns.md +1827 -0
- package/expertise/antipatterns/frontend/index.md +23 -0
- package/expertise/antipatterns/frontend/mobile-antipatterns.md +573 -0
- package/expertise/antipatterns/frontend/react-antipatterns.md +1128 -0
- package/expertise/antipatterns/frontend/spa-antipatterns.md +1235 -0
- package/expertise/antipatterns/index.md +31 -0
- package/expertise/antipatterns/performance/index.md +20 -0
- package/expertise/antipatterns/performance/performance-antipatterns.md +1013 -0
- package/expertise/antipatterns/performance/premature-optimization.md +623 -0
- package/expertise/antipatterns/performance/scaling-antipatterns.md +785 -0
- package/expertise/antipatterns/process/ai-coding-antipatterns.md +853 -0
- package/expertise/antipatterns/process/code-review-antipatterns.md +656 -0
- package/expertise/antipatterns/process/deployment-antipatterns.md +920 -0
- package/expertise/antipatterns/process/index.md +23 -0
- package/expertise/antipatterns/process/technical-debt-antipatterns.md +647 -0
- package/expertise/antipatterns/security/index.md +20 -0
- package/expertise/antipatterns/security/secrets-antipatterns.md +849 -0
- package/expertise/antipatterns/security/security-theater.md +843 -0
- package/expertise/antipatterns/security/vulnerability-patterns.md +801 -0
- package/expertise/architecture/PROGRESS.md +70 -0
- package/expertise/architecture/data/caching-architecture.md +671 -0
- package/expertise/architecture/data/data-consistency.md +574 -0
- package/expertise/architecture/data/data-modeling.md +536 -0
- package/expertise/architecture/data/event-streams-and-queues.md +634 -0
- package/expertise/architecture/data/index.md +25 -0
- package/expertise/architecture/data/search-architecture.md +663 -0
- package/expertise/architecture/data/sql-vs-nosql.md +708 -0
- package/expertise/architecture/decisions/architecture-decision-records.md +640 -0
- package/expertise/architecture/decisions/build-vs-buy.md +616 -0
- package/expertise/architecture/decisions/index.md +23 -0
- package/expertise/architecture/decisions/monolith-to-microservices.md +790 -0
- package/expertise/architecture/decisions/technology-selection.md +616 -0
- package/expertise/architecture/distributed/cap-theorem-and-tradeoffs.md +800 -0
- package/expertise/architecture/distributed/circuit-breaker-bulkhead.md +741 -0
- package/expertise/architecture/distributed/consensus-and-coordination.md +796 -0
- package/expertise/architecture/distributed/distributed-systems-fundamentals.md +564 -0
- package/expertise/architecture/distributed/idempotency-and-retry.md +796 -0
- package/expertise/architecture/distributed/index.md +25 -0
- package/expertise/architecture/distributed/saga-pattern.md +797 -0
- package/expertise/architecture/foundations/architectural-thinking.md +460 -0
- package/expertise/architecture/foundations/coupling-and-cohesion.md +770 -0
- package/expertise/architecture/foundations/design-principles-solid.md +649 -0
- package/expertise/architecture/foundations/domain-driven-design.md +719 -0
- package/expertise/architecture/foundations/index.md +25 -0
- package/expertise/architecture/foundations/separation-of-concerns.md +472 -0
- package/expertise/architecture/foundations/twelve-factor-app.md +797 -0
- package/expertise/architecture/index.md +34 -0
- package/expertise/architecture/integration/api-design-graphql.md +638 -0
- package/expertise/architecture/integration/api-design-grpc.md +804 -0
- package/expertise/architecture/integration/api-design-rest.md +892 -0
- package/expertise/architecture/integration/index.md +25 -0
- package/expertise/architecture/integration/third-party-integration.md +795 -0
- package/expertise/architecture/integration/webhooks-and-callbacks.md +1152 -0
- package/expertise/architecture/integration/websockets-realtime.md +791 -0
- package/expertise/architecture/mobile-architecture/index.md +22 -0
- package/expertise/architecture/mobile-architecture/mobile-app-architecture.md +780 -0
- package/expertise/architecture/mobile-architecture/mobile-backend-for-frontend.md +670 -0
- package/expertise/architecture/mobile-architecture/offline-first.md +719 -0
- package/expertise/architecture/mobile-architecture/push-and-sync.md +782 -0
- package/expertise/architecture/patterns/cqrs-event-sourcing.md +717 -0
- package/expertise/architecture/patterns/event-driven.md +797 -0
- package/expertise/architecture/patterns/hexagonal-clean-architecture.md +870 -0
- package/expertise/architecture/patterns/index.md +27 -0
- package/expertise/architecture/patterns/layered-architecture.md +736 -0
- package/expertise/architecture/patterns/microservices.md +753 -0
- package/expertise/architecture/patterns/modular-monolith.md +692 -0
- package/expertise/architecture/patterns/monolith.md +626 -0
- package/expertise/architecture/patterns/plugin-architecture.md +735 -0
- package/expertise/architecture/patterns/serverless.md +780 -0
- package/expertise/architecture/scaling/database-scaling.md +615 -0
- package/expertise/architecture/scaling/feature-flags-and-rollouts.md +757 -0
- package/expertise/architecture/scaling/horizontal-vs-vertical.md +606 -0
- package/expertise/architecture/scaling/index.md +24 -0
- package/expertise/architecture/scaling/multi-tenancy.md +800 -0
- package/expertise/architecture/scaling/stateless-design.md +787 -0
- package/expertise/backend/embedded-firmware.md +625 -0
- package/expertise/backend/go.md +853 -0
- package/expertise/backend/index.md +24 -0
- package/expertise/backend/java-spring.md +448 -0
- package/expertise/backend/node-typescript.md +625 -0
- package/expertise/backend/python-fastapi.md +724 -0
- package/expertise/backend/rust.md +458 -0
- package/expertise/backend/solidity.md +711 -0
- package/expertise/composition-map.yaml +443 -0
- package/expertise/content/foundations/content-modeling.md +395 -0
- package/expertise/content/foundations/editorial-standards.md +449 -0
- package/expertise/content/foundations/index.md +24 -0
- package/expertise/content/foundations/microcopy.md +455 -0
- package/expertise/content/foundations/terminology-governance.md +509 -0
- package/expertise/content/index.md +34 -0
- package/expertise/content/patterns/accessibility-copy.md +518 -0
- package/expertise/content/patterns/index.md +24 -0
- package/expertise/content/patterns/notification-content.md +433 -0
- package/expertise/content/patterns/sample-content.md +486 -0
- package/expertise/content/patterns/state-copy.md +439 -0
- package/expertise/design/PROGRESS.md +58 -0
- package/expertise/design/disciplines/dark-mode-theming.md +577 -0
- package/expertise/design/disciplines/design-systems.md +595 -0
- package/expertise/design/disciplines/index.md +25 -0
- package/expertise/design/disciplines/information-architecture.md +800 -0
- package/expertise/design/disciplines/interaction-design.md +788 -0
- package/expertise/design/disciplines/responsive-design.md +552 -0
- package/expertise/design/disciplines/usability-testing.md +516 -0
- package/expertise/design/disciplines/user-research.md +792 -0
- package/expertise/design/foundations/accessibility-design.md +796 -0
- package/expertise/design/foundations/color-theory.md +797 -0
- package/expertise/design/foundations/iconography.md +795 -0
- package/expertise/design/foundations/index.md +26 -0
- package/expertise/design/foundations/motion-and-animation.md +653 -0
- package/expertise/design/foundations/rtl-design.md +585 -0
- package/expertise/design/foundations/spacing-and-layout.md +607 -0
- package/expertise/design/foundations/typography.md +800 -0
- package/expertise/design/foundations/visual-hierarchy.md +761 -0
- package/expertise/design/index.md +32 -0
- package/expertise/design/patterns/authentication-flows.md +474 -0
- package/expertise/design/patterns/content-consumption.md +789 -0
- package/expertise/design/patterns/data-display.md +618 -0
- package/expertise/design/patterns/e-commerce.md +1494 -0
- package/expertise/design/patterns/feedback-and-states.md +642 -0
- package/expertise/design/patterns/forms-and-input.md +819 -0
- package/expertise/design/patterns/gamification.md +801 -0
- package/expertise/design/patterns/index.md +31 -0
- package/expertise/design/patterns/microinteractions.md +449 -0
- package/expertise/design/patterns/navigation.md +800 -0
- package/expertise/design/patterns/notifications.md +705 -0
- package/expertise/design/patterns/onboarding.md +700 -0
- package/expertise/design/patterns/search-and-filter.md +601 -0
- package/expertise/design/patterns/settings-and-preferences.md +768 -0
- package/expertise/design/patterns/social-and-community.md +748 -0
- package/expertise/design/platforms/desktop-native.md +612 -0
- package/expertise/design/platforms/index.md +25 -0
- package/expertise/design/platforms/mobile-android.md +825 -0
- package/expertise/design/platforms/mobile-cross-platform.md +983 -0
- package/expertise/design/platforms/mobile-ios.md +699 -0
- package/expertise/design/platforms/tablet.md +794 -0
- package/expertise/design/platforms/web-dashboard.md +790 -0
- package/expertise/design/platforms/web-responsive.md +550 -0
- package/expertise/design/psychology/behavioral-nudges.md +449 -0
- package/expertise/design/psychology/cognitive-load.md +1191 -0
- package/expertise/design/psychology/error-psychology.md +778 -0
- package/expertise/design/psychology/index.md +22 -0
- package/expertise/design/psychology/persuasive-design.md +736 -0
- package/expertise/design/psychology/user-mental-models.md +623 -0
- package/expertise/design/tooling/open-pencil.md +266 -0
- package/expertise/frontend/angular.md +1073 -0
- package/expertise/frontend/desktop-electron.md +546 -0
- package/expertise/frontend/flutter.md +782 -0
- package/expertise/frontend/index.md +27 -0
- package/expertise/frontend/native-android.md +409 -0
- package/expertise/frontend/native-ios.md +490 -0
- package/expertise/frontend/react-native.md +1160 -0
- package/expertise/frontend/react.md +808 -0
- package/expertise/frontend/vue.md +1089 -0
- package/expertise/humanize/domain-rules-code.md +79 -0
- package/expertise/humanize/domain-rules-content.md +67 -0
- package/expertise/humanize/domain-rules-technical-docs.md +56 -0
- package/expertise/humanize/index.md +35 -0
- package/expertise/humanize/self-audit-checklist.md +87 -0
- package/expertise/humanize/sentence-patterns.md +218 -0
- package/expertise/humanize/vocabulary-blacklist.md +105 -0
- package/expertise/i18n/PROGRESS.md +65 -0
- package/expertise/i18n/advanced/accessibility-and-i18n.md +28 -0
- package/expertise/i18n/advanced/bidirectional-text-algorithm.md +38 -0
- package/expertise/i18n/advanced/complex-scripts.md +30 -0
- package/expertise/i18n/advanced/performance-and-i18n.md +27 -0
- package/expertise/i18n/advanced/testing-i18n.md +28 -0
- package/expertise/i18n/content/content-adaptation.md +23 -0
- package/expertise/i18n/content/locale-specific-formatting.md +23 -0
- package/expertise/i18n/content/machine-translation-integration.md +28 -0
- package/expertise/i18n/content/translation-management.md +29 -0
- package/expertise/i18n/foundations/date-time-calendars.md +67 -0
- package/expertise/i18n/foundations/i18n-architecture.md +272 -0
- package/expertise/i18n/foundations/locale-and-language-tags.md +79 -0
- package/expertise/i18n/foundations/numbers-currency-units.md +61 -0
- package/expertise/i18n/foundations/pluralization-and-gender.md +109 -0
- package/expertise/i18n/foundations/string-externalization.md +236 -0
- package/expertise/i18n/foundations/text-direction-bidi.md +241 -0
- package/expertise/i18n/foundations/unicode-and-encoding.md +86 -0
- package/expertise/i18n/index.md +38 -0
- package/expertise/i18n/platform/backend-i18n.md +31 -0
- package/expertise/i18n/platform/flutter-i18n.md +148 -0
- package/expertise/i18n/platform/native-android-i18n.md +36 -0
- package/expertise/i18n/platform/native-ios-i18n.md +36 -0
- package/expertise/i18n/platform/react-i18n.md +103 -0
- package/expertise/i18n/platform/web-css-i18n.md +81 -0
- package/expertise/i18n/rtl/arabic-specific.md +175 -0
- package/expertise/i18n/rtl/hebrew-specific.md +149 -0
- package/expertise/i18n/rtl/rtl-animations-and-transitions.md +111 -0
- package/expertise/i18n/rtl/rtl-forms-and-input.md +161 -0
- package/expertise/i18n/rtl/rtl-fundamentals.md +211 -0
- package/expertise/i18n/rtl/rtl-icons-and-images.md +181 -0
- package/expertise/i18n/rtl/rtl-layout-mirroring.md +252 -0
- package/expertise/i18n/rtl/rtl-navigation-and-gestures.md +107 -0
- package/expertise/i18n/rtl/rtl-testing-and-qa.md +147 -0
- package/expertise/i18n/rtl/rtl-typography.md +160 -0
- package/expertise/index.md +113 -0
- package/expertise/index.yaml +216 -0
- package/expertise/infrastructure/cloud-aws.md +597 -0
- package/expertise/infrastructure/cloud-gcp.md +599 -0
- package/expertise/infrastructure/cybersecurity.md +816 -0
- package/expertise/infrastructure/database-mongodb.md +447 -0
- package/expertise/infrastructure/database-postgres.md +400 -0
- package/expertise/infrastructure/devops-cicd.md +787 -0
- package/expertise/infrastructure/index.md +27 -0
- package/expertise/performance/PROGRESS.md +50 -0
- package/expertise/performance/backend/api-latency.md +1204 -0
- package/expertise/performance/backend/background-jobs.md +506 -0
- package/expertise/performance/backend/connection-pooling.md +1209 -0
- package/expertise/performance/backend/database-query-optimization.md +515 -0
- package/expertise/performance/backend/index.md +23 -0
- package/expertise/performance/backend/rate-limiting-and-throttling.md +971 -0
- package/expertise/performance/foundations/algorithmic-complexity.md +954 -0
- package/expertise/performance/foundations/caching-strategies.md +489 -0
- package/expertise/performance/foundations/concurrency-and-parallelism.md +847 -0
- package/expertise/performance/foundations/index.md +24 -0
- package/expertise/performance/foundations/measuring-and-profiling.md +440 -0
- package/expertise/performance/foundations/memory-management.md +964 -0
- package/expertise/performance/foundations/performance-budgets.md +1314 -0
- package/expertise/performance/index.md +31 -0
- package/expertise/performance/infrastructure/auto-scaling.md +1059 -0
- package/expertise/performance/infrastructure/cdn-and-edge.md +1081 -0
- package/expertise/performance/infrastructure/index.md +22 -0
- package/expertise/performance/infrastructure/load-balancing.md +1081 -0
- package/expertise/performance/infrastructure/observability.md +1079 -0
- package/expertise/performance/mobile/index.md +23 -0
- package/expertise/performance/mobile/mobile-animations.md +544 -0
- package/expertise/performance/mobile/mobile-memory-battery.md +416 -0
- package/expertise/performance/mobile/mobile-network.md +452 -0
- package/expertise/performance/mobile/mobile-rendering.md +599 -0
- package/expertise/performance/mobile/mobile-startup-time.md +505 -0
- package/expertise/performance/platform-specific/flutter-performance.md +647 -0
- package/expertise/performance/platform-specific/index.md +22 -0
- package/expertise/performance/platform-specific/node-performance.md +1307 -0
- package/expertise/performance/platform-specific/postgres-performance.md +1366 -0
- package/expertise/performance/platform-specific/react-performance.md +1403 -0
- package/expertise/performance/web/bundle-optimization.md +1239 -0
- package/expertise/performance/web/image-and-media.md +636 -0
- package/expertise/performance/web/index.md +24 -0
- package/expertise/performance/web/network-optimization.md +1133 -0
- package/expertise/performance/web/rendering-performance.md +1098 -0
- package/expertise/performance/web/ssr-and-hydration.md +918 -0
- package/expertise/performance/web/web-vitals.md +1374 -0
- package/expertise/quality/accessibility.md +985 -0
- package/expertise/quality/evidence-based-verification.md +499 -0
- package/expertise/quality/index.md +24 -0
- package/expertise/quality/ml-model-audit.md +614 -0
- package/expertise/quality/performance.md +600 -0
- package/expertise/quality/testing-api.md +891 -0
- package/expertise/quality/testing-mobile.md +496 -0
- package/expertise/quality/testing-web.md +849 -0
- package/expertise/security/PROGRESS.md +54 -0
- package/expertise/security/agentic-identity.md +540 -0
- package/expertise/security/compliance-frameworks.md +601 -0
- package/expertise/security/data/data-encryption.md +364 -0
- package/expertise/security/data/data-privacy-gdpr.md +692 -0
- package/expertise/security/data/database-security.md +1171 -0
- package/expertise/security/data/index.md +22 -0
- package/expertise/security/data/pii-handling.md +531 -0
- package/expertise/security/foundations/authentication.md +1041 -0
- package/expertise/security/foundations/authorization.md +603 -0
- package/expertise/security/foundations/cryptography.md +1001 -0
- package/expertise/security/foundations/index.md +25 -0
- package/expertise/security/foundations/owasp-top-10.md +1354 -0
- package/expertise/security/foundations/secrets-management.md +1217 -0
- package/expertise/security/foundations/secure-sdlc.md +700 -0
- package/expertise/security/foundations/supply-chain-security.md +698 -0
- package/expertise/security/index.md +31 -0
- package/expertise/security/infrastructure/cloud-security-aws.md +1296 -0
- package/expertise/security/infrastructure/cloud-security-gcp.md +1376 -0
- package/expertise/security/infrastructure/container-security.md +721 -0
- package/expertise/security/infrastructure/incident-response.md +1295 -0
- package/expertise/security/infrastructure/index.md +24 -0
- package/expertise/security/infrastructure/logging-and-monitoring.md +1618 -0
- package/expertise/security/infrastructure/network-security.md +1337 -0
- package/expertise/security/mobile/index.md +23 -0
- package/expertise/security/mobile/mobile-android-security.md +1218 -0
- package/expertise/security/mobile/mobile-binary-protection.md +1229 -0
- package/expertise/security/mobile/mobile-data-storage.md +1265 -0
- package/expertise/security/mobile/mobile-ios-security.md +1401 -0
- package/expertise/security/mobile/mobile-network-security.md +1520 -0
- package/expertise/security/smart-contract-security.md +594 -0
- package/expertise/security/testing/index.md +22 -0
- package/expertise/security/testing/penetration-testing.md +1258 -0
- package/expertise/security/testing/security-code-review.md +1765 -0
- package/expertise/security/testing/threat-modeling.md +1074 -0
- package/expertise/security/testing/vulnerability-scanning.md +1062 -0
- package/expertise/security/web/api-security.md +586 -0
- package/expertise/security/web/cors-and-headers.md +433 -0
- package/expertise/security/web/csrf.md +562 -0
- package/expertise/security/web/file-upload.md +1477 -0
- package/expertise/security/web/index.md +25 -0
- package/expertise/security/web/injection.md +1375 -0
- package/expertise/security/web/session-management.md +1101 -0
- package/expertise/security/web/xss.md +1158 -0
- package/exports/README.md +17 -0
- package/exports/hosts/claude/.claude/agents/clarifier.md +42 -0
- package/exports/hosts/claude/.claude/agents/content-author.md +63 -0
- package/exports/hosts/claude/.claude/agents/designer.md +55 -0
- package/exports/hosts/claude/.claude/agents/executor.md +55 -0
- package/exports/hosts/claude/.claude/agents/learner.md +51 -0
- package/exports/hosts/claude/.claude/agents/planner.md +53 -0
- package/exports/hosts/claude/.claude/agents/researcher.md +43 -0
- package/exports/hosts/claude/.claude/agents/reviewer.md +54 -0
- package/exports/hosts/claude/.claude/agents/specifier.md +47 -0
- package/exports/hosts/claude/.claude/agents/verifier.md +71 -0
- package/exports/hosts/claude/.claude/commands/author.md +42 -0
- package/exports/hosts/claude/.claude/commands/clarify.md +38 -0
- package/exports/hosts/claude/.claude/commands/design-review.md +46 -0
- package/exports/hosts/claude/.claude/commands/design.md +44 -0
- package/exports/hosts/claude/.claude/commands/discover.md +37 -0
- package/exports/hosts/claude/.claude/commands/execute.md +48 -0
- package/exports/hosts/claude/.claude/commands/learn.md +38 -0
- package/exports/hosts/claude/.claude/commands/plan-review.md +42 -0
- package/exports/hosts/claude/.claude/commands/plan.md +39 -0
- package/exports/hosts/claude/.claude/commands/prepare-next.md +37 -0
- package/exports/hosts/claude/.claude/commands/review.md +40 -0
- package/exports/hosts/claude/.claude/commands/run-audit.md +41 -0
- package/exports/hosts/claude/.claude/commands/spec-challenge.md +41 -0
- package/exports/hosts/claude/.claude/commands/specify.md +38 -0
- package/exports/hosts/claude/.claude/commands/verify.md +37 -0
- package/exports/hosts/claude/.claude/settings.json +34 -0
- package/exports/hosts/claude/CLAUDE.md +19 -0
- package/exports/hosts/claude/export.manifest.json +38 -0
- package/exports/hosts/claude/host-package.json +67 -0
- package/exports/hosts/codex/AGENTS.md +19 -0
- package/exports/hosts/codex/export.manifest.json +38 -0
- package/exports/hosts/codex/host-package.json +41 -0
- package/exports/hosts/cursor/.cursor/hooks.json +16 -0
- package/exports/hosts/cursor/.cursor/rules/wazir-core.mdc +19 -0
- package/exports/hosts/cursor/export.manifest.json +38 -0
- package/exports/hosts/cursor/host-package.json +42 -0
- package/exports/hosts/gemini/GEMINI.md +19 -0
- package/exports/hosts/gemini/export.manifest.json +38 -0
- package/exports/hosts/gemini/host-package.json +41 -0
- package/hooks/README.md +18 -0
- package/hooks/definitions/loop_cap_guard.yaml +21 -0
- package/hooks/definitions/post_tool_capture.yaml +24 -0
- package/hooks/definitions/pre_compact_summary.yaml +19 -0
- package/hooks/definitions/pre_tool_capture_route.yaml +19 -0
- package/hooks/definitions/protected_path_write_guard.yaml +19 -0
- package/hooks/definitions/session_start.yaml +19 -0
- package/hooks/definitions/stop_handoff_harvest.yaml +20 -0
- package/hooks/loop-cap-guard +17 -0
- package/hooks/post-tool-lint +36 -0
- package/hooks/protected-path-write-guard +17 -0
- package/hooks/session-start +41 -0
- package/llms-full.txt +2355 -0
- package/llms.txt +43 -0
- package/package.json +79 -0
- package/roles/README.md +20 -0
- package/roles/clarifier.md +42 -0
- package/roles/content-author.md +63 -0
- package/roles/designer.md +55 -0
- package/roles/executor.md +55 -0
- package/roles/learner.md +51 -0
- package/roles/planner.md +53 -0
- package/roles/researcher.md +43 -0
- package/roles/reviewer.md +54 -0
- package/roles/specifier.md +47 -0
- package/roles/verifier.md +71 -0
- package/schemas/README.md +24 -0
- package/schemas/accepted-learning.schema.json +20 -0
- package/schemas/author-artifact.schema.json +156 -0
- package/schemas/clarification.schema.json +19 -0
- package/schemas/design-artifact.schema.json +80 -0
- package/schemas/docs-claim.schema.json +18 -0
- package/schemas/export-manifest.schema.json +20 -0
- package/schemas/hook.schema.json +67 -0
- package/schemas/host-export-package.schema.json +18 -0
- package/schemas/implementation-plan.schema.json +19 -0
- package/schemas/proposed-learning.schema.json +19 -0
- package/schemas/research.schema.json +18 -0
- package/schemas/review.schema.json +29 -0
- package/schemas/run-manifest.schema.json +18 -0
- package/schemas/spec-challenge.schema.json +18 -0
- package/schemas/spec.schema.json +20 -0
- package/schemas/usage.schema.json +102 -0
- package/schemas/verification-proof.schema.json +29 -0
- package/schemas/wazir-manifest.schema.json +173 -0
- package/skills/README.md +40 -0
- package/skills/brainstorming/SKILL.md +77 -0
- package/skills/debugging/SKILL.md +50 -0
- package/skills/design/SKILL.md +61 -0
- package/skills/dispatching-parallel-agents/SKILL.md +128 -0
- package/skills/executing-plans/SKILL.md +70 -0
- package/skills/finishing-a-development-branch/SKILL.md +169 -0
- package/skills/humanize/SKILL.md +123 -0
- package/skills/init-pipeline/SKILL.md +124 -0
- package/skills/prepare-next/SKILL.md +20 -0
- package/skills/receiving-code-review/SKILL.md +123 -0
- package/skills/requesting-code-review/SKILL.md +105 -0
- package/skills/requesting-code-review/code-reviewer.md +108 -0
- package/skills/run-audit/SKILL.md +197 -0
- package/skills/scan-project/SKILL.md +41 -0
- package/skills/self-audit/SKILL.md +153 -0
- package/skills/subagent-driven-development/SKILL.md +154 -0
- package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +26 -0
- package/skills/subagent-driven-development/implementer-prompt.md +102 -0
- package/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/skills/tdd/SKILL.md +23 -0
- package/skills/using-git-worktrees/SKILL.md +163 -0
- package/skills/using-skills/SKILL.md +95 -0
- package/skills/verification/SKILL.md +22 -0
- package/skills/wazir/SKILL.md +463 -0
- package/skills/writing-plans/SKILL.md +30 -0
- package/skills/writing-skills/SKILL.md +157 -0
- package/skills/writing-skills/anthropic-best-practices.md +122 -0
- package/skills/writing-skills/persuasion-principles.md +50 -0
- package/templates/README.md +20 -0
- package/templates/artifacts/README.md +10 -0
- package/templates/artifacts/accepted-learning.md +19 -0
- package/templates/artifacts/accepted-learning.template.json +12 -0
- package/templates/artifacts/author.md +74 -0
- package/templates/artifacts/author.template.json +19 -0
- package/templates/artifacts/clarification.md +21 -0
- package/templates/artifacts/clarification.template.json +12 -0
- package/templates/artifacts/execute-notes.md +19 -0
- package/templates/artifacts/implementation-plan.md +21 -0
- package/templates/artifacts/implementation-plan.template.json +11 -0
- package/templates/artifacts/learning-proposal.md +19 -0
- package/templates/artifacts/next-run-handoff.md +21 -0
- package/templates/artifacts/plan-review.md +19 -0
- package/templates/artifacts/proposed-learning.template.json +12 -0
- package/templates/artifacts/research.md +21 -0
- package/templates/artifacts/research.template.json +12 -0
- package/templates/artifacts/review-findings.md +19 -0
- package/templates/artifacts/review.template.json +11 -0
- package/templates/artifacts/run-manifest.template.json +8 -0
- package/templates/artifacts/spec-challenge.md +19 -0
- package/templates/artifacts/spec-challenge.template.json +11 -0
- package/templates/artifacts/spec.md +21 -0
- package/templates/artifacts/spec.template.json +12 -0
- package/templates/artifacts/verification-proof.md +19 -0
- package/templates/artifacts/verification-proof.template.json +11 -0
- package/templates/examples/accepted-learning.example.json +14 -0
- package/templates/examples/author.example.json +152 -0
- package/templates/examples/clarification.example.json +15 -0
- package/templates/examples/docs-claim.example.json +8 -0
- package/templates/examples/export-manifest.example.json +7 -0
- package/templates/examples/host-export-package.example.json +11 -0
- package/templates/examples/implementation-plan.example.json +17 -0
- package/templates/examples/proposed-learning.example.json +13 -0
- package/templates/examples/research.example.json +15 -0
- package/templates/examples/research.example.md +6 -0
- package/templates/examples/review.example.json +17 -0
- package/templates/examples/run-manifest.example.json +9 -0
- package/templates/examples/spec-challenge.example.json +14 -0
- package/templates/examples/spec.example.json +21 -0
- package/templates/examples/verification-proof.example.json +21 -0
- package/templates/examples/wazir-manifest.example.yaml +65 -0
- package/templates/task-definition-schema.md +99 -0
- package/tooling/README.md +20 -0
- package/tooling/src/adapters/context-mode.js +50 -0
- package/tooling/src/capture/command.js +376 -0
- package/tooling/src/capture/store.js +99 -0
- package/tooling/src/capture/usage.js +270 -0
- package/tooling/src/checks/branches.js +50 -0
- package/tooling/src/checks/brand-truth.js +110 -0
- package/tooling/src/checks/changelog.js +231 -0
- package/tooling/src/checks/command-registry.js +36 -0
- package/tooling/src/checks/commits.js +102 -0
- package/tooling/src/checks/docs-drift.js +103 -0
- package/tooling/src/checks/docs-truth.js +201 -0
- package/tooling/src/checks/runtime-surface.js +156 -0
- package/tooling/src/cli.js +116 -0
- package/tooling/src/command-options.js +56 -0
- package/tooling/src/commands/validate.js +320 -0
- package/tooling/src/doctor/command.js +91 -0
- package/tooling/src/export/command.js +77 -0
- package/tooling/src/export/compiler.js +498 -0
- package/tooling/src/guards/loop-cap-guard.js +52 -0
- package/tooling/src/guards/protected-path-write-guard.js +67 -0
- package/tooling/src/index/command.js +152 -0
- package/tooling/src/index/storage.js +1061 -0
- package/tooling/src/index/summarizers.js +261 -0
- package/tooling/src/loaders.js +18 -0
- package/tooling/src/project-root.js +22 -0
- package/tooling/src/recall/command.js +225 -0
- package/tooling/src/schema-validator.js +30 -0
- package/tooling/src/state-root.js +40 -0
- package/tooling/src/status/command.js +71 -0
- package/wazir.manifest.yaml +135 -0
- package/workflows/README.md +19 -0
- package/workflows/author.md +42 -0
- package/workflows/clarify.md +38 -0
- package/workflows/design-review.md +46 -0
- package/workflows/design.md +44 -0
- package/workflows/discover.md +37 -0
- package/workflows/execute.md +48 -0
- package/workflows/learn.md +38 -0
- package/workflows/plan-review.md +42 -0
- package/workflows/plan.md +39 -0
- package/workflows/prepare-next.md +37 -0
- package/workflows/review.md +40 -0
- package/workflows/run-audit.md +41 -0
- package/workflows/spec-challenge.md +41 -0
- package/workflows/specify.md +38 -0
- package/workflows/verify.md +37 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Hooks Reference
|
|
2
|
+
|
|
3
|
+
Wazir defines canonical hook contracts in `hooks/definitions/*.yaml`.
|
|
4
|
+
|
|
5
|
+
These hook definitions are product contracts first. Host-specific native hooks or wrapper commands must preserve the same behavior.
|
|
6
|
+
|
|
7
|
+
## Canonical hook roster
|
|
8
|
+
|
|
9
|
+
| Hook ID | Purpose | Failure mode |
|
|
10
|
+
| --- | --- | --- |
|
|
11
|
+
| `session_start` | Initialize run-local status capture and bootstrap summaries | capture |
|
|
12
|
+
| `pre_tool_capture_route` | Route large tool output away from model context | warn |
|
|
13
|
+
| `post_tool_capture` | Append tool execution events and captured output metadata | capture |
|
|
14
|
+
| `pre_compact_summary` | Summarize captured state before compaction or handoff | warn |
|
|
15
|
+
| `stop_handoff_harvest` | Persist final handoff and stop-time observability data | capture |
|
|
16
|
+
| `protected_path_write_guard` | Block writes to protected canonical paths outside approved flows | block |
|
|
17
|
+
| `loop_cap_guard` | Block extra iterations after the configured loop cap | block |
|
|
18
|
+
|
|
19
|
+
## Source of truth
|
|
20
|
+
|
|
21
|
+
- hook contracts: `hooks/definitions/*.yaml`
|
|
22
|
+
- schema: `schemas/hook.schema.json`
|
|
23
|
+
- required hook roster: `wazir.manifest.yaml`
|
|
24
|
+
- validation command: `wazir validate hooks`
|
|
25
|
+
|
|
26
|
+
## Host fallback policy
|
|
27
|
+
|
|
28
|
+
Every canonical hook definition includes `host_fallback` guidance for:
|
|
29
|
+
|
|
30
|
+
- Claude
|
|
31
|
+
- Codex
|
|
32
|
+
- Gemini
|
|
33
|
+
- Cursor
|
|
34
|
+
|
|
35
|
+
Fallbacks may be native hooks or wrapper commands, but they must preserve:
|
|
36
|
+
|
|
37
|
+
- the same trigger intent
|
|
38
|
+
- the same protected-path policy
|
|
39
|
+
- the same loop-cap policy
|
|
40
|
+
- the same observable outputs or an explicitly documented equivalent
|
|
41
|
+
|
|
42
|
+
## Current implementation status
|
|
43
|
+
|
|
44
|
+
Implemented now:
|
|
45
|
+
|
|
46
|
+
- canonical hook definitions and schema validation
|
|
47
|
+
- manifest-level required hook roster
|
|
48
|
+
- CLI validation through `wazir validate hooks`
|
|
49
|
+
- capture/status file writers through:
|
|
50
|
+
- `wazir capture init`
|
|
51
|
+
- `wazir capture event`
|
|
52
|
+
- `wazir capture route`
|
|
53
|
+
- `wazir capture output`
|
|
54
|
+
- `wazir capture summary`
|
|
55
|
+
- wrapper guard scripts:
|
|
56
|
+
- `hooks/protected-path-write-guard`
|
|
57
|
+
- `hooks/loop-cap-guard`
|
|
58
|
+
- session-start CLI bootstrap script (`hooks/session-start`) emitting `<cli-bootstrap-guidance>` for doctor, index, and run recovery
|
|
59
|
+
|
|
60
|
+
Planned next:
|
|
61
|
+
|
|
62
|
+
- wrapper/native execution helpers
|
|
63
|
+
|
|
64
|
+
## CLI bootstrap
|
|
65
|
+
|
|
66
|
+
The `session_start` hook emits a `<cli-bootstrap-guidance>` block alongside the skill bootstrap text. This block guides agents through a 3-step CLI bootstrap sequence at the start of every session:
|
|
67
|
+
|
|
68
|
+
1. **Doctor check** -- run `wazir doctor` to validate the repo surface (manifest, hooks, state-root, exports)
|
|
69
|
+
2. **Index refresh** -- run `wazir index refresh` (or `index build` if no index exists) to ensure the local index is current
|
|
70
|
+
3. **Run recovery** -- check `<state-root>/runs/latest` for a prior run ID; resume it or start a new run via `capture init`
|
|
71
|
+
|
|
72
|
+
The `session_start.yaml` output contract produces `cli_bootstrap_guidance` alongside `skill_bootstrap_text`. Both are injected into the agent's initial context.
|
|
73
|
+
|
|
74
|
+
The bootstrap sequence is advisory -- it guides the agent but does not enforce execution order. The session-start hook always exits 0 to avoid blocking session startup.
|
|
75
|
+
|
|
76
|
+
## Guardrail note
|
|
77
|
+
|
|
78
|
+
Hook definitions are the authoritative product contracts. The canonical definitions above take precedence over any other hook documentation.
|
|
79
|
+
|
|
80
|
+
## Current guard exit codes
|
|
81
|
+
|
|
82
|
+
- `hooks/protected-path-write-guard`
|
|
83
|
+
- `0` allow
|
|
84
|
+
- `42` block
|
|
85
|
+
- `hooks/loop-cap-guard`
|
|
86
|
+
- `0` allow
|
|
87
|
+
- `43` block
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Host Exports
|
|
2
|
+
|
|
3
|
+
Wazir now includes a canonical export compiler for host packages under:
|
|
4
|
+
|
|
5
|
+
- `exports/hosts/claude/`
|
|
6
|
+
- `exports/hosts/codex/`
|
|
7
|
+
- `exports/hosts/gemini/`
|
|
8
|
+
- `exports/hosts/cursor/`
|
|
9
|
+
|
|
10
|
+
## Current commands
|
|
11
|
+
|
|
12
|
+
- `wazir export build`
|
|
13
|
+
- `wazir export --check`
|
|
14
|
+
|
|
15
|
+
## What `build` does
|
|
16
|
+
|
|
17
|
+
The compiler currently:
|
|
18
|
+
|
|
19
|
+
- validates the manifest
|
|
20
|
+
- validates canonical hook definitions
|
|
21
|
+
- reads canonical role files
|
|
22
|
+
- reads canonical workflow files
|
|
23
|
+
- writes host-specific package files under `exports/hosts/*`
|
|
24
|
+
- writes `host-package.json`
|
|
25
|
+
- writes `export.manifest.json`
|
|
26
|
+
- records source hashes for drift detection
|
|
27
|
+
|
|
28
|
+
## What `--check` does
|
|
29
|
+
|
|
30
|
+
The drift check:
|
|
31
|
+
|
|
32
|
+
- verifies the generated package metadata exists for every host
|
|
33
|
+
- verifies the listed generated files still exist
|
|
34
|
+
- compares current source hashes against each host export manifest
|
|
35
|
+
- fails non-zero when canonical sources changed after the last export
|
|
36
|
+
|
|
37
|
+
## Current host package shapes
|
|
38
|
+
|
|
39
|
+
Current generated highlights:
|
|
40
|
+
|
|
41
|
+
- Claude: `CLAUDE.md`, `.claude/settings.json`, `.claude/agents/*`, `.claude/commands/*`
|
|
42
|
+
- Codex: `AGENTS.md`
|
|
43
|
+
- Gemini: `GEMINI.md`
|
|
44
|
+
- Cursor: `.cursor/rules/wazir-core.mdc`, `.cursor/hooks.json`
|
|
45
|
+
|
|
46
|
+
## Scope note
|
|
47
|
+
|
|
48
|
+
The compiler generates the canonical host packages under `exports/hosts/*`.
|
|
49
|
+
|
|
50
|
+
The only root host bootstrap retained is `.claude/settings.json`, which mirrors the generated Claude settings contract.
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
# Discovery and Launch Checklist
|
|
2
|
+
|
|
3
|
+
End-to-end checklist for launching a Wazir release into the wild.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Pre-Launch Verification
|
|
8
|
+
|
|
9
|
+
Complete these before any public announcement:
|
|
10
|
+
|
|
11
|
+
- [ ] **npx works:** Run `npx @wazir-dev/cli --version` from a clean machine (no local clone).
|
|
12
|
+
- [ ] **GitHub Release exists:** A tagged release with release notes is published on the repo.
|
|
13
|
+
- [ ] **README polished:** README.md has clear install instructions, feature summary, and badges (npm version, license, CI status).
|
|
14
|
+
- [ ] **CHANGELOG updated:** Latest version entry is present with all notable changes.
|
|
15
|
+
- [ ] **CI green:** All tests and linting pass on the main branch.
|
|
16
|
+
- [ ] **Marketplace configs published:** All automated channels from the marketplace listings guide are live (Claude Code Plugin).
|
|
17
|
+
- [ ] **Host exports current:** `exports/hosts/` directories contain the latest generated configs for all supported hosts.
|
|
18
|
+
- [ ] **License file present:** `LICENSE` matches the declared license in `package.json`.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 2. Awesome List Submissions
|
|
23
|
+
|
|
24
|
+
Submit pull requests to these curated lists (one PR per list, follow each repo's contributing guidelines):
|
|
25
|
+
|
|
26
|
+
### awesome-claude-code
|
|
27
|
+
- **Repo:** `github.com/anthropics/awesome-claude-code` (or the most-starred community fork)
|
|
28
|
+
- **Section:** Tools / Plugins / Extensions
|
|
29
|
+
- **Entry format:** `[Wazir](https://github.com/MohamedAbdallah-14/Wazir) - Host-native engineering OS kit with 10 roles, 14 phases, and 308 expertise modules.`
|
|
30
|
+
- **Tips:** Keep the description under 120 characters. Link directly to the repo.
|
|
31
|
+
|
|
32
|
+
### awesome-ai-agents
|
|
33
|
+
- **Repo:** `github.com/e2b-dev/awesome-ai-agents`
|
|
34
|
+
- **Section:** Developer Tools / Coding Agents
|
|
35
|
+
- **Entry format:** Follow the existing table format in the README.
|
|
36
|
+
|
|
37
|
+
### awesome-llm-apps
|
|
38
|
+
- **Repo:** `github.com/Shubhamsaboo/awesome-llm-apps`
|
|
39
|
+
- **Section:** Developer Tools
|
|
40
|
+
- **Entry format:** Follow the existing list format.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 3. Hacker News "Show HN"
|
|
45
|
+
|
|
46
|
+
### Timing
|
|
47
|
+
- **Best days:** Tuesday through Thursday
|
|
48
|
+
- **Best time:** 8:00-9:00 AM ET (when the US East Coast audience is waking up)
|
|
49
|
+
- **Avoid:** Weekends, holidays, and days with major tech news
|
|
50
|
+
|
|
51
|
+
### Title format
|
|
52
|
+
```
|
|
53
|
+
Show HN: Wazir – Engineering OS kit for AI coding agents (Claude, Codex, Gemini, Cursor)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### First comment
|
|
57
|
+
Post a comment immediately after submission explaining:
|
|
58
|
+
1. What problem Wazir solves (AI agents lack structured engineering workflows)
|
|
59
|
+
2. How it works (10 canonical roles, 14-phase pipeline, 308 expertise modules)
|
|
60
|
+
3. What makes it different (host-native, works across Claude/Codex/Gemini/Cursor)
|
|
61
|
+
4. Quick install: `npx @wazir-dev/cli init`
|
|
62
|
+
5. Invite feedback -- HN readers appreciate genuine requests for input
|
|
63
|
+
|
|
64
|
+
### Guidelines
|
|
65
|
+
- Do not ask for upvotes (against HN rules).
|
|
66
|
+
- Respond to every comment within the first 2 hours.
|
|
67
|
+
- Be honest about limitations and what is not yet built.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 4. Dev.to Technical Post
|
|
72
|
+
|
|
73
|
+
### Suggested outline
|
|
74
|
+
|
|
75
|
+
**Title:** "How I Built an Engineering OS for AI Coding Agents"
|
|
76
|
+
|
|
77
|
+
1. **Hook** -- The problem: AI agents write code but lack engineering discipline.
|
|
78
|
+
2. **Architecture overview** -- 10 roles, 14 phases, expertise modules, quality gates.
|
|
79
|
+
3. **Code walkthrough** -- Show a real workflow: how a feature moves from requirements through TDD to deployment.
|
|
80
|
+
4. **Host-native approach** -- Explain why one kit works across Claude, Codex, Gemini, and Cursor.
|
|
81
|
+
5. **Results** -- Concrete metrics or before/after comparisons.
|
|
82
|
+
6. **Getting started** -- `npx @wazir-dev/cli init` with a 3-step quickstart.
|
|
83
|
+
7. **Call to action** -- Star the repo, try it, file issues.
|
|
84
|
+
|
|
85
|
+
### Tags
|
|
86
|
+
`ai`, `productivity`, `devtools`, `opensource`
|
|
87
|
+
|
|
88
|
+
### Tips
|
|
89
|
+
- Include at least one diagram or screenshot.
|
|
90
|
+
- Cross-post to your blog if you have one (Dev.to supports canonical URLs).
|
|
91
|
+
- Respond to all comments within 24 hours.
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## 5. Social Media
|
|
96
|
+
|
|
97
|
+
### Twitter / X Thread
|
|
98
|
+
|
|
99
|
+
Structure as a 5-7 tweet thread:
|
|
100
|
+
|
|
101
|
+
1. **Hook tweet:** One-liner about the problem + link to repo.
|
|
102
|
+
2. **What it is:** Brief description of Wazir.
|
|
103
|
+
3. **Architecture:** 10 roles, 14 phases, 308 modules (include a diagram image).
|
|
104
|
+
4. **Demo:** Short GIF or screenshot of a workflow in action.
|
|
105
|
+
5. **Multi-host:** Works with Claude, Codex, Gemini, and Cursor.
|
|
106
|
+
6. **Install:** `npx @wazir-dev/cli init`
|
|
107
|
+
7. **Ask:** "What workflows would you add?" -- invite engagement.
|
|
108
|
+
|
|
109
|
+
**Timing:** Post between 9-11 AM ET on weekdays.
|
|
110
|
+
|
|
111
|
+
### LinkedIn
|
|
112
|
+
|
|
113
|
+
- Write a single long-form post (not a thread).
|
|
114
|
+
- Lead with the problem, not the product.
|
|
115
|
+
- Include 3-5 bullet points on key features.
|
|
116
|
+
- End with the install command and repo link.
|
|
117
|
+
- Tag relevant people and companies (Anthropic, OpenAI, Google DeepMind).
|
|
118
|
+
|
|
119
|
+
### Reddit
|
|
120
|
+
|
|
121
|
+
Submit to these subreddits (read each sub's rules first):
|
|
122
|
+
|
|
123
|
+
| Subreddit | Post type | Notes |
|
|
124
|
+
|-----------|-----------|-------|
|
|
125
|
+
| r/ClaudeAI | Link post | Flair as "Tool/Resource" if available |
|
|
126
|
+
| r/LocalLLaMA | Text post | Emphasize the open-source, host-agnostic angle |
|
|
127
|
+
| r/programming | Link post | Focus on engineering discipline, not AI hype |
|
|
128
|
+
| r/devtools | Link post | Emphasize developer productivity |
|
|
129
|
+
|
|
130
|
+
**Reddit guidelines:**
|
|
131
|
+
- Do not post to multiple subreddits on the same day (looks spammy).
|
|
132
|
+
- Space posts 1-2 days apart.
|
|
133
|
+
- Engage genuinely with all comments.
|
|
134
|
+
- Do not use marketing language -- be technical and direct.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 6. Metrics to Track
|
|
139
|
+
|
|
140
|
+
Monitor these metrics weekly for the first month, then monthly:
|
|
141
|
+
|
|
142
|
+
### GitHub
|
|
143
|
+
- **Stars:** Track weekly growth rate, not just total.
|
|
144
|
+
- **Forks:** Indicator of serious users exploring the code.
|
|
145
|
+
- **Issues opened:** Both bugs and feature requests signal engagement.
|
|
146
|
+
- **Pull requests:** External PRs indicate community adoption.
|
|
147
|
+
- **Clones and traffic:** Available in the repo Insights tab.
|
|
148
|
+
|
|
149
|
+
### npm
|
|
150
|
+
- **Weekly downloads:** Available at `npmjs.com/package/@wazir-dev/cli`.
|
|
151
|
+
- **Download trend:** Use `npm-stat.com` for historical charts.
|
|
152
|
+
- **Dependent packages:** Other packages that list Wazir as a dependency.
|
|
153
|
+
|
|
154
|
+
### Marketplace
|
|
155
|
+
- **Claude Code Plugin installs:** Check plugin analytics if available.
|
|
156
|
+
- **MCP Registry page views:** Monitor via registry dashboard.
|
|
157
|
+
- **Cursor Marketplace installs:** Available in the Cursor publisher dashboard.
|
|
158
|
+
|
|
159
|
+
### Content
|
|
160
|
+
- **HN points and comments:** Track within 24 hours of posting.
|
|
161
|
+
- **Dev.to views, reactions, and comments:** Track within 1 week.
|
|
162
|
+
- **Twitter impressions and engagement:** Track within 48 hours.
|
|
163
|
+
- **Reddit upvotes and comments:** Track within 48 hours per subreddit.
|
|
164
|
+
|
|
165
|
+
### Success benchmarks (first 30 days)
|
|
166
|
+
| Metric | Target |
|
|
167
|
+
|--------|--------|
|
|
168
|
+
| GitHub stars | 100+ |
|
|
169
|
+
| npm weekly downloads | 50+ |
|
|
170
|
+
| Issues opened (external) | 10+ |
|
|
171
|
+
| External PRs | 2+ |
|
|
172
|
+
| HN points | 50+ |
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Marketplace Listings Guide
|
|
2
|
+
|
|
3
|
+
This guide covers every distribution channel for Wazir.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Install Methods
|
|
8
|
+
|
|
9
|
+
### npm (primary)
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx @wazir-dev/cli --help # run directly
|
|
13
|
+
npm install -g @wazir-dev/cli # or install globally
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
- **Package:** [`@wazir-dev/cli`](https://www.npmjs.com/package/@wazir-dev/cli)
|
|
17
|
+
|
|
18
|
+
### Homebrew (macOS)
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
brew tap MohamedAbdallah-14/Wazir
|
|
22
|
+
brew install wazir
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
- **Tap repo:** [`homebrew-wazir`](https://github.com/MohamedAbdallah-14/homebrew-wazir)
|
|
26
|
+
- **Formula source:** `homebrew/wazir.rb` in this repo
|
|
27
|
+
|
|
28
|
+
### Claude Code Plugin
|
|
29
|
+
|
|
30
|
+
Wazir ships as a Claude Code plugin. Users install in two steps:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
# In Claude Code:
|
|
34
|
+
/plugin marketplace add MohamedAbdallah-14/Wazir
|
|
35
|
+
/plugin install wazir
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
- **Marketplace config:** `.claude-plugin/marketplace.json`
|
|
39
|
+
- **Plugin manifest:** `.claude-plugin/plugin.json`
|
|
40
|
+
- **Docs:** [Claude Code plugin marketplaces](https://code.claude.com/docs/en/plugin-marketplaces)
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Host Exports
|
|
45
|
+
|
|
46
|
+
Wazir generates host-native packages for each AI coding agent. After cloning and running `npx wazir export build`, deploy to your project:
|
|
47
|
+
|
|
48
|
+
| Host | Deploy command |
|
|
49
|
+
|------|---------------|
|
|
50
|
+
| **Claude** | `cp -r exports/hosts/claude/.claude ~/your-project/ && cp exports/hosts/claude/CLAUDE.md ~/your-project/` |
|
|
51
|
+
| **Codex** | `cp exports/hosts/codex/AGENTS.md ~/your-project/` |
|
|
52
|
+
| **Gemini** | `cp exports/hosts/gemini/GEMINI.md ~/your-project/` |
|
|
53
|
+
| **Cursor** | `cp -r exports/hosts/cursor/.cursor ~/your-project/` |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## MCP Registry
|
|
58
|
+
|
|
59
|
+
Wazir is listed in the MCP Registry as a metadata entry.
|
|
60
|
+
|
|
61
|
+
- **Config file:** `server.json` (repo root)
|
|
62
|
+
- **Schema:** `https://registry.modelcontextprotocol.io/schema/server.json`
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Post-Publish Checklist
|
|
67
|
+
|
|
68
|
+
Run through this checklist after every `npm publish`:
|
|
69
|
+
|
|
70
|
+
- [ ] **npm:** Confirm package is live at `https://www.npmjs.com/package/@wazir-dev/cli`
|
|
71
|
+
- [ ] **npx smoke test:** Run `npx @wazir-dev/cli --help` from a clean environment
|
|
72
|
+
- [ ] **Claude Code Plugin:** Run `/plugin marketplace add MohamedAbdallah-14/Wazir` then `/plugin install wazir`
|
|
73
|
+
- [ ] **GitHub Release:** Ensure a GitHub Release exists with tag matching the npm version
|
|
74
|
+
- [ ] **Homebrew:** Update SHA256 in `homebrew/wazir.rb` and push to `homebrew-wazir` tap repo
|
|
75
|
+
- [ ] **Host exports:** Run `npx wazir export --check` to verify no drift
|
|
76
|
+
- [ ] **CHANGELOG:** Verify `CHANGELOG.md` is updated with the new version entry
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Release Process
|
|
2
|
+
|
|
3
|
+
## Tag Naming
|
|
4
|
+
|
|
5
|
+
Wazir uses semantic versioning: `v{MAJOR}.{MINOR}.{PATCH}`
|
|
6
|
+
|
|
7
|
+
Legacy tags (V5.1, V6.x, etc.) are historical artifacts and are ignored by validators.
|
|
8
|
+
|
|
9
|
+
## Release Workflow
|
|
10
|
+
|
|
11
|
+
1. Create `release/<version>` branch from `develop`
|
|
12
|
+
2. Update `CHANGELOG.md`: move `[Unreleased]` entries to `[<version>] - YYYY-MM-DD`
|
|
13
|
+
3. Add a fresh empty `[Unreleased]` section at the top
|
|
14
|
+
4. Update version in `wazir.manifest.yaml` and `package.json`
|
|
15
|
+
5. Commit: `chore: prepare release <version>`
|
|
16
|
+
6. Merge to `main` with `--no-ff`
|
|
17
|
+
7. Tag: `git tag -a v<version> -m "v<version>"`
|
|
18
|
+
8. Merge `main` back to `develop` with `--no-ff`
|
|
19
|
+
9. Delete the release branch
|
|
20
|
+
|
|
21
|
+
## Hotfix Workflow
|
|
22
|
+
|
|
23
|
+
1. Create `hotfix/<slug>` branch from `main`
|
|
24
|
+
2. Fix the issue with conventional commits
|
|
25
|
+
3. Update `CHANGELOG.md` with the fix under `[Unreleased]`
|
|
26
|
+
4. Follow the same merge/tag/merge-back pattern as releases
|
|
27
|
+
5. Delete the hotfix branch
|
|
28
|
+
|
|
29
|
+
## Bootstrap (First Wazir Release)
|
|
30
|
+
|
|
31
|
+
When no Wazir release tag exists yet:
|
|
32
|
+
- Diff-aware changelog validation diffs against the initial commit or `develop` creation point
|
|
33
|
+
- Legacy tags are not considered release boundaries
|
|
34
|
+
- The first release tag will be `v1.0.0` (or `v0.1.0` if pre-stable)
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Roles Reference
|
|
2
|
+
|
|
3
|
+
This is the lookup reference for canonical roles, workflows, and their contracts.
|
|
4
|
+
|
|
5
|
+
## Canonical roles
|
|
6
|
+
|
|
7
|
+
| Role | Purpose |
|
|
8
|
+
|------|---------|
|
|
9
|
+
| `clarifier` | Resolves ambiguity before spec production |
|
|
10
|
+
| `researcher` | Gathers source-backed findings and prior art |
|
|
11
|
+
| `specifier` | Produces measurable specs with acceptance criteria |
|
|
12
|
+
| `content-author` | Produces finalized i18n keys, microcopy, glossary, state coverage, and accessibility copy |
|
|
13
|
+
| `designer` | Transforms approved spec into visual designs using open-pencil MCP tools. Produces `.fig` files, exported code scaffolds, and design tokens |
|
|
14
|
+
| `planner` | Creates implementation plans from approved spec and designs |
|
|
15
|
+
| `executor` | Implements the plan (orchestrator "Dev" phase) |
|
|
16
|
+
| `verifier` | QA hard gate — always mandatory (orchestrator "QA" phase) |
|
|
17
|
+
| `reviewer` | Adversarial quality review (orchestrator "Reviewer" phase) |
|
|
18
|
+
| `learner` | Captures scoped learnings for future runs |
|
|
19
|
+
|
|
20
|
+
## Canonical workflows
|
|
21
|
+
|
|
22
|
+
| Workflow | Runs after | Description |
|
|
23
|
+
|----------|-----------|-------------|
|
|
24
|
+
| `clarify` | — | Resolve ambiguity |
|
|
25
|
+
| `discover` | `clarify` | Gather research |
|
|
26
|
+
| `specify` | `discover` | Produce spec |
|
|
27
|
+
| `spec-challenge` | `specify` | Adversarial spec review |
|
|
28
|
+
| `author` | `spec-challenge` | Content authoring |
|
|
29
|
+
| `design` | `author` | Visual design from approved spec |
|
|
30
|
+
| `design-review` | `design` | Validate designs against spec, accessibility, visual consistency |
|
|
31
|
+
| `plan` | `design-review` | Create implementation plan |
|
|
32
|
+
| `plan-review` | `plan` | Adversarial plan review |
|
|
33
|
+
| `execute` | `plan-review` | Implement the plan |
|
|
34
|
+
| `verify` | `execute` | QA hard gate |
|
|
35
|
+
| `review` | `verify` | Adversarial quality review |
|
|
36
|
+
| `learn` | `review` | Capture scoped learnings |
|
|
37
|
+
| `prepare-next` | `learn` | Produce clean next-run handoff |
|
|
38
|
+
|
|
39
|
+
## Role routing valid values
|
|
40
|
+
|
|
41
|
+
- `executor` — implements the task (orchestrator "Dev" phase)
|
|
42
|
+
- `reviewer` — adversarial quality review (orchestrator "Reviewer" phase)
|
|
43
|
+
- `verifier` — QA hard gate, always mandatory (orchestrator "QA" phase)
|
|
44
|
+
|
|
45
|
+
## Contract source files
|
|
46
|
+
|
|
47
|
+
- Role contracts: `roles/<role-name>.md`
|
|
48
|
+
- Workflow entrypoints: `workflows/<workflow-name>.md`
|
|
49
|
+
- Manifest roster: `wazir.manifest.yaml`
|
|
50
|
+
|
|
51
|
+
For conceptual understanding of how roles and workflows interact, see [Roles and Workflows concepts](../concepts/roles-and-workflows.md).
|
|
52
|
+
|
|
53
|
+
## Context retrieval defaults
|
|
54
|
+
|
|
55
|
+
Every role contract includes a `## Context retrieval` section specifying the default recall tier and fallback strategy. Agents should consult the individual role contracts for full details.
|
|
56
|
+
|
|
57
|
+
| Role | Default tier | Strategy | Fallback |
|
|
58
|
+
|------|-------------|----------|----------|
|
|
59
|
+
| `learner` | L0 | Inventory scan via `recall --tier L0` | L0 fails -> try L1 -> L1 fails -> direct file read |
|
|
60
|
+
| `clarifier` | L1 | Structural summaries via `recall --tier L1` | If recall fails, fall back to direct file reads |
|
|
61
|
+
| `researcher` | L1 | Structural summaries via `recall --tier L1` | If recall fails, fall back to direct file reads |
|
|
62
|
+
| `specifier` | L1 | Structural summaries via `recall --tier L1` | If recall fails, fall back to direct file reads |
|
|
63
|
+
| `content-author` | L1 | Structural summaries via `recall --tier L1` | If recall fails, fall back to direct file reads |
|
|
64
|
+
| `designer` | L1 | Structural summaries via `recall --tier L1` | If recall fails, fall back to direct file reads |
|
|
65
|
+
| `planner` | L1 | Structural summaries via `recall --tier L1` | If recall fails, fall back to direct file reads |
|
|
66
|
+
| `executor` | Direct read | Full source via `Read` tool or `recall file` (L2) | If index search fails, use grep or file-tree exploration |
|
|
67
|
+
| `verifier` | Direct read | Full source via `Read` tool or `recall file` (L2) | If index search fails, use grep or file-tree exploration |
|
|
68
|
+
| `reviewer` | L1 + escalation | Start with `recall --tier L1`; escalate to direct read for logic errors, security, or ambiguous summaries | If recall fails, fall back to direct file reads |
|
|
69
|
+
|
|
70
|
+
**Tier token budgets:**
|
|
71
|
+
- L0: ~100 tokens (one-line identifier summary)
|
|
72
|
+
- L1: ~500-2k tokens (structural summary)
|
|
73
|
+
- L2/Direct: full source content
|
|
74
|
+
|
|
75
|
+
Roles that explore broadly (clarifier, researcher, planner) benefit most from L1 summaries. Roles that need exact source (executor, verifier) use direct reads. The reviewer uses L1 as a triage pass before targeted deep reads.
|
|
76
|
+
|
|
77
|
+
See [Indexing and Recall](../concepts/indexing-and-recall.md) for full details on tiers and commands.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Skills
|
|
2
|
+
|
|
3
|
+
Wazir uses skills as reusable in-host procedures.
|
|
4
|
+
|
|
5
|
+
The active thesis is:
|
|
6
|
+
|
|
7
|
+
- use Wazir inside your AI host
|
|
8
|
+
- keep the operating model in canonical repo skills
|
|
9
|
+
|
|
10
|
+
## Active Skills
|
|
11
|
+
|
|
12
|
+
These skills remain on the active surface:
|
|
13
|
+
|
|
14
|
+
| Skill | Purpose |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| `wz:using-skills` | Ensures skill discovery happens before work starts |
|
|
17
|
+
| `wz:brainstorming` | Turns briefings into approved designs before implementation |
|
|
18
|
+
| `scan-project` | Builds a project profile from the repo and `input/`, with index build/refresh and `index stats` in the profile output |
|
|
19
|
+
| `wz:writing-plans` | Produces execution-grade implementation plans |
|
|
20
|
+
| `wz:debugging` | Runs a disciplined observe-hypothesize-test-fix loop with symbol-first exploration (index search-symbols, recall L1) in the OBSERVE phase |
|
|
21
|
+
| `wz:humanize` | Detects and removes AI writing patterns from text artifacts via a 4-phase pipeline (Scan, Identify, Rewrite, Verify) |
|
|
22
|
+
| `wz:tdd` | Enforces RED -> GREEN -> REFACTOR for implementation work |
|
|
23
|
+
| `wz:verification` | Requires fresh proof before completion claims |
|
|
24
|
+
| `wz:design` | Guides the designer role through open-pencil MCP workflow to produce design artifacts |
|
|
25
|
+
| `prepare-next` | Produces a clean next-run handoff without auto-loading stale context |
|
|
26
|
+
| `run-audit` | Runs a structured codebase audit producing source-backed findings with remediation |
|
|
27
|
+
| `self-audit` | Runs a worktree-isolated audit-fix loop — validates, audits, fixes, verifies, and merges back only on green |
|
|
28
|
+
|
|
29
|
+
## Rules
|
|
30
|
+
|
|
31
|
+
- Skills must reference `input/`, canonical roles/workflows, or external state-root conventions.
|
|
32
|
+
- Skills must not instruct users to run background services or wrapper scripts that are not part of the canonical workflow surface.
|
|
33
|
+
- When a skill becomes contradictory to the current operating model, remove it from `skills/`.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Templates
|
|
2
|
+
|
|
3
|
+
Wazir keeps two active template classes:
|
|
4
|
+
|
|
5
|
+
- `templates/artifacts/` for run outputs and handoffs
|
|
6
|
+
- `templates/examples/` for schema-aligned example payloads
|
|
7
|
+
|
|
8
|
+
## Artifact Templates
|
|
9
|
+
|
|
10
|
+
Active artifact templates cover:
|
|
11
|
+
|
|
12
|
+
- clarification
|
|
13
|
+
- research
|
|
14
|
+
- spec
|
|
15
|
+
- spec challenge
|
|
16
|
+
- implementation plan
|
|
17
|
+
- plan review
|
|
18
|
+
- execution notes
|
|
19
|
+
- verification proof
|
|
20
|
+
- review findings
|
|
21
|
+
- learning proposal
|
|
22
|
+
- accepted learning
|
|
23
|
+
- next-run handoff
|
|
24
|
+
|
|
25
|
+
Each template requires run metadata, sources, loop number, and approval status where applicable.
|
|
26
|
+
|
|
27
|
+
## Example Payloads
|
|
28
|
+
|
|
29
|
+
Schema-backed examples under `templates/examples/` exist to keep schemas, examples, and validation in sync.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Wazir CLI
|
|
2
|
+
|
|
3
|
+
The `wazir` CLI is minimal on purpose. It exists to validate and export the host-native OS kit.
|
|
4
|
+
|
|
5
|
+
## Current command surface
|
|
6
|
+
|
|
7
|
+
| Command | Status | Behavior |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `wazir validate manifest` | implemented | Validates `wazir.manifest.yaml` against its schema and checks required repo paths exist. |
|
|
10
|
+
| `wazir validate hooks` | implemented | Validates canonical hook definitions against `schemas/hook.schema.json` and the manifest hook roster. |
|
|
11
|
+
| `wazir validate docs` | implemented | Validates `docs/truth-claims.yaml`, checks documented command claims against the active CLI surface, and rejects broken local doc links. |
|
|
12
|
+
| `wazir validate brand` | implemented | Enforces canonical product naming on the Wazir surface. |
|
|
13
|
+
| `wazir validate runtime` | implemented | Rejects non-canonical runtime wrappers, repo-local task/state paths, and forbidden runtime-only package surfaces. |
|
|
14
|
+
| `wazir validate branches` | implemented | Validates the current (or `--branch`-specified) branch name against the allowed git-flow patterns. |
|
|
15
|
+
| `wazir validate commits` | implemented | Validates conventional commit format for commits in the range `--base..--head` (or auto-detected base to HEAD). |
|
|
16
|
+
| `wazir validate changelog` | implemented | Validates `CHANGELOG.md` structure; with `--require-entries` and `--base`, enforces new entries since the base. |
|
|
17
|
+
| `wazir validate docs-drift` | implemented | Detects when source files (roles, workflows, skills, hooks) change without corresponding documentation updates. Advisory by default; `--strict` exits non-zero on drift. |
|
|
18
|
+
| `wazir validate artifacts` | reserved | Exits `2` until artifact-template and example validation expands. |
|
|
19
|
+
| `wazir export build` | implemented | Generates host packages under `exports/hosts/*` from canonical sources. |
|
|
20
|
+
| `wazir export --check` | implemented | Verifies generated host packages still match current canonical source hashes. |
|
|
21
|
+
| `wazir index build` | implemented | Builds a local SQLite-backed index under the configured state root. |
|
|
22
|
+
| `wazir index refresh` | implemented | Refreshes indexed files using stored content hashes. |
|
|
23
|
+
| `wazir index stats` | implemented | Reports file, symbol, outline, and summary_counts for the current index. |
|
|
24
|
+
| `wazir index summarize` | implemented | Generates L0/L1 heuristic summaries for all indexed files and symbols. |
|
|
25
|
+
| `wazir index search-symbols` | implemented | Searches indexed symbol names. |
|
|
26
|
+
| `wazir index get-symbol` | implemented | Returns a stored symbol record by name or ID. |
|
|
27
|
+
| `wazir index get-file-outline` | implemented | Returns indexed outline entries for a file. |
|
|
28
|
+
| `wazir recall file` | implemented | Returns an exact line-bounded slice from an indexed file. Supports `--tier L0\|L1` for summary recall. |
|
|
29
|
+
| `wazir recall symbol` | implemented | Returns an exact slice for an indexed symbol match. Supports `--tier L0\|L1` for summary recall. |
|
|
30
|
+
| `wazir doctor` | implemented | Validates the active repo surface for manifest, hooks, state-root policy, and host export directory presence. |
|
|
31
|
+
| `wazir status` | implemented | Reads run status directly from `<state-root>/runs/<run-id>/status.json`. |
|
|
32
|
+
| `wazir capture init` | implemented | Creates a run ledger with `status.json`, `events.ndjson`, and a captures directory under the configured state root. |
|
|
33
|
+
| `wazir capture event` | implemented | Appends a run event and can update phase, status, and loop counts in `status.json`. |
|
|
34
|
+
| `wazir capture route` | implemented | Reserves a run-local capture file path for large tool output. |
|
|
35
|
+
| `wazir capture output` | implemented | Writes captured tool output to a run-local file and records a `post_tool_capture` event. |
|
|
36
|
+
| `wazir capture summary` | implemented | Writes `summary.md` and records the chosen summary or handoff event. |
|
|
37
|
+
| `wazir capture usage` | implemented | Generates a token savings report for a run, showing capture routing statistics and context window savings. |
|
|
38
|
+
|
|
39
|
+
## Exit codes
|
|
40
|
+
|
|
41
|
+
- `0`: requested check passed
|
|
42
|
+
- `1`: invalid input or validation failure
|
|
43
|
+
- `2`: command surface exists but the implementation is intentionally not complete yet
|
|
44
|
+
|
|
45
|
+
## Root discovery
|
|
46
|
+
|
|
47
|
+
The CLI resolves the project root by walking upward from the current working directory until it finds `wazir.manifest.yaml`. This keeps checks usable from nested directories inside the repo.
|
|
48
|
+
|
|
49
|
+
## State-root override
|
|
50
|
+
|
|
51
|
+
Indexing and recall commands accept `--state-root <path>` so operators can keep index state wherever they want. If omitted, Wazir uses the manifest default outside the repo.
|
|
52
|
+
|
|
53
|
+
`wazir status` accepts the same override when reading run-local status files.
|
|
54
|
+
|
|
55
|
+
`wazir capture *` accepts the same override when writing run-local status, events, summaries, and captured output files.
|
|
56
|
+
|
|
57
|
+
`wazir export build` and `wazir export --check` work from the current project root and write under `exports/hosts/*`.
|
|
58
|
+
|
|
59
|
+
## Run recovery
|
|
60
|
+
|
|
61
|
+
`wazir capture init` writes the current run ID to `<state-root>/runs/latest` as a plain text pointer. On session start, an agent can read this file to determine if a prior run exists and resume it rather than starting fresh.
|
|
62
|
+
|
|
63
|
+
This enables run continuity across context compaction boundaries. When a session is compacted, the new context can read `latest` and call `wazir status --run <id>` to load the prior run's state.
|
|
64
|
+
|
|
65
|
+
If no `latest` file exists, the agent starts a new run via `capture init`.
|
|
66
|
+
|
|
67
|
+
## Token savings
|
|
68
|
+
|
|
69
|
+
Wazir reduces context window consumption through two mechanisms:
|
|
70
|
+
|
|
71
|
+
**Capture routing.** `wazir capture route` and `wazir capture output` redirect large tool output to run-local files instead of the context window. The agent receives a file path reference (~50 tokens) instead of the full output (potentially thousands of tokens).
|
|
72
|
+
|
|
73
|
+
**Tiered recall.** `wazir recall file` and `wazir recall symbol` support `--tier L0|L1` for summary-based recall:
|
|
74
|
+
- L0 (~100 tokens): one-line identifier summary
|
|
75
|
+
- L1 (~500-2k tokens): structural summary with signature, purpose, dependencies
|
|
76
|
+
- L2 (default): full source slice
|
|
77
|
+
|
|
78
|
+
Roles are assigned default tiers based on their needs. Exploration-heavy roles (clarifier, researcher, planner) use L1 by default. Implementation roles (executor, verifier) use direct reads. See [Indexing and Recall](../concepts/indexing-and-recall.md) for details.
|
|
79
|
+
|
|
80
|
+
`wazir capture usage` generates a per-run token savings report showing how many tokens were saved by capture routing and tiered recall versus direct reads.
|
|
81
|
+
|
|
82
|
+
## Current scope limits
|
|
83
|
+
|
|
84
|
+
- The CLI is a validation and export tool with no background processes.
|
|
85
|
+
- Validation is the first active capability because it prevents fake green states while the rest of the kit is still being rebuilt.
|
|
86
|
+
- Reserved commands are documented here so adopters can tell the difference between real behavior and planned behavior.
|
|
87
|
+
|
|
88
|
+
## Docs truth source
|
|
89
|
+
|
|
90
|
+
Executable documentation claims are registered in:
|
|
91
|
+
|
|
92
|
+
- `docs/truth-claims.yaml`
|
|
93
|
+
|
|
94
|
+
`wazir validate docs` uses that file plus active markdown link checks to prevent stale command and path claims from silently drifting.
|