@event4u/agent-config 14.10.0 → 14.11.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/.augment-plugin/marketplace.json +3 -3
- package/.augment-plugin/plugin.json +1 -1
- package/.claude-plugin/marketplace.json +1 -1
- package/CHANGELOG.md +335 -0
- package/README.md +1 -1
- package/dist/agent-src/commands/design.md +88 -0
- package/dist/agent-src/commands/project/analyze.md +47 -0
- package/dist/agent-src/commands/review/changes.md +67 -6
- package/dist/agent-src/commands/roadmap/create.md +49 -0
- package/dist/agent-src/commands/roadmap/next.md +27 -11
- package/dist/agent-src/commands/roadmap/process-full.md +14 -0
- package/dist/agent-src/commands/video/from-script.md +60 -3
- package/dist/agent-src/commands/video/stitch.md +14 -0
- package/dist/agent-src/contexts/communication/rules-auto/guidelines-mechanics.md +1 -0
- package/dist/agent-src/contexts/execution/roadmap-process-loop.md +154 -2
- package/dist/agent-src/rules/active-remediation.md +3 -3
- package/dist/agent-src/rules/code-provenance.md +2 -2
- package/dist/agent-src/rules/context-hygiene.md +13 -33
- package/dist/agent-src/rules/council-availability.md +2 -2
- package/dist/agent-src/rules/decision-revisit-gate.md +3 -1
- package/dist/agent-src/rules/design-fidelity.md +18 -0
- package/dist/agent-src/rules/design-review-after-ui-write.md +2 -2
- package/dist/agent-src/rules/evaluator-independence.md +56 -44
- package/dist/agent-src/rules/fix-what-you-see.md +9 -1
- package/dist/agent-src/rules/framework-neutrality-in-generic-skills.md +1 -1
- package/dist/agent-src/rules/minimal-safe-diff.md +14 -20
- package/dist/agent-src/rules/missing-skill-recovery.md +13 -1
- package/dist/agent-src/rules/playbook-precedence.md +105 -0
- package/dist/agent-src/rules/recurring-criticism.md +3 -1
- package/dist/agent-src/rules/roadmap-progress-sync.md +14 -13
- package/dist/agent-src/rules/scale-discipline.md +24 -0
- package/dist/agent-src/rules/security-sensitive-stop.md +2 -2
- package/dist/agent-src/rules/settings-ask-protocol.md +2 -2
- package/dist/agent-src/rules/ui-audit-gate.md +27 -15
- package/dist/agent-src/rules/untrusted-input-defense.md +2 -2
- package/dist/agent-src/skills/accessibility-auditor/SKILL.md +19 -0
- package/dist/agent-src/skills/adr-create/SKILL.md +7 -0
- package/dist/agent-src/skills/agents-md-thin-root/SKILL.md +33 -0
- package/dist/agent-src/skills/ai-council/references/advanced-modes.md +17 -3
- package/dist/agent-src/skills/ai-council/references/output-and-synthesis.md +31 -0
- package/dist/agent-src/skills/ai-council/references/procedure.md +19 -0
- package/dist/agent-src/skills/alerting-doctrine/SKILL.md +225 -0
- package/dist/agent-src/skills/alerting-doctrine/evals/triggers.json +17 -0
- package/dist/agent-src/skills/authz-review/SKILL.md +0 -1
- package/dist/agent-src/skills/blast-radius-analyzer/SKILL.md +32 -0
- package/dist/agent-src/skills/brand/SKILL.md +3 -0
- package/dist/agent-src/skills/brand-asset-generation/SKILL.md +3 -0
- package/dist/agent-src/skills/brand-audit/SKILL.md +3 -0
- package/dist/agent-src/skills/brand-identity/SKILL.md +3 -0
- package/dist/agent-src/skills/brand-strategy/SKILL.md +3 -0
- package/dist/agent-src/skills/brand-to-tokens/SKILL.md +3 -0
- package/dist/agent-src/skills/check-refs/SKILL.md +3 -0
- package/dist/agent-src/skills/code-review/SKILL.md +11 -0
- package/dist/agent-src/skills/command-routing/SKILL.md +6 -0
- package/dist/agent-src/skills/condense-memory/SKILL.md +3 -0
- package/dist/agent-src/skills/context-authoring/SKILL.md +1 -1
- package/dist/agent-src/skills/conventional-commits-writing/SKILL.md +3 -0
- package/dist/agent-src/skills/copilot-agents-optimization/SKILL.md +10 -0
- package/dist/agent-src/skills/corpus-grounding/SKILL.md +3 -0
- package/dist/agent-src/skills/design-intelligence/SKILL.md +3 -0
- package/dist/agent-src/skills/design-intelligence/data/landing.csv +36 -35
- package/dist/agent-src/skills/design-intelligence/data/stacks/threejs.csv +1 -0
- package/dist/agent-src/skills/design-review/SKILL.md +79 -1
- package/dist/agent-src/skills/design-review/references/verification-automation.md +41 -0
- package/dist/agent-src/skills/design-system-capture/SKILL.md +35 -40
- package/dist/agent-src/skills/design-system-capture/references/import-procedure.md +50 -0
- package/dist/agent-src/skills/design-tokens/SKILL.md +3 -0
- package/dist/agent-src/skills/design-variations/SKILL.md +3 -0
- package/dist/agent-src/skills/developer-like-execution/SKILL.md +3 -0
- package/dist/agent-src/skills/estimate-ticket/SKILL.md +3 -0
- package/dist/agent-src/skills/existing-ui-audit/SKILL.md +20 -3
- package/dist/agent-src/skills/fe-design/SKILL.md +74 -41
- package/dist/agent-src/skills/fe-design/evals/triggers.json +65 -53
- package/dist/agent-src/skills/fe-design/references/craft-floor.md +52 -0
- package/dist/agent-src/skills/fe-design/references/source-led-port.md +36 -0
- package/dist/agent-src/skills/file-editor/SKILL.md +5 -0
- package/dist/agent-src/skills/finishing-a-development-branch/SKILL.md +2 -2
- package/dist/agent-src/skills/git-workflow/SKILL.md +3 -0
- package/dist/agent-src/skills/html-deck/SKILL.md +3 -0
- package/dist/agent-src/skills/iconography/SKILL.md +3 -0
- package/dist/agent-src/skills/image-editing/SKILL.md +3 -0
- package/dist/agent-src/skills/image-generation/SKILL.md +3 -0
- package/dist/agent-src/skills/image-provider-routing/SKILL.md +3 -0
- package/dist/agent-src/skills/incident-commander/SKILL.md +10 -0
- package/dist/agent-src/skills/js-library-packaging/SKILL.md +173 -0
- package/dist/agent-src/skills/js-library-packaging/evals/triggers.json +17 -0
- package/dist/agent-src/skills/js-library-packaging/scripts/check_package_surface.ts +270 -0
- package/dist/agent-src/skills/laravel-migration/SKILL.md +3 -0
- package/dist/agent-src/skills/learning-to-rule-or-skill/SKILL.md +3 -0
- package/dist/agent-src/skills/lint-skills/SKILL.md +3 -0
- package/dist/agent-src/skills/llm-provider-knowledge/SKILL.md +3 -0
- package/dist/agent-src/skills/logging-monitoring/SKILL.md +234 -51
- package/dist/agent-src/skills/logo-generation/SKILL.md +3 -0
- package/dist/agent-src/skills/md-language-check/SKILL.md +3 -0
- package/dist/agent-src/skills/monorepo-workspace/SKILL.md +149 -0
- package/dist/agent-src/skills/monorepo-workspace/evals/triggers.json +17 -0
- package/dist/agent-src/skills/motion-choreographer/SKILL.md +6 -0
- package/dist/agent-src/skills/multi-tenancy/SKILL.md +4 -0
- package/dist/agent-src/skills/operational-readiness/SKILL.md +184 -0
- package/dist/agent-src/skills/operational-readiness/evals/triggers.json +17 -0
- package/dist/agent-src/skills/override-management/SKILL.md +3 -0
- package/dist/agent-src/skills/persona-improvement/SKILL.md +3 -0
- package/dist/agent-src/skills/pest-testing/SKILL.md +3 -0
- package/dist/agent-src/skills/playbook-authoring/SKILL.md +162 -0
- package/dist/agent-src/skills/playwright-testing/SKILL.md +3 -0
- package/dist/agent-src/skills/privacy-review/SKILL.md +3 -0
- package/dist/agent-src/skills/prompt-engineering-image/SKILL.md +3 -0
- package/dist/agent-src/skills/quality-tools/SKILL.md +5 -0
- package/dist/agent-src/skills/react-shadcn-ui/SKILL.md +52 -21
- package/dist/agent-src/skills/readme-reviewer/SKILL.md +3 -0
- package/dist/agent-src/skills/readme-writing/SKILL.md +3 -0
- package/dist/agent-src/skills/readme-writing-package/SKILL.md +3 -0
- package/dist/agent-src/skills/receiving-code-review/SKILL.md +2 -2
- package/dist/agent-src/skills/refine-prompt/SKILL.md +3 -0
- package/dist/agent-src/skills/refine-ticket/SKILL.md +3 -0
- package/dist/agent-src/skills/requesting-code-review/SKILL.md +2 -2
- package/dist/agent-src/skills/review-routing/SKILL.md +2 -2
- package/dist/agent-src/skills/roadmap-writing/SKILL.md +23 -41
- package/dist/agent-src/skills/roadmap-writing/references/follow-up-roadmap-shape.md +47 -0
- package/dist/agent-src/skills/rtk-output-filtering/SKILL.md +22 -6
- package/dist/agent-src/skills/runway-cognition/SKILL.md +3 -0
- package/dist/agent-src/skills/scene-expander/scene-blueprint.schema.yaml +26 -0
- package/dist/agent-src/skills/secrets-management/SKILL.md +4 -0
- package/dist/agent-src/skills/server-hardening/SKILL.md +159 -0
- package/dist/agent-src/skills/server-hardening/evals/triggers.json +17 -0
- package/dist/agent-src/skills/skill-improvement-pipeline/SKILL.md +3 -0
- package/dist/agent-src/skills/skill-management/SKILL.md +3 -0
- package/dist/agent-src/skills/skill-reviewer/SKILL.md +3 -0
- package/dist/agent-src/skills/skill-writing/SKILL.md +6 -0
- package/dist/agent-src/skills/spreadsheet-authoring/SKILL.md +3 -0
- package/dist/agent-src/skills/storybook-workshop/SKILL.md +194 -0
- package/dist/agent-src/skills/storybook-workshop/evals/triggers.json +17 -0
- package/dist/agent-src/skills/storybook-workshop/scripts/story_contrast_floor.ts +134 -0
- package/dist/agent-src/skills/subagent-orchestration/SKILL.md +1 -1
- package/dist/agent-src/skills/subagent-orchestration/prompts/README.md +25 -0
- package/dist/agent-src/skills/supply-chain-intake/SKILL.md +12 -0
- package/dist/agent-src/skills/systematic-debugging/SKILL.md +1 -1
- package/dist/agent-src/skills/terraform/SKILL.md +3 -0
- package/dist/agent-src/skills/test-driven-development/SKILL.md +1 -1
- package/dist/agent-src/skills/threat-modeling/SKILL.md +0 -3
- package/dist/agent-src/skills/token-optimizer/SKILL.md +3 -0
- package/dist/agent-src/skills/typography-system/SKILL.md +3 -0
- package/dist/agent-src/skills/ui-component-architect/SKILL.md +9 -1
- package/dist/agent-src/skills/upstream-contribute/SKILL.md +3 -0
- package/dist/agent-src/skills/validate-feature-fit/SKILL.md +3 -0
- package/dist/agent-src/skills/verify-completion-evidence/SKILL.md +2 -2
- package/dist/agent-src/skills/wireframe/SKILL.md +3 -0
- package/dist/agent-src/skills/wireframe/references/story-beat-ledger.schema.json +115 -0
- package/dist/agent-src/skills/workspace-link/SKILL.md +131 -0
- package/dist/agent-src/skills/workspace-link/evals/triggers.json +17 -0
- package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
- package/dist/agent-src/templates/playbook.md +75 -0
- package/dist/agent-src/templates/roadmaps.md +37 -0
- package/dist/agent-src/templates/scripts/check_playbook_invokes.ts +231 -0
- package/dist/agent-src/templates/scripts/work_engine/directives/ui/apply.ts +24 -0
- package/dist/agent-src/templates/scripts/work_engine/directives/ui/polish.ts +2 -0
- package/dist/agent-src/templates/scripts/work_engine/directives/ui/review.ts +216 -0
- package/dist/agent-src/templates/scripts/work_engine/directives/ui/scaffold.ts +159 -0
- package/dist/agent-src/templates/scripts/work_engine/directives/ui/stack_bundles.ts +73 -4
- package/dist/agent-src/templates/scripts/work_engine/stack/detect.ts +325 -40
- package/dist/cli/commands/uiAudit.js +221 -0
- package/dist/cli/commands/uiAudit.js.map +1 -0
- package/dist/cli/commands/uiRender.js +206 -0
- package/dist/cli/commands/uiRender.js.map +1 -0
- package/dist/cli/main.js +22 -1
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/mcp/content.js +64 -1
- package/dist/cli/mcp/content.js.map +1 -1
- package/dist/cli/mcp/dispatch.js +175 -10
- package/dist/cli/mcp/dispatch.js.map +1 -1
- package/dist/cli/registry.js +3 -0
- package/dist/cli/registry.js.map +1 -1
- package/dist/cli-delegate/{chunk-H4VIVD4C.js → chunk-236PNQZK.js} +413 -391
- package/dist/cli-delegate/{chunk-G23AT6GD.js → chunk-DMSZHXZS.js} +57 -1
- package/dist/cli-delegate/{chunk-77GR3VD4.js → chunk-FF7WAFMR.js} +58 -3
- package/dist/cli-delegate/{chunk-PLSG6UL5.js → chunk-K4FFODTS.js} +341 -204
- package/dist/cli-delegate/{chunk-YM4GZDJG.js → chunk-L43NCYPB.js} +5 -0
- package/dist/cli-delegate/{chunk-B2ERU2VA.js → chunk-WOKWX5PL.js} +1 -1
- package/dist/cli-delegate/cmd_brand_status.js +8 -6
- package/dist/cli-delegate/cmd_conformance.js +3 -3
- package/dist/cli-delegate/cmd_doctor.js +3 -3
- package/dist/cli-delegate/cmd_export.js +4 -4
- package/dist/cli-delegate/cmd_handoff.js +1 -1
- package/dist/cli-delegate/cmd_preflight.js +2 -2
- package/dist/cli-delegate/cmd_prune.js +4 -4
- package/dist/cli-delegate/cmd_session_recycle.js +70 -9
- package/dist/cli-delegate/cmd_settings_migrate.js +4 -4
- package/dist/cli-delegate/cmd_settings_set.js +1 -1
- package/dist/cli-delegate/cmd_sync.js +4 -4
- package/dist/cli-delegate/cmd_uninstall.js +4 -4
- package/dist/cli-delegate/cmd_validate.js +4 -4
- package/dist/discovery/deprecation-report.md +1 -1
- package/dist/discovery/discovery-manifest.json +359 -124
- package/dist/discovery/discovery-manifest.json.sha256 +1 -1
- package/dist/discovery/discovery-manifest.summary.md +4 -4
- package/dist/discovery/dormancy-report.md +1 -1
- package/dist/discovery/orphan-report.md +1 -1
- package/dist/discovery/packs.json +18 -8
- package/dist/discovery/trust-report.md +3 -3
- package/dist/discovery/workspaces.json +16 -6
- package/dist/hooks/dispatch.js +2337 -1436
- package/dist/install/install.mjs +795 -708
- package/dist/mcp/registry-manifest.json +3 -3
- package/dist/mcp/server.json +2 -2
- package/dist/mcp/server.mjs +1685 -1250
- package/dist/router.json +1 -1
- package/dist/scripts/_lib/lean_projection_mode.js +40 -0
- package/dist/scripts/_lib/lean_projection_mode.js.map +1 -0
- package/dist/scripts/_lib/scoped_projection.js +84 -0
- package/dist/scripts/_lib/scoped_projection.js.map +1 -1
- package/dist/scripts/_lib/ui_surface.js +89 -0
- package/dist/scripts/_lib/ui_surface.js.map +1 -0
- package/dist/scripts/condense.js +6 -10
- package/dist/scripts/condense.js.map +1 -1
- package/dist/scripts/project_thin_rules.js +40 -2
- package/dist/scripts/project_thin_rules.js.map +1 -1
- package/dist/server/schemas/settings.js +3 -0
- package/dist/server/schemas/settings.js.map +1 -1
- package/dist/shared/skillRanking.js +159 -0
- package/dist/shared/skillRanking.js.map +1 -0
- package/docs/contracts/provider-lifecycle.md +47 -18
- package/docs/contracts/settings-classes.md +14 -4
- package/docs/guidelines/agent-infra/context-hygiene-mechanics.md +49 -0
- package/docs/guidelines/agent-infra/evaluator-independence-mechanics.md +92 -0
- package/docs/guidelines/agent-infra/minimal-safe-diff-mechanics.md +45 -1
- package/docs/guidelines/agent-infra/roadmap-deferred-resolution-provenance.md +54 -0
- package/docs/guidelines/design-antipatterns.md +4 -2
- package/docs/guidelines/design-asset-discipline.md +38 -0
- package/docs/guidelines/design-fidelity-mechanics.md +45 -29
- package/docs/guidelines/design-handover-extraction.md +35 -5
- package/docs/guidelines/design-modes.md +41 -1
- package/docs/guidelines/monorepo-antipatterns.md +141 -0
- package/llms.txt +50 -39
- package/package.json +1 -1
- package/src/agent-src/templates/scripts/check_playbook_invokes.ts +231 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/apply.ts +24 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/polish.ts +2 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/review.ts +216 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/scaffold.ts +159 -0
- package/src/agent-src/templates/scripts/work_engine/directives/ui/stack_bundles.ts +73 -4
- package/src/agent-src/templates/scripts/work_engine/stack/detect.ts +325 -40
- package/src/config/agent-settings.template.yml +28 -0
- package/src/config/assurance-capability-registry.json +223 -0
- package/src/config/assurance-threshold-budget.json +65 -0
- package/src/config/ci-local-parity.yml +14 -0
- package/src/config/discovery/unassigned-artefacts.yml +2 -0
- package/src/config/dispatch-economy-metrics.json +4 -2
- package/src/config/evaluator-budgets.json +14 -14
- package/src/config/gate-coverage.yml +207 -8
- package/src/config/gate-violation-baselines.json +76 -72
- package/src/config/hook-latency-budget.json +1 -0
- package/src/config/hook-token-budget.json +137 -125
- package/src/config/pack-size-budget.json +4 -2
- package/src/config/quorum-attendance-budget.json +12 -4
- package/src/config/rule-activation-census.json +7 -3
- package/src/config/rule-enforcement-baseline.json +0 -1
- package/src/config/rule-stub-ceilings.json +112 -91
- package/src/scripts/_cli/cmd_doctor.ts +15 -16
- package/src/scripts/_cli/doctor_install_mode.ts +49 -0
- package/src/scripts/_cli/doctor_overrides.ts +154 -0
- package/src/scripts/_dispatch.bash +17 -0
- package/src/scripts/_lib/as_of.ts +412 -0
- package/src/scripts/_lib/exec_evidence.ts +7 -0
- package/src/scripts/_lib/hook_settings.ts +33 -0
- package/src/scripts/_lib/host_listing_model.ts +192 -0
- package/src/scripts/_lib/lean_projection_mode.ts +44 -0
- package/src/scripts/_lib/mcp_bridge.ts +199 -0
- package/src/scripts/_lib/review_independence.ts +62 -10
- package/src/scripts/_lib/rule_injection.ts +239 -0
- package/src/scripts/_lib/run_checkpoint.ts +54 -1
- package/src/scripts/_lib/scoped_projection.ts +96 -0
- package/src/scripts/_lib/session_register.ts +44 -2
- package/src/scripts/_lib/skill_catalogue.ts +38 -2
- package/src/scripts/_lib/transcript_reads.ts +207 -0
- package/src/scripts/_lib/ui_authority.test.ts +251 -0
- package/src/scripts/_lib/ui_authority.ts +343 -0
- package/src/scripts/ai-video/adapters/fal.sh +8 -3
- package/src/scripts/ai-video/adapters/gemini-veo.sh +10 -0
- package/src/scripts/ai-video/adapters/higgsfield.sh +10 -2
- package/src/scripts/ai-video/adapters/kling.sh +10 -0
- package/src/scripts/ai-video/adapters/sora.sh +10 -0
- package/src/scripts/ai-video/lib/calibrate-cost.sh +145 -0
- package/src/scripts/ai-video/lib/model-capabilities/README.md +53 -7
- package/src/scripts/ai-video/lib/model-capabilities/comfyui.json +15 -3
- package/src/scripts/ai-video/lib/model-capabilities/fal.json +36 -6
- package/src/scripts/ai-video/lib/model-capabilities/gemini-veo.json +23 -0
- package/src/scripts/ai-video/lib/model-capabilities/higgsfield.json +23 -0
- package/src/scripts/ai-video/lib/model-capabilities/kling.json +23 -0
- package/src/scripts/ai-video/lib/model-capabilities/musetalk.json +8 -2
- package/src/scripts/ai-video/lib/model-capabilities/replicate.json +36 -6
- package/src/scripts/ai-video/lib/model-capabilities/sora.json +45 -0
- package/src/scripts/ai-video/lib/model-capabilities/syncso.json +8 -2
- package/src/scripts/ai-video/lib/parse-blueprint.sh +52 -5
- package/src/scripts/ai-video/lib/resume-scan.sh +92 -3
- package/src/scripts/ai-video/lib/seam-plan.sh +212 -0
- package/src/scripts/ai-video/smoke-trace.sh +450 -2
- package/src/scripts/ai-video/stitch.sh +191 -10
- package/src/scripts/ai-video/test-pipeline.sh +84 -6
- package/src/scripts/ai_council/cli_agency_bounds.ts +139 -0
- package/src/scripts/ai_council/cli_least_agency_canary.ts +347 -0
- package/src/scripts/ai_council/clients.ts +3 -2
- package/src/scripts/ai_council/consensus.ts +63 -6
- package/src/scripts/ai_council/events_log.ts +46 -1
- package/src/scripts/ai_council/orchestrator.ts +103 -108
- package/src/scripts/ai_council/orchestrator_results.ts +166 -0
- package/src/scripts/ai_council/prompts.ts +12 -5
- package/src/scripts/ai_council/quorum.ts +82 -1
- package/src/scripts/ai_council/quorum_wiring.ts +82 -5
- package/src/scripts/ai_council/stance_tally.ts +22 -0
- package/src/scripts/bench_hook_latency.ts +62 -0
- package/src/scripts/build_proof.ts +12 -1
- package/src/scripts/capture_skill_catalogue.ts +21 -0
- package/src/scripts/check_always_budget.ts +2 -1
- package/src/scripts/check_augmentignore.ts +2 -1
- package/src/scripts/check_beta_review_markers.ts +2 -1
- package/src/scripts/check_composite_arming.ts +364 -0
- package/src/scripts/check_corpus_staleness.ts +2 -1
- package/src/scripts/check_council_pin_staleness.ts +3 -1
- package/src/scripts/check_enforcement_coverage.ts +116 -3
- package/src/scripts/check_enforcement_denominator.ts +365 -0
- package/src/scripts/check_gate_coverage.ts +2 -1
- package/src/scripts/check_hook_bundle_freshness.ts +13 -1
- package/src/scripts/check_knowledge_cards.ts +2 -1
- package/src/scripts/check_knowledge_pages.ts +3 -2
- package/src/scripts/check_memory.ts +2 -1
- package/src/scripts/check_no_automerge_key.ts +287 -0
- package/src/scripts/check_pack_conformance_fixture.ts +565 -0
- package/src/scripts/check_proposal.ts +2 -1
- package/src/scripts/check_reach_staleness.ts +2 -1
- package/src/scripts/check_release_adjacent_health.ts +2 -1
- package/src/scripts/check_release_pr_shape.ts +5 -0
- package/src/scripts/check_review_schema.ts +34 -1
- package/src/scripts/check_roadmap_trackable.ts +48 -3
- package/src/scripts/check_source_size_budget.ts +2 -1
- package/src/scripts/check_standing_payload_delta.ts +505 -0
- package/src/scripts/check_trigger_evals.ts +2 -1
- package/src/scripts/classify_change_risk.ts +281 -0
- package/src/scripts/compute_skill_tiers.ts +186 -0
- package/src/scripts/condense.ts +8 -13
- package/src/scripts/council_attendance_metrics.ts +183 -0
- package/src/scripts/council_cli.ts +10 -8
- package/src/scripts/council_parse_rate.ts +116 -0
- package/src/scripts/derive_playbooks.ts +406 -0
- package/src/scripts/design_slop_rules.test.ts +7 -0
- package/src/scripts/design_slop_rules.ts +56 -2
- package/src/scripts/dispatch_r2_reviewer.ts +16 -0
- package/src/scripts/frontend_corpus_hash.ts +116 -0
- package/src/scripts/grade_target_readiness.ts +478 -0
- package/src/scripts/hook_manifest.json +1 -1
- package/src/scripts/hook_manifest.yaml +97 -16
- package/src/scripts/hooks/concern_registry.ts +4 -0
- package/src/scripts/hooks/design_pass_hook.ts +356 -0
- package/src/scripts/hooks/rtk_wrap_hook.ts +30 -7
- package/src/scripts/hooks/rule_inject_hook.ts +318 -0
- package/src/scripts/hot_context_hook.ts +74 -7
- package/src/scripts/install.ts +40 -89
- package/src/scripts/lint_adapter_tier.ts +663 -0
- package/src/scripts/lint_archived_skills.ts +93 -0
- package/src/scripts/lint_budget_ownership.ts +2 -1
- package/src/scripts/lint_deterministic_time.ts +470 -0
- package/src/scripts/lint_framework_leakage.ts +5 -0
- package/src/scripts/lint_handoffs.ts +525 -1
- package/src/scripts/lint_judge_prompt_expectation.ts +155 -0
- package/src/scripts/lint_marketplace.ts +88 -0
- package/src/scripts/lint_media_policy_linkage.ts +140 -1
- package/src/scripts/lint_one_off_age.ts +6 -1
- package/src/scripts/lint_override_kernel_guard.ts +87 -5
- package/src/scripts/lint_roadmap_complexity.ts +56 -0
- package/src/scripts/lint_rule_enforcement_declaration.ts +24 -7
- package/src/scripts/lint_rule_norm_pin.ts +321 -0
- package/src/scripts/lint_spawn_payload.ts +42 -5
- package/src/scripts/lint_symptom_intake.ts +2 -1
- package/src/scripts/mcp_parity_smoke.ts +30 -4
- package/src/scripts/mcp_render.ts +66 -1
- package/src/scripts/mcp_tool_fingerprint.ts +241 -0
- package/src/scripts/measure_risk_class_drift.ts +140 -0
- package/src/scripts/measure_skill_ranker_baseline.ts +212 -0
- package/src/scripts/media/lib/adapter-common.sh +211 -1
- package/src/scripts/media/lib/adapter-contract.md +74 -6
- package/src/scripts/model_rule_injection.ts +907 -0
- package/src/scripts/project_thin_rules.ts +45 -2
- package/src/scripts/release.ts +66 -860
- package/src/scripts/release_drill.ts +59 -3
- package/src/scripts/release_env.ts +298 -0
- package/src/scripts/release_publication.ts +720 -0
- package/src/scripts/roadmap_context.ts +778 -0
- package/src/scripts/schemas/fidelity-measurement-sheet.schema.json +169 -0
- package/src/scripts/schemas/rule.schema.json +24 -2
- package/src/scripts/schemas/skill.schema.json +39 -0
- package/src/scripts/schemas/ui-authority.schema.json +114 -0
- package/src/scripts/session_register_hook.ts +29 -3
- package/src/scripts/sessions_cli.ts +67 -3
- package/src/scripts/skill_tools/score_skill_relevance.ts +36 -53
- package/src/scripts/token_sink_report.ts +239 -0
- package/src/scripts/trigger_coverage.ts +122 -3
- package/src/scripts/update_counts.ts +7 -3
- package/src/scripts/validate_frontmatter.ts +66 -0
- package/src/server/schemas/settings.ts +5 -0
- package/src/shared/skillRanking.ts +183 -0
|
@@ -4535,6 +4535,11 @@ var settingsSchema = external_exports.object({
|
|
|
4535
4535
|
"PreToolUse anti-slop nudge (road-to-anti-slop-detector Phase 3). Default off. When on, runs the lint_design_slop registry against about-to-be-written UI content and WARNS (never blocks) on P0/P1 aesthetic tells (side-stripe, gradient-text, magic z-index, \u2026). Flags are rebuttable via DESIGN.md / design-slop-disable. Anti-loop: a file::rule signature surfaced 3x goes silent. Host-limited convenience layer; the universal gate is the lint_design_slop linter/CI."
|
|
4536
4536
|
)
|
|
4537
4537
|
}).default({}),
|
|
4538
|
+
design_pass: external_exports.object({
|
|
4539
|
+
enabled: external_exports.boolean().default(false).describe(
|
|
4540
|
+
"PostToolUse + stop design pass (road-to-frontend-power E1.1/E1.2/E1.3). Default off. One concern on two slots: on post_tool_use a write to a UI surface delivers the design findings as context and never blocks; on stop the same pass runs over every UI file touched this session, deduped against what the post pass surfaced, and a P0 objective floor (contrast, font size, heading skip, focus) blocks with a continuation. P1-P3 never block. post_tool_use rather than pre_tool_use for two measured reasons: pre_tool_use is declared by three hosts and honoured by one while post_tool_use is declared by six, and _lib/ui_surface.ts is a path predicate, so a pre-write gate cannot fire on the first write of a new surface. A pass that could not fully run reports verification: degraded with a reason rather than passing silently. Does not replace design_slop: two design keys is the honest state until the tiering experiment has a number."
|
|
4541
|
+
)
|
|
4542
|
+
}).default({}),
|
|
4538
4543
|
ui_route_nudge: external_exports.object({
|
|
4539
4544
|
enabled: external_exports.boolean().default(false).describe(
|
|
4540
4545
|
"PreToolUse UI-route nudge (road-to-frontend-skill-application Phase 4). Default off. When on, a Write/Edit to a UI surface with no design consultation latched this session WARNS (never blocks) naming the route \u2014 run existing-ui-audit, then the fe-design loop. A read or search touching fe-design / existing-ui-audit / design-review / design-intelligence latches consultation and silences it for the session. Anti-loop: at most 2 nudges per session. It does not read the rules: the UI-surface decision comes from _lib/ui_surface.ts and no code parses rule frontmatter, so this runs parallel to the two UI rules rather than consuming their triggers, and a test keeps the sets from drifting. It is a nudge, so their enforced_by: none stays accurate."
|
|
@@ -7,23 +7,25 @@ import "./chunk-J55WI3RR.js";
|
|
|
7
7
|
|
|
8
8
|
// src/scripts/_cli/cmd_brand_status.ts
|
|
9
9
|
import * as fs from "node:fs";
|
|
10
|
-
import * as
|
|
10
|
+
import * as path2 from "node:path";
|
|
11
11
|
import process2 from "node:process";
|
|
12
12
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
13
13
|
|
|
14
14
|
// src/agent-src/templates/scripts/work_engine/directives/ui/scaffold.ts
|
|
15
|
+
import * as path from "node:path";
|
|
15
16
|
var BRAND_TOKEN_PATHS = [
|
|
16
17
|
"tokens.json",
|
|
17
18
|
"assets/tokens.json",
|
|
18
19
|
"resources/tokens.json",
|
|
19
20
|
"agents/settings/brand/tokens.json"
|
|
20
21
|
];
|
|
22
|
+
var PLAYBOOK_HOME = path.join("agents", "settings", "contexts");
|
|
21
23
|
|
|
22
24
|
// src/scripts/_cli/cmd_brand_status.ts
|
|
23
25
|
function findBrandTokens(root) {
|
|
24
26
|
for (const rel of BRAND_TOKEN_PATHS) {
|
|
25
27
|
try {
|
|
26
|
-
if (fs.statSync(
|
|
28
|
+
if (fs.statSync(path2.join(root, rel)).isFile()) return rel;
|
|
27
29
|
} catch {
|
|
28
30
|
continue;
|
|
29
31
|
}
|
|
@@ -33,10 +35,10 @@ function findBrandTokens(root) {
|
|
|
33
35
|
function findDottedNearMisses(root) {
|
|
34
36
|
const found = [];
|
|
35
37
|
for (const rel of BRAND_TOKEN_PATHS) {
|
|
36
|
-
const dotted =
|
|
38
|
+
const dotted = path2.join(path2.dirname(rel), `.${path2.basename(rel)}`);
|
|
37
39
|
const normalised = dotted.startsWith("./") ? dotted.slice(2) : dotted;
|
|
38
40
|
try {
|
|
39
|
-
if (fs.statSync(
|
|
41
|
+
if (fs.statSync(path2.join(root, normalised)).isFile()) found.push(normalised);
|
|
40
42
|
} catch {
|
|
41
43
|
continue;
|
|
42
44
|
}
|
|
@@ -114,10 +116,10 @@ function main(argv = process2.argv.slice(2)) {
|
|
|
114
116
|
}
|
|
115
117
|
function _isCliEntry() {
|
|
116
118
|
if (process2.argv[1] === void 0) return false;
|
|
117
|
-
const argvUrl = pathToFileURL(
|
|
119
|
+
const argvUrl = pathToFileURL(path2.resolve(process2.argv[1])).href;
|
|
118
120
|
if (import.meta.url === argvUrl) return true;
|
|
119
121
|
try {
|
|
120
|
-
return fs.realpathSync(fileURLToPath(import.meta.url)) === fs.realpathSync(
|
|
122
|
+
return fs.realpathSync(fileURLToPath(import.meta.url)) === fs.realpathSync(path2.resolve(process2.argv[1]));
|
|
121
123
|
} catch {
|
|
122
124
|
return false;
|
|
123
125
|
}
|
|
@@ -36,14 +36,14 @@ import {
|
|
|
36
36
|
frontmatterPaths,
|
|
37
37
|
proseEqual,
|
|
38
38
|
splitFrontmatter
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-K4FFODTS.js";
|
|
40
40
|
import "./chunk-FTAISGDQ.js";
|
|
41
41
|
import "./chunk-M2DPGFZ4.js";
|
|
42
42
|
import "./chunk-E46KPN6K.js";
|
|
43
43
|
import {
|
|
44
44
|
projectStoreSlug,
|
|
45
45
|
resolveSessionRole
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FF7WAFMR.js";
|
|
47
47
|
import {
|
|
48
48
|
atomic_write_json,
|
|
49
49
|
atomic_write_text,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
} from "./chunk-PMEKGDED.js";
|
|
62
62
|
import "./chunk-MWRD5YOH.js";
|
|
63
63
|
import "./chunk-T7L2QK3K.js";
|
|
64
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-DMSZHXZS.js";
|
|
65
65
|
import {
|
|
66
66
|
require_dist
|
|
67
67
|
} from "./chunk-OY53J6II.js";
|
|
@@ -66,16 +66,16 @@ import {
|
|
|
66
66
|
_wizard_state_path,
|
|
67
67
|
main,
|
|
68
68
|
shutilWhich
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-K4FFODTS.js";
|
|
70
70
|
import "./chunk-FTAISGDQ.js";
|
|
71
71
|
import "./chunk-M2DPGFZ4.js";
|
|
72
72
|
import "./chunk-E46KPN6K.js";
|
|
73
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-FF7WAFMR.js";
|
|
74
74
|
import "./chunk-E4XIZDIB.js";
|
|
75
75
|
import "./chunk-PMEKGDED.js";
|
|
76
76
|
import "./chunk-MWRD5YOH.js";
|
|
77
77
|
import "./chunk-T7L2QK3K.js";
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-DMSZHXZS.js";
|
|
79
79
|
import "./chunk-OY53J6II.js";
|
|
80
80
|
import "./chunk-MCJYCQPF.js";
|
|
81
81
|
import "./chunk-NLP54U3J.js";
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
KIRO_MARKER,
|
|
10
10
|
ROOCODE_MARKER,
|
|
11
11
|
ZED_MARKER
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-236PNQZK.js";
|
|
13
|
+
import "./chunk-L43NCYPB.js";
|
|
14
14
|
import "./chunk-6RJA2F5A.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-WOKWX5PL.js";
|
|
16
16
|
import "./chunk-523HCFYO.js";
|
|
17
17
|
import "./chunk-PMEKGDED.js";
|
|
18
18
|
import "./chunk-MWRD5YOH.js";
|
|
19
19
|
import "./chunk-T7L2QK3K.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-DMSZHXZS.js";
|
|
21
21
|
import "./chunk-OY53J6II.js";
|
|
22
22
|
import {
|
|
23
23
|
resolvePackageRoot
|
|
@@ -7,9 +7,9 @@ import "./chunk-OMIVVCG2.js";
|
|
|
7
7
|
import {
|
|
8
8
|
GLOBAL_DEPLOY_SOURCES,
|
|
9
9
|
expandWizardSources
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WOKWX5PL.js";
|
|
11
11
|
import "./chunk-523HCFYO.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-DMSZHXZS.js";
|
|
13
13
|
import "./chunk-OY53J6II.js";
|
|
14
14
|
import {
|
|
15
15
|
resolvePackageRoot
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __acCreateRequire } from 'node:module'; const require = globalThis.require ?? __acCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
PROJECT_BRIDGE_MARKERS
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-236PNQZK.js";
|
|
5
|
+
import "./chunk-L43NCYPB.js";
|
|
6
6
|
import "./chunk-6RJA2F5A.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-WOKWX5PL.js";
|
|
8
8
|
import "./chunk-523HCFYO.js";
|
|
9
9
|
import {
|
|
10
10
|
manifest_path,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-PMEKGDED.js";
|
|
13
13
|
import "./chunk-MWRD5YOH.js";
|
|
14
14
|
import "./chunk-T7L2QK3K.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-DMSZHXZS.js";
|
|
16
16
|
import "./chunk-OY53J6II.js";
|
|
17
17
|
import "./chunk-MCJYCQPF.js";
|
|
18
18
|
import {
|
|
@@ -179,6 +179,15 @@ function classify_collisions(others, here) {
|
|
|
179
179
|
out.push({ kind: "branch", record: r });
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
+
const mine = new Set(here.owned_paths ?? []);
|
|
183
|
+
if (mine.size > 0) {
|
|
184
|
+
for (const r of others) {
|
|
185
|
+
const shared = (r.owned_paths ?? []).filter((p) => mine.has(p)).sort();
|
|
186
|
+
if (shared.length > 0) {
|
|
187
|
+
out.push({ kind: "path", record: r, paths: shared });
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
182
191
|
return out;
|
|
183
192
|
}
|
|
184
193
|
|
|
@@ -244,9 +253,12 @@ function _read_claim_file(file) {
|
|
|
244
253
|
return null;
|
|
245
254
|
}
|
|
246
255
|
const sid = rec["session_id"];
|
|
256
|
+
const raw_paths = rec["paths"];
|
|
257
|
+
const paths = Array.isArray(raw_paths) ? raw_paths.filter((x) => typeof x === "string" && x.trim() !== "") : [];
|
|
247
258
|
return {
|
|
248
259
|
slug: slug.trim(),
|
|
249
|
-
...typeof sid === "string" && sid.trim() !== "" ? { session_id: sid.trim() } : {}
|
|
260
|
+
...typeof sid === "string" && sid.trim() !== "" ? { session_id: sid.trim() } : {},
|
|
261
|
+
...paths.length > 0 ? { paths } : {}
|
|
250
262
|
};
|
|
251
263
|
} catch {
|
|
252
264
|
return null;
|
|
@@ -258,7 +270,13 @@ function resolve_claim(workspace_root, session_id) {
|
|
|
258
270
|
for (const p of claim_read_paths(workspace_root, session_id)) {
|
|
259
271
|
if (path2.basename(p) === path2.basename(ROADMAP_CLAIM_REL)) continue;
|
|
260
272
|
const mine = _read_claim_file(p);
|
|
261
|
-
if (mine !== null)
|
|
273
|
+
if (mine !== null) {
|
|
274
|
+
return {
|
|
275
|
+
slug: mine.slug,
|
|
276
|
+
path: p,
|
|
277
|
+
...mine.paths !== void 0 ? { paths: mine.paths } : {}
|
|
278
|
+
};
|
|
279
|
+
}
|
|
262
280
|
}
|
|
263
281
|
}
|
|
264
282
|
let legacy = null;
|
|
@@ -278,7 +296,11 @@ function resolve_claim(workspace_root, session_id) {
|
|
|
278
296
|
if (id !== "") {
|
|
279
297
|
return null;
|
|
280
298
|
}
|
|
281
|
-
return {
|
|
299
|
+
return {
|
|
300
|
+
slug: legacy.slug,
|
|
301
|
+
path: legacy_path,
|
|
302
|
+
...legacy.paths !== void 0 ? { paths: legacy.paths } : {}
|
|
303
|
+
};
|
|
282
304
|
}
|
|
283
305
|
function read_claimed_slug(workspace_root, session_id) {
|
|
284
306
|
return resolve_claim(workspace_root, session_id)?.slug ?? null;
|
|
@@ -344,12 +366,13 @@ function nearest_checkout_root(start) {
|
|
|
344
366
|
return null;
|
|
345
367
|
}
|
|
346
368
|
function build_record(workspace_root, session_id, platform, started_at, now = /* @__PURE__ */ new Date()) {
|
|
369
|
+
const claim = resolve_claim(workspace_root, session_id);
|
|
347
370
|
const rec = {
|
|
348
371
|
session_id,
|
|
349
372
|
platform,
|
|
350
373
|
worktree: workspace_root,
|
|
351
374
|
branch: current_branch(workspace_root),
|
|
352
|
-
roadmap_slug:
|
|
375
|
+
roadmap_slug: claim?.slug ?? null,
|
|
353
376
|
started_at,
|
|
354
377
|
last_seen: iso_now(now)
|
|
355
378
|
};
|
|
@@ -361,6 +384,9 @@ function build_record(workspace_root, session_id, platform, started_at, now = /*
|
|
|
361
384
|
}
|
|
362
385
|
if (Object.keys(nonZero).length > 0) rec.turn_end_refusals = nonZero;
|
|
363
386
|
}
|
|
387
|
+
if (claim?.paths !== void 0 && claim.paths.length > 0) {
|
|
388
|
+
rec.owned_paths = [...claim.paths].sort();
|
|
389
|
+
}
|
|
364
390
|
return rec;
|
|
365
391
|
}
|
|
366
392
|
function touch(workspace_root, session_id, platform, now = /* @__PURE__ */ new Date()) {
|
|
@@ -562,7 +588,7 @@ function usage() {
|
|
|
562
588
|
" live sessions, plus unmerged branches",
|
|
563
589
|
" held by other worktrees (--branches adds",
|
|
564
590
|
" that axis to the JSON form)",
|
|
565
|
-
" agent-config sessions:claim <slug> claim a roadmap for this session",
|
|
591
|
+
" agent-config sessions:claim <slug> [--paths <a,b,\u2026>] claim a roadmap for this session",
|
|
566
592
|
" agent-config sessions:claim <slug> --force claim it even though a peer holds it",
|
|
567
593
|
" agent-config sessions:claim --release drop this session's roadmap claim",
|
|
568
594
|
""
|
|
@@ -626,6 +652,11 @@ function other_worktree_branches_detailed(root, spawn = spawnSync) {
|
|
|
626
652
|
rows.sort((a, b) => a.branch.localeCompare(b.branch) || a.worktree.localeCompare(b.worktree));
|
|
627
653
|
return { rows, filtered: unmerged !== null };
|
|
628
654
|
}
|
|
655
|
+
function path_overlap_lines(others, here) {
|
|
656
|
+
return classify_collisions(others, here).filter((c) => c.kind === "path").map(
|
|
657
|
+
(c) => ` PATH OVERLAP ${c.record.session_id} \xB7 ${(c.paths ?? []).length} shared path(s): ${(c.paths ?? []).join(", ")}`
|
|
658
|
+
);
|
|
659
|
+
}
|
|
629
660
|
function cmd_list(argv, root) {
|
|
630
661
|
const as_json = argv.includes("--json");
|
|
631
662
|
const dir = register_dir(root);
|
|
@@ -669,6 +700,21 @@ function cmd_list(argv, root) {
|
|
|
669
700
|
);
|
|
670
701
|
}
|
|
671
702
|
write_held_branches(held, filtered);
|
|
703
|
+
const sid = env_session_id();
|
|
704
|
+
const mine = sid === null ? void 0 : records.find((r) => r.session_id === sid);
|
|
705
|
+
const overlaps = path_overlap_lines(
|
|
706
|
+
records.filter((r) => r.session_id !== mine?.session_id),
|
|
707
|
+
{
|
|
708
|
+
branch: mine?.branch ?? null,
|
|
709
|
+
roadmap_slug: mine?.roadmap_slug ?? null,
|
|
710
|
+
...mine?.owned_paths !== void 0 ? { owned_paths: mine.owned_paths } : {}
|
|
711
|
+
}
|
|
712
|
+
);
|
|
713
|
+
if (overlaps.length > 0) {
|
|
714
|
+
process2.stdout.write(`
|
|
715
|
+
${overlaps.join("\n")}
|
|
716
|
+
`);
|
|
717
|
+
}
|
|
672
718
|
process2.stdout.write(
|
|
673
719
|
"Advisory only \u2014 this register is not a lock, and an idle session\ndisappears from it after its TTL although its user may return.\n"
|
|
674
720
|
);
|
|
@@ -773,7 +819,10 @@ function cmd_claim(argv, root) {
|
|
|
773
819
|
);
|
|
774
820
|
return 0;
|
|
775
821
|
}
|
|
776
|
-
const
|
|
822
|
+
const paths_idx = argv.indexOf("--paths");
|
|
823
|
+
const paths_arg = paths_idx >= 0 ? argv[paths_idx + 1] ?? "" : "";
|
|
824
|
+
const owned_paths = paths_arg.split(",").map((x) => x.trim()).filter((x) => x !== "");
|
|
825
|
+
const slug = argv.find((a, i) => !a.startsWith("-") && i !== paths_idx + 1);
|
|
777
826
|
if (slug === void 0 || slug.trim() === "") {
|
|
778
827
|
return usage();
|
|
779
828
|
}
|
|
@@ -802,7 +851,19 @@ function cmd_claim(argv, root) {
|
|
|
802
851
|
try {
|
|
803
852
|
write_atomic(
|
|
804
853
|
target,
|
|
805
|
-
`${JSON.stringify(
|
|
854
|
+
`${JSON.stringify(
|
|
855
|
+
{
|
|
856
|
+
slug: slug.trim(),
|
|
857
|
+
written_at: iso_now(),
|
|
858
|
+
session_id: sid,
|
|
859
|
+
// Absent, not empty, when nothing was declared: the whole
|
|
860
|
+
// additive guarantee of `owned_paths` rests on the field not
|
|
861
|
+
// being written at all in the ordinary case.
|
|
862
|
+
...owned_paths.length > 0 ? { paths: owned_paths } : {}
|
|
863
|
+
},
|
|
864
|
+
null,
|
|
865
|
+
2
|
|
866
|
+
)}
|
|
806
867
|
`
|
|
807
868
|
);
|
|
808
869
|
} catch (exc) {
|
|
@@ -812,8 +873,8 @@ function cmd_claim(argv, root) {
|
|
|
812
873
|
}
|
|
813
874
|
process2.stdout.write(
|
|
814
875
|
`Claimed "${slug.trim()}" for this session. It becomes visible to other
|
|
815
|
-
|
|
816
|
-
` + (sid === null ? "NOTE: this host exports no session id, so the claim is scoped to this\nWORKTREE \u2014 a second session in the same checkout will overwrite it.\n" : "") + // The heuristic axis reports here rather than refusing above.
|
|
876
|
+
` + (owned_paths.length > 0 ? `Declared ${owned_paths.length} owned path(s); peers sharing one are labelled PATH OVERLAP.
|
|
877
|
+
` : "") + "sessions on the next turn, when the heartbeat lifts it into the register.\n" + (sid === null ? "NOTE: this host exports no session id, so the claim is scoped to this\nWORKTREE \u2014 a second session in the same checkout will overwrite it.\n" : "") + // The heuristic axis reports here rather than refusing above.
|
|
817
878
|
(soft.length > 0 ? `WARNING: ${soft.length} branch name(s) in other worktrees resemble this roadmap.
|
|
818
879
|
` + soft.map((c) => ` \xB7 ${c.detail}
|
|
819
880
|
`).join("") + " A name match is a reason to look, not proof \u2014 check before you write code.\n" : "")
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
GLOBAL_AGENT_SETTINGS_PATH,
|
|
4
4
|
GLOBAL_USER_SETTINGS_PATH,
|
|
5
5
|
SETTINGS_FILE
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-236PNQZK.js";
|
|
7
|
+
import "./chunk-L43NCYPB.js";
|
|
8
8
|
import "./chunk-6RJA2F5A.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-WOKWX5PL.js";
|
|
10
10
|
import "./chunk-523HCFYO.js";
|
|
11
11
|
import "./chunk-PMEKGDED.js";
|
|
12
12
|
import "./chunk-MWRD5YOH.js";
|
|
13
13
|
import "./chunk-T7L2QK3K.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-DMSZHXZS.js";
|
|
15
15
|
import "./chunk-OY53J6II.js";
|
|
16
16
|
import "./chunk-MCJYCQPF.js";
|
|
17
17
|
import "./chunk-NLP54U3J.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __acCreateRequire } from 'node:module'; const require = globalThis.require ?? __acCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
main
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-236PNQZK.js";
|
|
5
|
+
import "./chunk-L43NCYPB.js";
|
|
6
6
|
import "./chunk-6RJA2F5A.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-WOKWX5PL.js";
|
|
8
8
|
import "./chunk-523HCFYO.js";
|
|
9
9
|
import {
|
|
10
10
|
manifest_path,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-PMEKGDED.js";
|
|
13
13
|
import "./chunk-MWRD5YOH.js";
|
|
14
14
|
import "./chunk-T7L2QK3K.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-DMSZHXZS.js";
|
|
16
16
|
import "./chunk-OY53J6II.js";
|
|
17
17
|
import "./chunk-MCJYCQPF.js";
|
|
18
18
|
import {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
PROJECT_BRIDGE_MARKERS,
|
|
4
4
|
USER_SCOPE_PATHS,
|
|
5
5
|
subtract_pointers
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-236PNQZK.js";
|
|
7
|
+
import "./chunk-L43NCYPB.js";
|
|
8
8
|
import "./chunk-6RJA2F5A.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-WOKWX5PL.js";
|
|
10
10
|
import "./chunk-523HCFYO.js";
|
|
11
11
|
import {
|
|
12
12
|
manifest_path,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
read_lockfile,
|
|
24
24
|
write_lockfile
|
|
25
25
|
} from "./chunk-T7L2QK3K.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-DMSZHXZS.js";
|
|
27
27
|
import "./chunk-OY53J6II.js";
|
|
28
28
|
import "./chunk-MCJYCQPF.js";
|
|
29
29
|
import {
|
|
@@ -3,10 +3,10 @@ import { createRequire as __acCreateRequire } from 'node:module'; const require
|
|
|
3
3
|
import {
|
|
4
4
|
PROJECT_BRIDGE_MARKERS,
|
|
5
5
|
USER_SCOPE_PATHS
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-236PNQZK.js";
|
|
7
|
+
import "./chunk-L43NCYPB.js";
|
|
8
8
|
import "./chunk-6RJA2F5A.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-WOKWX5PL.js";
|
|
10
10
|
import "./chunk-523HCFYO.js";
|
|
11
11
|
import {
|
|
12
12
|
manifest_path,
|
|
@@ -16,7 +16,7 @@ import "./chunk-MWRD5YOH.js";
|
|
|
16
16
|
import {
|
|
17
17
|
current_package_version
|
|
18
18
|
} from "./chunk-T7L2QK3K.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-DMSZHXZS.js";
|
|
20
20
|
import "./chunk-OY53J6II.js";
|
|
21
21
|
import "./chunk-MCJYCQPF.js";
|
|
22
22
|
import {
|