@codyswann/lisa 6.0.7 → 6.0.9
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/all/copy-overwrite/scripts/lisa-audit.mjs +1 -1
- package/dist/configs/eslint/expo.d.ts.map +1 -1
- package/dist/configs/eslint/expo.js +11 -3
- package/dist/configs/eslint/expo.js.map +1 -1
- package/dist/configs/eslint/slow-expo.d.ts +15 -6
- package/dist/configs/eslint/slow-expo.d.ts.map +1 -1
- package/dist/configs/eslint/slow-expo.js +48 -19
- package/dist/configs/eslint/slow-expo.js.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +4 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +53 -52
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/migrations/index.d.ts +0 -1
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +0 -3
- package/dist/migrations/index.js.map +1 -1
- package/expo/copy-overwrite/eslint.expo.ts +11 -3
- package/expo/package-lisa/package.lisa.json +2 -1
- package/package.json +8 -7
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-bug-triage/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-epic-triage/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-github-prd-intake/SKILL.md +5 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-github-to-tracker/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-write-ticket/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-prd-intake/SKILL.md +5 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-to-tracker/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-issue/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-notion-prd-intake/SKILL.md +5 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-notion-to-tracker/SKILL.md +3 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-review-implementation/SKILL.md +18 -16
- package/plugins/lisa/.codex-plugin/skills/lisa-security-audit-handling/SKILL.md +25 -25
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-jira/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-local-env/SKILL.md +6 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-spec-conformance/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-task-triage/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
- package/plugins/lisa/agents/confluence-prd-intake.md +1 -1
- package/plugins/lisa/agents/github-build-intake.md +1 -1
- package/plugins/lisa/agents/github-prd-intake.md +1 -1
- package/plugins/lisa/agents/jira-build-intake.md +1 -1
- package/plugins/lisa/agents/linear-build-intake.md +1 -1
- package/plugins/lisa/agents/linear-prd-intake.md +1 -1
- package/plugins/lisa/agents/notion-prd-intake.md +1 -1
- package/plugins/lisa/agents/spec-conformance-specialist.md +3 -3
- package/plugins/lisa/rules/eager/base-rules.md +1 -1
- package/plugins/lisa/rules/eager/coding-philosophy.md +3 -2
- package/plugins/lisa/rules/eager/history-audit.md +1 -1
- package/plugins/lisa/rules/eager/production-verifiability.md +1 -1
- package/plugins/lisa/rules/eager/verification.md +1 -1
- package/plugins/lisa/rules/reference/automation-runbook-contract.md +1 -1
- package/plugins/lisa/rules/reference/coding-philosophy.md +38 -0
- package/plugins/lisa/rules/reference/config-resolution.md +2 -2
- package/plugins/lisa/rules/reference/intent-routing.md +3 -3
- package/plugins/lisa/rules/reference/readiness-rubric.md +1 -1
- package/plugins/lisa/rules/reference/security-audit-handling.md +9 -1
- package/plugins/lisa/skills/lisa-bug-triage/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
- package/plugins/lisa/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-epic-triage/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-github-prd-intake/SKILL.md +5 -1
- package/plugins/lisa/skills/lisa-github-to-tracker/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-jira-write-ticket/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-linear-prd-intake/SKILL.md +5 -1
- package/plugins/lisa/skills/lisa-linear-to-tracker/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-linear-write-issue/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-notion-prd-intake/SKILL.md +5 -1
- package/plugins/lisa/skills/lisa-notion-to-tracker/SKILL.md +3 -3
- package/plugins/lisa/skills/lisa-review-implementation/SKILL.md +18 -16
- package/plugins/lisa/skills/lisa-security-audit-handling/SKILL.md +25 -25
- package/plugins/lisa/skills/lisa-security-audit-handling/agents/openai.yaml +2 -2
- package/plugins/lisa/skills/lisa-setup-jira/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-setup-local-env/SKILL.md +6 -3
- package/plugins/lisa/skills/lisa-spec-conformance/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-task-triage/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
- package/plugins/lisa-agy/agents/confluence-prd-intake.md +1 -1
- package/plugins/lisa-agy/agents/github-build-intake.md +1 -1
- package/plugins/lisa-agy/agents/github-prd-intake.md +1 -1
- package/plugins/lisa-agy/agents/jira-build-intake.md +1 -1
- package/plugins/lisa-agy/agents/linear-build-intake.md +1 -1
- package/plugins/lisa-agy/agents/linear-prd-intake.md +1 -1
- package/plugins/lisa-agy/agents/notion-prd-intake.md +1 -1
- package/plugins/lisa-agy/agents/spec-conformance-specialist.md +3 -3
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-bug-triage/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-agy/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-epic-triage/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-github-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-agy/skills/lisa-github-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-jira-write-ticket/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-linear-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-agy/skills/lisa-linear-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-linear-write-issue/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-notion-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-agy/skills/lisa-notion-to-tracker/SKILL.md +3 -3
- package/plugins/lisa-agy/skills/lisa-review-implementation/SKILL.md +18 -16
- package/plugins/lisa-agy/skills/lisa-security-audit-handling/SKILL.md +25 -25
- package/plugins/lisa-agy/skills/lisa-setup-jira/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-setup-local-env/SKILL.md +6 -3
- package/plugins/lisa-agy/skills/lisa-spec-conformance/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-task-triage/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/agents/confluence-prd-intake.agent.md +1 -1
- package/plugins/lisa-copilot/agents/github-build-intake.agent.md +1 -1
- package/plugins/lisa-copilot/agents/github-prd-intake.agent.md +1 -1
- package/plugins/lisa-copilot/agents/jira-build-intake.agent.md +1 -1
- package/plugins/lisa-copilot/agents/linear-build-intake.agent.md +1 -1
- package/plugins/lisa-copilot/agents/linear-prd-intake.agent.md +1 -1
- package/plugins/lisa-copilot/agents/notion-prd-intake.agent.md +1 -1
- package/plugins/lisa-copilot/agents/spec-conformance-specialist.agent.md +3 -3
- package/plugins/lisa-copilot/rules/eager/base-rules.md +1 -1
- package/plugins/lisa-copilot/rules/eager/coding-philosophy.md +3 -2
- package/plugins/lisa-copilot/rules/eager/history-audit.md +1 -1
- package/plugins/lisa-copilot/rules/eager/production-verifiability.md +1 -1
- package/plugins/lisa-copilot/rules/eager/verification.md +1 -1
- package/plugins/lisa-copilot/rules/reference/automation-runbook-contract.md +1 -1
- package/plugins/lisa-copilot/rules/reference/coding-philosophy.md +38 -0
- package/plugins/lisa-copilot/rules/reference/config-resolution.md +2 -2
- package/plugins/lisa-copilot/rules/reference/intent-routing.md +3 -3
- package/plugins/lisa-copilot/rules/reference/readiness-rubric.md +1 -1
- package/plugins/lisa-copilot/rules/reference/security-audit-handling.md +9 -1
- package/plugins/lisa-copilot/skills/lisa-bug-triage/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-copilot/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-epic-triage/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-github-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-copilot/skills/lisa-github-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-jira-write-ticket/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-linear-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-copilot/skills/lisa-linear-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-linear-write-issue/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-notion-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-copilot/skills/lisa-notion-to-tracker/SKILL.md +3 -3
- package/plugins/lisa-copilot/skills/lisa-review-implementation/SKILL.md +18 -16
- package/plugins/lisa-copilot/skills/lisa-security-audit-handling/SKILL.md +25 -25
- package/plugins/lisa-copilot/skills/lisa-setup-jira/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-setup-local-env/SKILL.md +6 -3
- package/plugins/lisa-copilot/skills/lisa-spec-conformance/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-task-triage/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/agents/confluence-prd-intake.md +1 -1
- package/plugins/lisa-cursor/agents/github-build-intake.md +1 -1
- package/plugins/lisa-cursor/agents/github-prd-intake.md +1 -1
- package/plugins/lisa-cursor/agents/jira-build-intake.md +1 -1
- package/plugins/lisa-cursor/agents/linear-build-intake.md +1 -1
- package/plugins/lisa-cursor/agents/linear-prd-intake.md +1 -1
- package/plugins/lisa-cursor/agents/notion-prd-intake.md +1 -1
- package/plugins/lisa-cursor/agents/spec-conformance-specialist.md +3 -3
- package/plugins/lisa-cursor/rules/automation-runbook-contract-reference.mdc +1 -1
- package/plugins/lisa-cursor/rules/base-rules.mdc +1 -1
- package/plugins/lisa-cursor/rules/coding-philosophy-reference.mdc +38 -0
- package/plugins/lisa-cursor/rules/coding-philosophy.mdc +3 -2
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +2 -2
- package/plugins/lisa-cursor/rules/history-audit.mdc +2 -2
- package/plugins/lisa-cursor/rules/intent-routing-reference.mdc +3 -3
- package/plugins/lisa-cursor/rules/production-verifiability.mdc +1 -1
- package/plugins/lisa-cursor/rules/readiness-rubric-reference.mdc +1 -1
- package/plugins/lisa-cursor/rules/security-audit-handling-reference.mdc +9 -1
- package/plugins/lisa-cursor/rules/verification.mdc +1 -1
- package/plugins/lisa-cursor/skills/lisa-bug-triage/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-cursor/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-epic-triage/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-github-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-cursor/skills/lisa-github-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-jira-write-ticket/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-linear-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-cursor/skills/lisa-linear-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-linear-write-issue/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-notion-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-cursor/skills/lisa-notion-to-tracker/SKILL.md +3 -3
- package/plugins/lisa-cursor/skills/lisa-review-implementation/SKILL.md +18 -16
- package/plugins/lisa-cursor/skills/lisa-security-audit-handling/SKILL.md +25 -25
- package/plugins/lisa-cursor/skills/lisa-setup-jira/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-setup-local-env/SKILL.md +6 -3
- package/plugins/lisa-cursor/skills/lisa-spec-conformance/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-task-triage/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/agents/confluence-prd-intake.md +1 -1
- package/plugins/lisa-devin/agents/github-build-intake.md +1 -1
- package/plugins/lisa-devin/agents/github-prd-intake.md +1 -1
- package/plugins/lisa-devin/agents/jira-build-intake.md +1 -1
- package/plugins/lisa-devin/agents/linear-build-intake.md +1 -1
- package/plugins/lisa-devin/agents/linear-prd-intake.md +1 -1
- package/plugins/lisa-devin/agents/notion-prd-intake.md +1 -1
- package/plugins/lisa-devin/agents/spec-conformance-specialist.md +3 -3
- package/plugins/lisa-devin/rules/eager/base-rules.md +1 -1
- package/plugins/lisa-devin/rules/eager/coding-philosophy.md +3 -2
- package/plugins/lisa-devin/rules/eager/history-audit.md +1 -1
- package/plugins/lisa-devin/rules/eager/production-verifiability.md +1 -1
- package/plugins/lisa-devin/rules/eager/verification.md +1 -1
- package/plugins/lisa-devin/rules/reference/automation-runbook-contract.md +1 -1
- package/plugins/lisa-devin/rules/reference/coding-philosophy.md +38 -0
- package/plugins/lisa-devin/rules/reference/config-resolution.md +2 -2
- package/plugins/lisa-devin/rules/reference/intent-routing.md +3 -3
- package/plugins/lisa-devin/rules/reference/readiness-rubric.md +1 -1
- package/plugins/lisa-devin/rules/reference/security-audit-handling.md +9 -1
- package/plugins/lisa-devin/skills/lisa-bug-triage/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-devin/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-epic-triage/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-github-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-devin/skills/lisa-github-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-jira-write-ticket/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-linear-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-devin/skills/lisa-linear-to-tracker/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-linear-write-issue/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-notion-prd-intake/SKILL.md +5 -1
- package/plugins/lisa-devin/skills/lisa-notion-to-tracker/SKILL.md +3 -3
- package/plugins/lisa-devin/skills/lisa-review-implementation/SKILL.md +18 -16
- package/plugins/lisa-devin/skills/lisa-security-audit-handling/SKILL.md +25 -25
- package/plugins/lisa-devin/skills/lisa-setup-jira/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-setup-local-env/SKILL.md +6 -3
- package/plugins/lisa-devin/skills/lisa-spec-conformance/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-task-triage/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/expo-ui-swift-ui/SKILL.md +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/play-store-access/SKILL.md +5 -3
- package/plugins/lisa-expo/.codex-plugin/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
- package/plugins/lisa-expo/skills/expo-ui-swift-ui/SKILL.md +1 -1
- package/plugins/lisa-expo/skills/play-store-access/SKILL.md +5 -3
- package/plugins/lisa-expo/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-agy/skills/expo-ui-swift-ui/SKILL.md +1 -1
- package/plugins/lisa-expo-agy/skills/play-store-access/SKILL.md +5 -3
- package/plugins/lisa-expo-agy/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/skills/expo-ui-swift-ui/SKILL.md +1 -1
- package/plugins/lisa-expo-copilot/skills/play-store-access/SKILL.md +5 -3
- package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/skills/expo-ui-swift-ui/SKILL.md +1 -1
- package/plugins/lisa-expo-cursor/skills/play-store-access/SKILL.md +5 -3
- package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/skills/expo-ui-swift-ui/SKILL.md +1 -1
- package/plugins/lisa-expo-devin/skills/play-store-access/SKILL.md +5 -3
- package/plugins/lisa-expo-devin/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/skills/phaser-asset-sourcing/SKILL.md +14 -9
- package/plugins/lisa-phaser/skills/phaser-asset-sourcing/SKILL.md +14 -9
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/skills/phaser-asset-sourcing/SKILL.md +14 -9
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/skills/phaser-asset-sourcing/SKILL.md +14 -9
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/skills/phaser-asset-sourcing/SKILL.md +14 -9
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/skills/phaser-asset-sourcing/SKILL.md +14 -9
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/skills/lisa-wiki-ingest/SKILL.md +6 -2
- package/plugins/lisa-wiki/skills/lisa-wiki-ingest/SKILL.md +6 -2
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/skills/lisa-wiki-ingest/SKILL.md +6 -2
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/skills/lisa-wiki-ingest/SKILL.md +6 -2
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/skills/lisa-wiki-ingest/SKILL.md +6 -2
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/skills/lisa-wiki-ingest/SKILL.md +6 -2
- package/plugins/src/base/agents/confluence-prd-intake.md +1 -1
- package/plugins/src/base/agents/github-build-intake.md +1 -1
- package/plugins/src/base/agents/github-prd-intake.md +1 -1
- package/plugins/src/base/agents/jira-build-intake.md +1 -1
- package/plugins/src/base/agents/linear-build-intake.md +1 -1
- package/plugins/src/base/agents/linear-prd-intake.md +1 -1
- package/plugins/src/base/agents/notion-prd-intake.md +1 -1
- package/plugins/src/base/agents/spec-conformance-specialist.md +3 -3
- package/plugins/src/base/rules/eager/base-rules.md +1 -1
- package/plugins/src/base/rules/eager/coding-philosophy.md +3 -2
- package/plugins/src/base/rules/eager/history-audit.md +1 -1
- package/plugins/src/base/rules/eager/production-verifiability.md +1 -1
- package/plugins/src/base/rules/eager/verification.md +1 -1
- package/plugins/src/base/rules/reference/automation-runbook-contract.md +1 -1
- package/plugins/src/base/rules/reference/coding-philosophy.md +38 -0
- package/plugins/src/base/rules/reference/config-resolution.md +2 -2
- package/plugins/src/base/rules/reference/intent-routing.md +3 -3
- package/plugins/src/base/rules/reference/readiness-rubric.md +1 -1
- package/plugins/src/base/rules/reference/security-audit-handling.md +9 -1
- package/plugins/src/base/skills/lisa-bug-triage/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-confluence-prd-intake/SKILL.md +5 -1
- package/plugins/src/base/skills/lisa-confluence-to-tracker/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-epic-triage/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-github-prd-intake/SKILL.md +5 -1
- package/plugins/src/base/skills/lisa-github-to-tracker/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-jira-validate-ticket/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-jira-write-ticket/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-linear-prd-intake/SKILL.md +5 -1
- package/plugins/src/base/skills/lisa-linear-to-tracker/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-linear-write-issue/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-notion-prd-intake/SKILL.md +5 -1
- package/plugins/src/base/skills/lisa-notion-to-tracker/SKILL.md +3 -3
- package/plugins/src/base/skills/lisa-review-implementation/SKILL.md +18 -16
- package/plugins/src/base/skills/lisa-security-audit-handling/SKILL.md +25 -25
- package/plugins/src/base/skills/lisa-setup-jira/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-setup-local-env/SKILL.md +6 -3
- package/plugins/src/base/skills/lisa-spec-conformance/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-task-triage/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-validate-tracker-mapping/SKILL.md +14 -11
- package/plugins/src/expo/skills/expo-ui-swift-ui/SKILL.md +1 -1
- package/plugins/src/expo/skills/play-store-access/SKILL.md +5 -3
- package/plugins/src/expo/skills/upgrading-expo/references/react-navigation-to-expo-router.md +2 -2
- package/plugins/src/phaser/skills/phaser-asset-sourcing/SKILL.md +14 -9
- package/plugins/src/wiki/skills/lisa-wiki-ingest/SKILL.md +6 -2
- package/scripts/lisa-audit.mjs +1 -1
- package/typescript/copy-overwrite/audit.ignore.config.json +1 -140
- package/dist/migrations/ensure-audit-ignore-local-exclusions.d.ts +0 -51
- package/dist/migrations/ensure-audit-ignore-local-exclusions.d.ts.map +0 -1
- package/dist/migrations/ensure-audit-ignore-local-exclusions.js +0 -245
- package/dist/migrations/ensure-audit-ignore-local-exclusions.js.map +0 -1
|
@@ -1,36 +1,32 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-security-audit-handling
|
|
3
|
-
description: "What to do when a push or CI is blocked by the dependency security audit:
|
|
3
|
+
description: "What to do when a push or CI is blocked by the dependency security audit, in order: refresh the lockfile, upgrade the direct dependency, add a targeted override, exclude an advisory that cannot reach the project with a stated reason, then replace or remove the dependency. Never bypasses the hook."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Security Audit Handling
|
|
7
7
|
|
|
8
|
-
Use this when `git push` (or a CI audit gate) fails because the dependency audit reports high or critical advisories. Work the
|
|
8
|
+
Use this when `git push` (or a CI audit gate) fails because the dependency audit reports high or critical advisories. Work the ladder below **autonomously**. Never use `--no-verify`, `HUSKY=0`, `core.hooksPath`, or any other hook bypass to skip the security audit.
|
|
9
9
|
|
|
10
|
-
## The
|
|
10
|
+
## The fix ladder
|
|
11
11
|
|
|
12
|
-
The
|
|
12
|
+
The remedy for a high/critical advisory is an ordered decision, not a question to forward to the user. For each advisory, work the steps **in this order** and stop at the first one that resolves it. The audit's failure message prints the same order.
|
|
13
13
|
|
|
14
|
-
1. **
|
|
15
|
-
2. **
|
|
16
|
-
3. **
|
|
17
|
-
4. **
|
|
18
|
-
5. **
|
|
14
|
+
1. **Refresh the lockfile within the current range.** Most transitive fixes are published inside the range the parent already accepts; a stale lockfile is the usual cause.
|
|
15
|
+
2. **Upgrade the direct dependency** that pulls the vulnerable copy to a release that depends on a patched one.
|
|
16
|
+
3. **Add a targeted override** that pins the vulnerable **leaf** package to the fixed version.
|
|
17
|
+
4. **Evaluate reachability, and exclude with a stated reason if unaffected** — before considering any code change. If the advisory cannot affect this project, add a scoped exclusion with a concrete reason to `audit.ignore.local.json`. No human is needed. Typical unreachable cases: the package is used only by dev or build tooling, or the vulnerable input is never untrusted (for example, globs or patterns written in the repository itself). The evaluation is this project's own: Lisa's template exclusions cannot vouch for a host's reachability, so a host the audit flags records its own entry in `audit.ignore.local.json`. **If reachability cannot be proven, treat the advisory as affecting the project** and continue at step 5.
|
|
18
|
+
5. **Replace or remove the dependency** when it affects the project and no fixed version exists: a maintained alternative, a newer major of the parent that no longer pulls the package, or dropping it.
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
If none of these works in this change, **file a build-ready ticket** in the configured tracker (through `lisa-tracker-write` with `build_ready: true`) carrying the evidence: the advisory, the dependency path that reaches the vulnerable copy, and what was tried at each of the five steps and why it failed. The factory then carries the replacement or removal as work. Stop only when the next act needs access you do not have, and then say exactly what is missing.
|
|
21
21
|
|
|
22
22
|
## Node.js Projects (GHSA advisories)
|
|
23
23
|
|
|
24
|
-
1. Note the GHSA ID(s), affected package(s), and advisory URL from the error output.
|
|
25
|
-
2. Check the advisory
|
|
26
|
-
3. **Step 1 —
|
|
27
|
-
4. **Step 2 —
|
|
28
|
-
5. **Step 3 —
|
|
29
|
-
6. **Step 4 —
|
|
30
|
-
- **Mitigate** if you can: replace or remove the vulnerable package, or guard the reachable code path so untrusted input cannot reach it, then retry.
|
|
31
|
-
- **Otherwise accept the risk**: add an exclusion entry (as in step 5) whose `reason` records the impact, why no fix or mitigation is possible now, and an expiry date, and file a build-ready follow-up work item to remove the exclusion when a fix ships.
|
|
32
|
-
- Under `humanGate.mode: "strict"`, stop for a human as described in rung 4 instead. That is the only step that pauses for a human in strict mode.
|
|
33
|
-
7. **Step 5 — ignore:** If the evaluation shows the vulnerability **does not** affect the project, add an exclusion entry to `audit.ignore.local.json` yourself, in the format `{"id": "GHSA-xxx", "package": "pkg-name", "reason": "<impact evaluation: why this advisory does not affect this project>"}`, then commit and retry the push. No human approval is required for this step — the `reason` field is the record of your evaluation.
|
|
24
|
+
1. Note the GHSA ID(s), affected package(s), vulnerable lockfile path(s), and advisory URL from the error output.
|
|
25
|
+
2. Check the advisory for the patched version in each affected major (`gh api /advisories/<GHSA-id>`). Also check whether it was withdrawn.
|
|
26
|
+
3. **Step 1 — refresh:** if the patched version satisfies the range the parent declares, update the lockfile for that package (`bun update <pkg>`, `npm update <pkg>`, or `yarn upgrade <pkg>`), confirm with `bun why <pkg>` / `npm ls <pkg>` that every copy is patched, commit, and retry.
|
|
27
|
+
4. **Step 2 — upgrade:** otherwise upgrade the direct dependency whose chain pulls the copy to a release that accepts the patched version, regenerate the lockfile, run the project's tests, commit, and retry.
|
|
28
|
+
5. **Step 3 — override:** otherwise pin the **leaf** package in both `overrides` and `resolutions` in `package.json` (see below), regenerate the lockfile, run the tests, commit, and retry. In a Lisa host, if the fix should reach every project on the stack, propose it upstream in Lisa's `package.lisa.json`.
|
|
29
|
+
6. **Step 4 — evaluate reachability:** if no refresh, upgrade or override lands a patched copy (no fixed version exists, or every compatible pin breaks a dependent), decide whether the vulnerability can affect this project **before changing any code**. Consider: is the vulnerable code path reachable from this project's usage? Does it process untrusted input? Is the dependency runtime, or dev/build-only? If it cannot affect the project, add an exclusion entry to `audit.ignore.local.json` yourself, in the format `{"id": "GHSA-xxx", "package": "pkg-name", "reason": "<impact evaluation: why this advisory does not affect this project>"}`, then commit and retry the push. No human approval is required for this step — the `reason` field is the record of your evaluation. If you cannot show it is unreachable, it affects the project: go on to step 5.
|
|
34
30
|
- **Scope the exclusion to the copy you evaluated.** An entry with only `id` (and `package`) hides the advisory for every copy of the package, including one a production dependency pulls in later. Two optional fields narrow it, and every field present must hold together:
|
|
35
31
|
- `versions` — a semver range the excused installed copies must fall inside, such as `">=3.0.0 <4.0.0"`.
|
|
36
32
|
- `paths` — a non-empty array of exact lockfile key paths for the excused copies: a `bun.lock` `packages` key such as `"lint-plugin/pkg"`, a `package-lock.json` `packages` key such as `"node_modules/lint-plugin/node_modules/pkg"`, or a `yarn.lock` selector key. No globs. Bun keys and nested npm keys isolate one parent. A `yarn.lock` selector names a requested range, not a parent, and a hoisted npm key (`"node_modules/pkg"`) names an install location; any later dependent that asks for that range or resolves to that hoisted copy is covered too, so pair those keys with a tight `versions` range.
|
|
@@ -40,6 +36,9 @@ Every step is autonomous by default. Take step 4 only after you have genuinely a
|
|
|
40
36
|
{"id": "GHSA-xxx", "package": "pkg", "versions": ">=3.0.0 <4.0.0", "paths": ["lint-plugin/pkg"], "reason": "<impact evaluation>"}
|
|
41
37
|
```
|
|
42
38
|
Then any other vulnerable copy — on an unlisted path or through an npm alias — still fails the audit and is named by its lockfile path. An empty `paths` array, an invalid range, or an unreadable lockfile fails the audit with a diagnostic; it never widens into an ID-wide exclusion. The pre-push hook, the gate registry, and CI use the same matcher. `lisa doctor` checks the scope fields and that the lockfile is readable, and reports any remaining exclusion without `versions` or `paths`, but it does not match advisories against lockfile copies — a valid-looking path that names the wrong copy can pass doctor and still be rejected by the audit. Doctor also does not reject an entry with no `id` or an exclusion file that does not parse; the audit does. Only the audit proves the exclusion files are accepted. In CI, the reusable workflow audits the manager its `package_manager` input names (default `npm`), so set that input to the project's manager. A scoped entry always wins over a wider entry for the same advisory and package. Full contract: https://github.com/CodySwannGT/lisa/blob/main/docs/dependency-audit-exclusions.md
|
|
39
|
+
7. **Step 5 — replace or remove:** if the advisory affects the project, replace the dependency with a maintained alternative or remove it, prove behavior with the tests, commit, and retry.
|
|
40
|
+
8. If none of these works in this change, file the build-ready ticket described above.
|
|
41
|
+
|
|
43
42
|
|
|
44
43
|
### Critical: Override the vulnerable package, not its parent
|
|
45
44
|
|
|
@@ -47,18 +46,19 @@ When the audit output shows a dependency chain like `@expo/cli › glob › mini
|
|
|
47
46
|
|
|
48
47
|
**Never override a parent package to force a lower major version** — other packages in the project may depend on a newer major version, and a resolution/override forces ALL installations to the specified version. For example, overriding `glob` to `^8.1.0` will break `@expo/cli` which requires `glob@^13.0.0`, causing `expo prebuild` to fail with `files.map is not a function`.
|
|
49
48
|
|
|
50
|
-
Before adding a resolution/override (step
|
|
49
|
+
Before adding a resolution/override (step 3), verify:
|
|
51
50
|
- You are targeting the **actually vulnerable package**, not a parent in the chain.
|
|
52
51
|
- The override version is **compatible with all dependents** (check with `bun why <package>` or `npm ls <package>`).
|
|
53
52
|
- The override does not **downgrade** a package across a major version boundary that other dependencies require.
|
|
54
53
|
|
|
55
|
-
If any of these checks fail, the override is "not possible" for the purposes of the ladder —
|
|
54
|
+
If any of these checks fail, the override is "not possible" for the purposes of the ladder — go to step 4 (evaluate reachability).
|
|
56
55
|
|
|
57
56
|
### Never
|
|
58
57
|
|
|
59
58
|
- Never add a blanket audit bypass or lower the configured audit level.
|
|
60
|
-
- Never
|
|
61
|
-
- Never
|
|
59
|
+
- Never add an exclusion without an impact evaluation recorded in its `reason`, and never for an advisory you cannot show is unreachable.
|
|
60
|
+
- Never file the ticket before genuinely attempting all five steps.
|
|
61
|
+
- Never wait on a human the work does not need; stop only for missing access, and name it.
|
|
62
62
|
|
|
63
63
|
## Rails Projects (bundler-audit)
|
|
64
64
|
|
|
@@ -69,4 +69,4 @@ Same ladder, bundler mechanics:
|
|
|
69
69
|
3. **Step 1 — update:** If a patched version exists:
|
|
70
70
|
- **Direct dependency** (in Gemfile): update its version constraint, run `bundle update <gem>`, commit, retry.
|
|
71
71
|
- **Transitive dependency** (only in Gemfile.lock): run `bundle update <gem>` to pull the patched version without changing the Gemfile, commit the lockfile change, retry.
|
|
72
|
-
4. **
|
|
72
|
+
4. **No patch:** If no patched version exists, evaluate whether the advisory can affect the project. If it **cannot**, document the exception with the reason and retry. If it **does**, or you cannot show it does not, upgrade or replace the gem that pulls it, or remove it. If none of that works, file a build-ready ticket with the evidence, as above.
|
|
@@ -44,8 +44,8 @@ Lisa's build lifecycle uses three role-keyed statuses (`ready` → `claimed` →
|
|
|
44
44
|
For each role:
|
|
45
45
|
|
|
46
46
|
1. If a status with the **default name** exists in the workflow → use the default; no config entry needed.
|
|
47
|
-
2. If the default name is missing but
|
|
48
|
-
3. If nothing plausible exists →
|
|
47
|
+
2. If the default name is missing but exactly one status fits the role (e.g. `Resolved` is the only candidate for `Done`) → map the role to it and record the mapping; do not prompt. Only when several statuses fit → present those candidates via `AskUserQuestion` and let the operator pick which maps to the role (`config-resolution`).
|
|
48
|
+
3. If nothing plausible exists → this is missing access, not a choice: `lisa-atlassian-access` cannot edit a Jira workflow. Stop and name the status to add and that adding it needs Jira project-admin rights. The operator running this setup may instead pick the closest existing status as a fallback.
|
|
49
49
|
|
|
50
50
|
Collect overrides as a partial workflow map. ONLY write keys that differ from defaults — don't bloat the config with redundant values.
|
|
51
51
|
|
|
@@ -82,7 +82,7 @@ invoking `maestro`, wires an MCP server whose CLI it also shells out to, and con
|
|
|
82
82
|
Playwright thresholds, while `remoteEnv.tools` stays empty and each of those fails at the
|
|
83
83
|
moment of use instead of at setup.
|
|
84
84
|
|
|
85
|
-
The detector proposes and
|
|
85
|
+
The detector proposes and the dependency trust gate decides (see below). It writes nothing, so a tool still only ever reaches
|
|
86
86
|
a machine from a reviewed, pinned, checksummed entry.
|
|
87
87
|
|
|
88
88
|
## What it will not do
|
|
@@ -91,5 +91,8 @@ a machine from a reviewed, pinned, checksummed entry.
|
|
|
91
91
|
flow uses, and the same in-process checksum verification, which refuses before unpacking.
|
|
92
92
|
- **No package-manager fallback.** Shelling out to Homebrew would give no version pin and no
|
|
93
93
|
checksum, which is the property this design exists to enforce.
|
|
94
|
-
- **No writes to the manifest.** Proposing entries belongs to `/lisa:detect-tooling
|
|
95
|
-
|
|
94
|
+
- **No writes to the manifest.** Proposing entries belongs to `/lisa:detect-tooling`. Admitting
|
|
95
|
+
a pinned, checksummed tool is a supply-chain trust decision, so it goes through the dependency
|
|
96
|
+
trust gate (`dependency-trust-classes`): when `dependencies.humanSignOff` is on, a person
|
|
97
|
+
ratifies the entry; when it is off, the agent decides and records why in the reviewed PR that
|
|
98
|
+
commits the entry.
|
|
@@ -67,7 +67,7 @@ Gather evidence of what was actually shipped:
|
|
|
67
67
|
```bash
|
|
68
68
|
git diff "${BASE_BRANCH}"...HEAD -- '**/*.test.*' '**/*.spec.*'
|
|
69
69
|
```
|
|
70
|
-
4. **Empirical evidence** — output of `verification-specialist` if available (proof artifacts, API captures, UI screenshots, DB queries). If that report isn't in context, ask the caller for it before proceeding — do not substitute reading code for running the system.
|
|
70
|
+
4. **Empirical evidence** — output of `verification-specialist` if available (proof artifacts, API captures, UI screenshots, DB queries). If that report isn't in context, ask the caller for it before proceeding and return no verdict until it arrives — do not substitute reading code for running the system. The caller recovers by running `verification-specialist` on the current head, then re-running this skill against that report.
|
|
71
71
|
4a. **The machine-readable verdict** — `Read` `${CLAUDE_PROJECT_DIR:-.}/.lisa/verification-status.json`. Under **schema v2** it is the structured form of the evidence above, and it is what lets you check a claim's *reach* instead of taking "verified" at its word. Load `artifact` (`repository`, `head_sha`, `environment`), `claims[]` (`claim_id`, `statement`, `boundary`, `required_evidence_kinds`, `status`, `evidence_refs`, `not_established`), `evidence[]` (`evidence_id`, `kind`, `locator`, `sha256`, `captured_at`, `artifact_head_sha`), and the `not_established_reviewed` flag.
|
|
72
72
|
5. **PR description** — `gh pr view --json title,body,files` if a PR exists.
|
|
73
73
|
6. **Deployed state** — if the verification phase already hit a deployed environment, use those captures.
|
|
@@ -134,7 +134,7 @@ Separately from the matrix, scan the diff for work NOT traceable to any requirem
|
|
|
134
134
|
- Summarize the change in one line
|
|
135
135
|
- Classify as `UNTRACEABLE_CHANGE` (not necessarily wrong — refactors often land here — but MUST be surfaced)
|
|
136
136
|
|
|
137
|
-
Untraceable changes are not automatic failures. They become findings the
|
|
137
|
+
Untraceable changes are not automatic failures. They become findings the implementer resolves. A refactor or test support that leaves behavior unchanged may be justified in the PR. A substantive change that materially alters behavior cannot be justified away, because it still makes the verdict `DIVERGES`: revert it, or move it to a ticket.
|
|
138
138
|
|
|
139
139
|
**Ownership fixes are not scope creep.** A change that fixes a real defect in code this work touches or depends on, and is listed in the PR description as such, is expected under the bounded ownership rule: classify it `OWNERSHIP_FIX` in the untraceable list, never `SCOPE_CREEP_VIOLATION`, and never count it against the verdict. Two exceptions still count: the fix lands in something the spec's Out of Scope names explicitly, or the PR does not list it (an unlisted fix is an ordinary `UNTRACEABLE_CHANGE`). Work on code the change neither touches nor depends on belongs in a ticket, not this PR.
|
|
140
140
|
|
|
@@ -9,8 +9,8 @@ Follow this 8-step triage process before implementing any task. Do not skip tria
|
|
|
9
9
|
|
|
10
10
|
## Triage Steps
|
|
11
11
|
|
|
12
|
-
1. Verify you have all information needed to implement this task (acceptance criteria, design specs, environment information, dependencies, etc.). Do not make assumptions. If anything is missing,
|
|
13
|
-
2. Verify you have a clear understanding of the expected behavior or outcome when the task is complete. If not,
|
|
12
|
+
1. Verify you have all information needed to implement this task (acceptance criteria, design specs, environment information, dependencies, etc.). Do not make unrecorded assumptions. If anything is missing, find it in the item, its linked work, the code, the wiki and git history, and where a reasonable default exists, take it and record it on the item. Stop only for what that cannot settle — missing access, or a product question with no reasonable default — through the flow's blocked exit, with a specific question and your recommended answer.
|
|
13
|
+
2. Verify you have a clear understanding of the expected behavior or outcome when the task is complete. If not, settle it the same way as step 1 before starting.
|
|
14
14
|
3. Identify all dependencies (other tasks, services, APIs, data) that must be in place before you can complete this task. If any are unresolved, stop and raise them before starting implementation.
|
|
15
15
|
4. Verify you have access to the tools, environments, and permissions needed to deploy and verify this task (e.g. CI/CD pipelines, deployment targets, logging/monitoring systems, API access, database access). If any are missing or inaccessible, stop and raise them before starting implementation.
|
|
16
16
|
5. Define the tests you will write to confirm the task is implemented correctly and prevent regressions.
|
|
@@ -15,10 +15,10 @@ It is the audit/repair counterpart to `/lisa:setup:jira` (and the other `setup:*
|
|
|
15
15
|
## Confirmation policy
|
|
16
16
|
|
|
17
17
|
- **Default mode is read-only.** Detect drift and report. Never mutate config or the tracker.
|
|
18
|
-
- **`repair=true` enables writes — to the config
|
|
18
|
+
- **`repair=true` enables writes — to the config, plus one tracker write: re-creating a MISSING label.** Within repair mode:
|
|
19
19
|
- **Case drift** (the live workflow has the same name with different casing — the configured name resolves case-insensitively but the canonical case differs) is repaired automatically: rewrite the config value to the live canonical name. This is non-destructive and unambiguous.
|
|
20
|
-
- **Missing name** (no case-insensitive match exists in the live set — renamed beyond recognition or deleted) is
|
|
21
|
-
- This skill never renames or deletes anything in the tracker/source.
|
|
20
|
+
- **Missing name** (no case-insensitive match exists in the live set — renamed beyond recognition or deleted) is never repointed at a guessed near-match. See "MISSING" in Step 6: create the configured name when access allows, or stop as missing access. Only an operator running this skill interactively is offered the near-matches via `AskUserQuestion`.
|
|
21
|
+
- This skill never renames or deletes anything in the tracker/source. Apart from re-creating a MISSING label under its configured name, repair fixes the Lisa config to match reality. This matches `config-resolution`, "Defaults vs. requirements".
|
|
22
22
|
|
|
23
23
|
## Arguments
|
|
24
24
|
|
|
@@ -361,7 +361,7 @@ Write those lines for a non-technical operator: say what was seen and what a
|
|
|
361
361
|
person might do about it, never "FAIL". A healthy repository prints
|
|
362
362
|
`scoping labels: none` and nothing else.
|
|
363
363
|
|
|
364
|
-
End with a roll-up: counts of VALID / DRIFTED / UNRESOLVABLE projects and the exact next command (`… repair=true` when drift is auto-repairable;
|
|
364
|
+
End with a roll-up: counts of VALID / DRIFTED / UNRESOLVABLE projects and the exact next command (`… repair=true` when drift is auto-repairable; the missing access (status/label and permission) when a MISSING name could not be re-created; `/lisa:setup:linear` when a `ready` is INVERTED; an admin note naming the items when a repo scope is UNSTAMPED_ALIAS). Scoping-label findings are reported alongside that roll-up as a **separate count**, never folded into DRIFTED.
|
|
365
365
|
|
|
366
366
|
## Step 6 — Repair (only when `repair=true`)
|
|
367
367
|
|
|
@@ -385,13 +385,16 @@ jq --arg v "$CANONICAL" '.github.labels.<lane>.<role> = $v' \
|
|
|
385
385
|
.lisa.config.json > .lisa.config.json.tmp && mv .lisa.config.json.tmp .lisa.config.json
|
|
386
386
|
```
|
|
387
387
|
|
|
388
|
-
### MISSING —
|
|
388
|
+
### MISSING — re-create it, or stop as missing access
|
|
389
389
|
|
|
390
|
-
|
|
390
|
+
The configured name is the one the queue already reads, so the safe repair puts that name back. Do not repoint the role at a near-match on your own: a near-match may be another lane the team fills.
|
|
391
391
|
|
|
392
|
-
|
|
392
|
+
- **Unattended, or `repair=true` with no operator present:** create the missing label under its configured name — a GitHub label (`gh label create`), or a Linear issue label or project label through `lisa-linear-access`. Then re-run the audit and report VALID. A Jira workflow status cannot be created this way, because `lisa-atlassian-access` does not edit workflows, and any tracker can refuse for lack of permission. Either case is **missing access**: keep the project `DRIFTED` and stop, naming the exact status or label, the project, and the permission that is missing. A missing Linear workflow **state** is never re-created here: its `type` and board position are team configuration, and a guessed value can route Issues into a human-only lane. Keep the project `DRIFTED`, report the role and its expected state name, and point to `/lisa:setup:linear`, which creates states with an explicit name and type.
|
|
393
|
+
- **An operator running this skill interactively** may instead be offered the closest live candidates (case-insensitive token/substring overlap, then edit distance) via `AskUserQuestion`:
|
|
393
394
|
|
|
394
|
-
|
|
395
|
+
> Role `<role>` maps to `<configured>`, which no longer exists in `<vendor>`. Closest live names: `<c1>`, `<c2>`, `<c3>`. Re-create `<configured>`, pick a replacement, or enter a name manually.
|
|
396
|
+
|
|
397
|
+
Write a replacement only on an explicit pick.
|
|
395
398
|
|
|
396
399
|
### INVERTED — never auto-repair
|
|
397
400
|
|
|
@@ -447,15 +450,15 @@ Re-print the project section showing the post-repair mapping and the new verdict
|
|
|
447
450
|
## Idempotency & repeatability
|
|
448
451
|
|
|
449
452
|
- Re-running on a clean config reports `VALID` and writes nothing.
|
|
450
|
-
- Read-only mode has no side effects and is safe to schedule. Pair with `/schedule` (or run in CI) to detect drift continuously;
|
|
453
|
+
- Read-only mode has no side effects and is safe to schedule. Pair with `/schedule` (or run in CI) to detect drift continuously; `repair=true` may also run unattended: a `MISSING` name is re-created when access allows and reported as missing access otherwise.
|
|
451
454
|
- Repair only ever touches `.lisa.config.json` (and clears the local verification-cache key) — it preserves all unrelated config and never stages secrets or env values.
|
|
452
455
|
|
|
453
456
|
## Rules
|
|
454
457
|
|
|
455
458
|
- Compare status/label names **case-sensitively** against the live canonical set. A case-insensitive tracker query (e.g. JQL) that resolves is not proof the casing matches.
|
|
456
459
|
- Verify the access substrate is authenticated to the **configured** account before trusting any enumeration. An audit run against the wrong instance is `UNRESOLVABLE`, not `VALID`.
|
|
457
|
-
- Repair fixes the **config
|
|
458
|
-
- Never
|
|
460
|
+
- Repair fixes the **config**. Its only tracker write is re-creating a MISSING label under its configured name; a missing Linear workflow state stays `DRIFTED` for `/lisa:setup:linear`. Do not rename or delete tracker statuses, labels, or options.
|
|
461
|
+
- Never repoint a `MISSING` mapping at a guessed near-match. Re-create it, stop as missing access, or (interactive only) take the operator's explicit pick.
|
|
459
462
|
- Use `jq` for all JSON reads/writes; write only changed keys via `jq … > tmp && mv`.
|
|
460
463
|
- In batch mode, audit each project independently — one project's `UNRESOLVABLE` (e.g. an auth mismatch) must not abort the rest of the sweep.
|
|
461
464
|
- Reuse the config-resolution defaults and the vendor access skills (`atlassian-access`, `gh`, Linear/Notion MCP); do not invent a parallel mapping or lifecycle vocabulary.
|
|
@@ -29,7 +29,7 @@ Once you have a space or parent-page URL, RUN. Do not ask the caller whether to
|
|
|
29
29
|
|
|
30
30
|
The invoking caller (a slash command, a scheduled cron, or a parent agent) hands you a Confluence space URL/key or a parent page URL/ID. You do not pick the scope yourself.
|
|
31
31
|
|
|
32
|
-
If no scope is provided,
|
|
32
|
+
If no scope is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default or guessed scope — the side effects (label changes, JIRA tickets created) are too high to act without an explicit target.
|
|
33
33
|
|
|
34
34
|
### 2. Run the intake skill
|
|
35
35
|
|
|
@@ -29,7 +29,7 @@ Once you have a repo, RUN. Do not ask the caller whether to proceed, do not prev
|
|
|
29
29
|
|
|
30
30
|
The invoking caller (a slash command or a future schedule wrapper) hands you a GitHub `org/repo` token, a full GitHub repo URL, or the literal token `github` (which falls back to `.lisa.config.json`). You do not pick the repo yourself.
|
|
31
31
|
|
|
32
|
-
If no repo is provided,
|
|
32
|
+
If no repo is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default scope — the side effects (label changes, PRs opened, builds running) are too high to act without an explicit target.
|
|
33
33
|
|
|
34
34
|
### 2. Run the intake skill
|
|
35
35
|
|
|
@@ -29,7 +29,7 @@ Once you have a repo, RUN. Do not ask the caller whether to proceed, do not prev
|
|
|
29
29
|
|
|
30
30
|
The invoking caller (a slash command, a scheduled cron, or a parent agent) hands you a GitHub `org/repo` token, a full GitHub repo URL, or the literal token `github` (which falls back to `.lisa.config.json`). You do not pick the repo yourself.
|
|
31
31
|
|
|
32
|
-
If no repo is provided,
|
|
32
|
+
If no repo is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default or guessed repo — the side effects (label changes, comments posted, destination tickets created) are too high to act without an explicit target.
|
|
33
33
|
|
|
34
34
|
### 2. Run the intake skill
|
|
35
35
|
|
|
@@ -29,7 +29,7 @@ Once you have a project key or JQL, RUN. Do not ask the caller whether to procee
|
|
|
29
29
|
|
|
30
30
|
The invoking caller (a slash command or a future schedule wrapper) hands you a JIRA project key (e.g. `SE`) or a full JQL filter. You do not pick the query yourself.
|
|
31
31
|
|
|
32
|
-
If no query is provided,
|
|
32
|
+
If no query is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default scope — the side effects (status transitions, PRs opened, builds running) are too high to act without an explicit target.
|
|
33
33
|
|
|
34
34
|
### 2. Run the intake skill
|
|
35
35
|
|
|
@@ -29,7 +29,7 @@ Once you have a team key, RUN. Do not ask the caller whether to proceed, do not
|
|
|
29
29
|
|
|
30
30
|
The invoking caller (a slash command, a scheduled cron, or a parent agent) hands you a Linear team key (e.g. `ENG`) or the literal token `linear` (which falls back to `linear.teamKey` in `.lisa.config.json`). You do not pick the team yourself. Lifecycle state names are read from `linear.workflow.*` and are not your concern at this layer.
|
|
31
31
|
|
|
32
|
-
If no query is provided AND no `linear.teamKey` is configured,
|
|
32
|
+
If no query is provided AND no `linear.teamKey` is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing `linear.teamKey` and `/lisa:setup:linear`; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default scope without explicit configuration — the side effects (state transitions, PRs opened, builds running) are too high to act without an explicit target.
|
|
33
33
|
|
|
34
34
|
### 2. Run the intake skill
|
|
35
35
|
|
|
@@ -29,7 +29,7 @@ Once you have a workspace or team scope, RUN. Do not ask the caller whether to p
|
|
|
29
29
|
|
|
30
30
|
The invoking caller (a slash command, a scheduled cron, or a parent agent) hands you a Linear workspace URL, a team URL, a bare team key, or the literal token `linear` (which falls back to `linear.workspace` in `.lisa.config.json`). You do not pick the scope yourself.
|
|
31
31
|
|
|
32
|
-
If no scope is provided,
|
|
32
|
+
If no scope is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default or guessed scope — the side effects (label changes, project comments, JIRA tickets created) are too high to act without an explicit target.
|
|
33
33
|
|
|
34
34
|
### 2. Run the intake skill
|
|
35
35
|
|
|
@@ -27,7 +27,7 @@ Once you have a database URL, RUN. Do not ask the caller whether to proceed, do
|
|
|
27
27
|
|
|
28
28
|
The invoking caller (a slash command, a scheduled cron, or a parent agent) hands you a Notion database URL or bare ID. You do not pick the database yourself.
|
|
29
29
|
|
|
30
|
-
If no URL is provided,
|
|
30
|
+
If no URL is provided and none is configured, first file the decision-ready escalation packet (`automation-runbook-contract`, "Escalation") through `lisa-tracker-write`, labeled `status:blocked` and `human-needed` with `human_gate` set, naming the missing input and the `/lisa:setup:*` skill that configures it; then exit `recovery-required` citing that item. If the tracker itself is unconfigured so nothing can be filed, put the same packet in the exit summary. Never run intake against a default or guessed database — the side effects (Notion status changes, JIRA tickets created) are too high to act without an explicit target.
|
|
31
31
|
|
|
32
32
|
### 2. Run the intake skill
|
|
33
33
|
|
|
@@ -51,7 +51,7 @@ Return the structured report defined in the skill. Never summarize or drop rows.
|
|
|
51
51
|
- **Degrade, never block, on an absent or v1 verdict.** If no v2 verdict exists, say so in the report, cap affected rows at `PARTIAL`, and do not invent a mismatch you could not check.
|
|
52
52
|
- **Scope creep is a distinct failure.** Do not fold `SCOPE_CREEP_VIOLATION` into "missing" or "untraceable." Scope creep means Out of Scope was violated — it blocks shipping.
|
|
53
53
|
- **Ownership fixes are not scope creep.** A change that fixes a real defect in code this work touches or depends on, and is listed in the PR description as such, is expected under the bounded ownership rule: classify it `OWNERSHIP_FIX` in the untraceable list, never `SCOPE_CREEP_VIOLATION`, and never count it against the verdict. Two exceptions still count: the fix lands in something the spec's Out of Scope names explicitly, or the PR does not list it (an unlisted fix is an ordinary `UNTRACEABLE_CHANGE`). Work on code the change neither touches nor depends on belongs in a ticket, not this PR.
|
|
54
|
-
- **Untraceable changes get surfaced, not judged.** Refactors and test helpers often land here. Surface them
|
|
54
|
+
- **Untraceable changes get surfaced, not judged.** Refactors and test helpers often land here. Surface them with their likely intent; do not automatically fail. The implementer may justify a behavior-preserving refactor or test helper in the PR, but must revert or ticket a substantive behavior change, which keeps the verdict `DIVERGES`.
|
|
55
55
|
- **If the spec itself is inadequate** (no acceptance criteria, no Out of Scope, no Validation Journey for runtime changes), the verdict is `DIVERGES` until the spec is tightened. Do not paper over an ambiguous spec with a generous match.
|
|
56
|
-
- **Never gather empirical evidence yourself.** That is verification-specialist's job. You read their report. If it
|
|
57
|
-
- **Never approve your own work.** If you produced the implementation in this session, say so explicitly in the report and
|
|
56
|
+
- **Never gather empirical evidence yourself.** That is verification-specialist's job. You read their report. If it is missing, ask the caller (the lead) for it and return no verdict until it arrives. The lead recovers by running `verification-specialist` on the current head and then re-running this conformance check against that report.
|
|
57
|
+
- **Never approve your own work.** If you produced the implementation in this session, say so explicitly in the report and have the lead hand the conformance check to a fresh agent that did not build it — self-review of conformance is weakest when the same mind built the thing.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Base Rules (load-bearing)
|
|
2
2
|
|
|
3
|
-
Most sessions run unattended
|
|
3
|
+
Most sessions run unattended, and nobody watches the chat. A flow runs to its end without prompts, is safe to re-run, and returns `recovery-required` instead of guessing when input is missing. Humans act only at exterior gates ([reference/factory-model.md](../reference/factory-model.md)).
|
|
4
4
|
|
|
5
5
|
Fix the work, not the gate. Do not weaken, skip, or lower a failing hook, check, threshold, or test, and do not bypass hooks (`--no-verify`, `HUSKY=0`) or branch protection. Green CI is done.
|
|
6
6
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
# Coding Philosophy (load-bearing)
|
|
2
2
|
|
|
3
|
-
- **KISS settles ties. YAGNI:** build what today's problem needs, with no speculative abstraction or options. Extract shared code only when it repeats
|
|
3
|
+
- **KISS settles ties. YAGNI:** build what today's problem needs, with no speculative abstraction or options. Extract shared code only when it repeats 3+ times and the abstraction is simpler than the duplication.
|
|
4
4
|
- **Hill-climbability.** Make localized changes with clear contracts and low coupling, and leave a working baseline. A later agent should be able to find what to change, change it, verify the effect, and keep or revert it on its own.
|
|
5
5
|
- **Immutability.** Create new values instead of mutating, and prefer `map`/`filter`/`reduce`. On a hot path where a stack rule forbids allocation, such as a game's `update()`, the stack rule wins.
|
|
6
6
|
- **TDD for behavior changes.** Write the failing test first, make it pass, then refactor. Learn real behavior by running code before you write expectations.
|
|
7
7
|
- **Delete replaced code completely**, with no `V2` copies or compatibility shims. Framework migrations, such as Rails migrations, are ordinary code. Simplify your diff before you finish.
|
|
8
8
|
- **No technical debt.** Fix failures in the change that surfaces them. Never add quarantine, baseline or exemption lists, silence a check, or defer part of the job as "follow-up". Split a large backlog across parallel changes; the check still turns on strict.
|
|
9
|
-
- **
|
|
9
|
+
- **No assumed human.** No one is inside the factory. Unless a person was explicitly asked for, do the work, decide and record a default, or file a ticket; never advise a person to act. Only `when-to-stop` and declared human gates wait for one.
|
|
10
|
+
- **Comments preserve intent.** Explain why, not what: the requirement behind a non-obvious choice, the rejected alternative, the invariant a change must respect, and what breaks if someone simplifies it. Keep comments true when code changes, and do not invent a rationale. If you do not know why code exists, find out (`history-audit`). This overrides any default to match surrounding comment density: future agents keep no memory of today.
|
|
10
11
|
|
|
11
12
|
Examples, documentation guidelines, and anti-patterns: [reference/coding-philosophy.md](../reference/coding-philosophy.md).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# History Audit
|
|
1
|
+
# History Audit (load-bearing)
|
|
2
2
|
|
|
3
3
|
Before you remove, gate, skip, or weaken existing behavior because it looks redundant, slow, or wrong to you, audit its history. Changes a ticket or spec requires can cite that requirement instead.
|
|
4
4
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A change is not done when it builds and starts. Make its production impact detectable, diagnosable, and reversible.
|
|
4
4
|
|
|
5
|
-
- Instrument the operations you add or change at their boundaries: outcomes, errors, and latency, tagged with the release. Use the project's existing telemetry
|
|
5
|
+
- Instrument the operations you add or change at their boundaries: outcomes, errors, and latency, tagged with the release. Use the project's existing telemetry.
|
|
6
6
|
- Fill in the PR's "How we'll know it works in production" and "How to undo" sections.
|
|
7
7
|
- Follow your instrumentation to wherever it sends data, and confirm the data arrives there.
|
|
8
8
|
- Keep secrets, personal data, and high-cardinality values out of telemetry.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Lint, typecheck, and tests are quality checks. Verification means using the software as its user would: drive the UI, call the API, run the CLI, and check the result against the acceptance criteria.
|
|
4
4
|
|
|
5
|
-
- **Browser-controller neutrality.** Drive a live browser through the Validation Journey with any controller
|
|
5
|
+
- **Browser-controller neutrality.** Drive a live browser through the Validation Journey with any working controller (interactive Playwright, CDP, an in-app browser, computer use). An automated Playwright or Maestro test run is a quality gate, not the initial empirical evidence.
|
|
6
6
|
- After the live check passes, codify it as a regression test (`codify-verification`) in the project's own e2e runners. Frontend work also follows `bdd-e2e-coverage`.
|
|
7
7
|
- Commit evidence under `evidence/<ticket>/`, one artifact of the declared type per `[EVIDENCE: <type>: <name>]` marker. Put human replay steps in the PR.
|
|
8
8
|
- If sign-in credentials are missing from every source, label the evidence `artifact-only / verification deferred` and stop through the blocked exit.
|
|
@@ -50,7 +50,7 @@ It opens with the outcome and the operator action, before any narrative:
|
|
|
50
50
|
```
|
|
51
51
|
change-proved — nothing for you. PR #6393 open, auto-merge on, CI running.
|
|
52
52
|
approval-requested — need your account: approve the protected production deploy for the 135 Regular→Bold flips.
|
|
53
|
-
recovery-required — need
|
|
53
|
+
recovery-required — need your access: the CI deploy role lacks `ecr:PutImage`, so no deploy runs until it is granted.
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
The operator must learn whether they are needed **from the first line**, without reading the report.
|
|
@@ -149,6 +149,44 @@ Right: fix every failure, then turn the check on with nothing exempted
|
|
|
149
149
|
- If the backlog is too large for one change, split the fix into parallel changes and land them together. The check still turns on strict, with nothing exempted
|
|
150
150
|
- An existing exemption list is debt to pay off: fix its entries and delete the list and the code that reads it
|
|
151
151
|
|
|
152
|
+
### 7. No Assumed Human
|
|
153
|
+
|
|
154
|
+
**No one is inside the factory.** Lisa's factories run unattended, and humans stand only at the gates outside them (`factory-model`). Unless a person was explicitly asked for, requiring one is a failure: there is nobody to read "you'll want to review this", so the work either stalls or is silently dropped. Do the work, or turn it into work the factory picks up.
|
|
155
|
+
|
|
156
|
+
Advice to an absent person is the same failure in a softer form. A report, PR or comment that ends in a to-do for "someone" hands the job to nobody.
|
|
157
|
+
|
|
158
|
+
```text
|
|
159
|
+
Wrong: "You'll want to manually check the migration on staging."
|
|
160
|
+
Right: run the migration on staging, check it, and attach the evidence.
|
|
161
|
+
|
|
162
|
+
Wrong: "Have someone confirm the Epic this belongs under."
|
|
163
|
+
Right: pick the Epic the evidence fits best, or create one, and record why on the item.
|
|
164
|
+
|
|
165
|
+
Wrong: "Consider reviewing the other call sites for the same bug."
|
|
166
|
+
Right: fix the call sites this change touches, and file one build-ready ticket for the rest.
|
|
167
|
+
|
|
168
|
+
Wrong: "Stop and ask the user to create the missing tracker label."
|
|
169
|
+
Right: create the label. Stop only if the tracker refuses for lack of permission, and name that permission.
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
**When you would normally ask:**
|
|
173
|
+
- A choice with a reasonable default is yours. Decide it and record it on the item as a `Decision:` line, where a person can reverse it later
|
|
174
|
+
- Work outside this change's scope becomes one build-ready ticket through the tracker, not a suggestion in a report
|
|
175
|
+
- A material question that the code, tracker, wiki, git history and standing decisions cannot answer, and that has no reasonable default, goes back through the gate: the flow's blocked exit with a specific clarifying comment and your recommended answer, not a mid-session question
|
|
176
|
+
|
|
177
|
+
**The gates that legitimately wait for a person.** This list only restates two sources and must match them: [`when-to-stop`](../eager/when-to-stop.md) (when a flow stops) and [`ready-role-filing`, "What a human gate is"](ready-role-filing.md) (which acts a held item may wait on). Where this summary and those two differ, they win; fix this list. Name the gate when you stop at one:
|
|
178
|
+
- **Missing access** — a repository, secret, API or tool stays out of reach after `lisa-secrets-access` and the matching `*-access` probe; a login or credential only a person holds; a system the agent cannot reach. Say exactly what is missing and stop (`when-to-stop`, `tool-access-gate`)
|
|
179
|
+
- **A destructive, irreversible or protected operation** (`when-to-stop`), including protected deployments and other approvals only a person's account can give
|
|
180
|
+
- **Spending money** — a paid plan, a purchase, an upgrade — and **opening an external account**
|
|
181
|
+
- **Signing a legal agreement** — a contract, BAA, DPA or license acceptance. A compliance *judgement* is not this gate: it is the agent's decision unless the project declares it human-only
|
|
182
|
+
- **Declared human gates and operator holds** — a leaf filed with `human_gate`, a decision class in `humanGate.humanOnly`, a stricter `humanGate.mode`, an operator's hold label, or an option a project turned on such as `dependencies.humanSignOff`
|
|
183
|
+
- **Human-authored-only surfaces** — `PROJECT_RULES.md`, and the human-gated tickets the learnings gardener files for promotions
|
|
184
|
+
- **A product question with no reasonable default** that nothing in the item, wiki, code or standing decisions settles (`when-to-stop`), raised through the gate rather than mid-session
|
|
185
|
+
- **`/lisa:agent-ready` gap questions** in `wiki/gaps.md`, which exist to collect what only a person knows
|
|
186
|
+
- **An explicit request** — the operator asked for a person, or invoked an interactive setup skill (`/lisa:setup:*`) and is answering its prompts
|
|
187
|
+
|
|
188
|
+
This does not conflict with writing for a non-technical reader (`communication`). That rule is about who reads a report, not about giving them to-dos.
|
|
189
|
+
|
|
152
190
|
---
|
|
153
191
|
|
|
154
192
|
## Quick Reference
|
|
@@ -956,8 +956,8 @@ env from PR base branch) and the build flow (forward: base branch from env);
|
|
|
956
956
|
Vocabulary maps are **optional** in `.lisa.config.json`. Missing keys inherit the defaults shown in the schema above. The setup skills probe the project's actual workflow / labels at setup time and either:
|
|
957
957
|
|
|
958
958
|
- Confirm the default name exists → proceed silently.
|
|
959
|
-
- Confirm a different name exists (e.g., `Resolved` instead of `Done`) →
|
|
960
|
-
- Find nothing matching →
|
|
959
|
+
- Confirm a different name exists (e.g., `Resolved` instead of `Done`) → map the role to that name in config. When several candidates fit, the interactive `/lisa:setup:*` run lets the operator pick.
|
|
960
|
+
- Find nothing matching → create the missing label under the default name. A missing Linear workflow state is created only by `/lisa:setup:linear`, with an explicit name and type, because a state's type and board position are team configuration; unattended repair reports it instead. Stop only for missing access: a Jira workflow status needs a workflow edit that Lisa's Jira access layer does not perform, and any tracker can refuse for lack of permission. Then name the exact status/label to add and what access is missing. Only an operator running a setup or `/lisa:validate-tracker-mapping` interactively is offered existing near-matches instead. `lisa-validate-tracker-mapping` repairs a MISSING name by these same rules.
|
|
961
961
|
|
|
962
962
|
## Resolution algorithm
|
|
963
963
|
|
|
@@ -17,9 +17,9 @@ Each lifecycle skill decides how to run its own work. The default is a single ag
|
|
|
17
17
|
Every flow begins with a gate check. The gate defines what information must be present before the flow can begin.
|
|
18
18
|
|
|
19
19
|
If the gate fails:
|
|
20
|
-
- **Interactive session** (
|
|
20
|
+
- **Interactive session** (the operator is in the conversation):
|
|
21
21
|
1. Identify exactly what is missing
|
|
22
|
-
2. Before asking the user, attempt to answer the questions yourself from available context (source code, docs, git history, project structure, config files). Only ask the user about information you genuinely cannot determine.
|
|
22
|
+
2. Before asking the user, attempt to answer the questions yourself from available context (source code, docs, git history, project structure, config files). A choice with a reasonable default is yours: decide it and record it. Only ask the user about information you genuinely cannot determine.
|
|
23
23
|
3. When you do ask the user, provide recommended answers to choose from based on what you found in the codebase. Do not ask open-ended questions when you can offer specific options.
|
|
24
24
|
4. Tell the user what is needed and why
|
|
25
25
|
5. Do NOT proceed until the missing information is provided or resolved
|
|
@@ -86,7 +86,7 @@ When: Working on a specific ticket (story, task, bug, spike), implementing a wel
|
|
|
86
86
|
Gate:
|
|
87
87
|
- A well-defined work item with acceptance criteria must be provided (ticket URL, file spec, or detailed description)
|
|
88
88
|
- The work item must have clear scope, expected behavior, and verification method
|
|
89
|
-
- If acceptance criteria are missing or ambiguous,
|
|
89
|
+
- If acceptance criteria are missing or ambiguous, resolve them yourself from the code, tracker, wiki and git history, and record what you derived on the item. Where those sources are silent but a reasonable default exists (a page size of 50, say), choose it and record it as a `Decision:` line. Only a material gap with no reasonable default goes back through the gate (the flow's blocked exit with a specific clarifying comment and your recommended answer), not a mid-session question
|
|
90
90
|
- If the work item is too large (epic-level), stop and suggest running the **Plan** flow first
|
|
91
91
|
|
|
92
92
|
Determine the work type and execute the matching variant:
|
|
@@ -152,7 +152,7 @@ a parallel enum would make two reports disagree about what "ready" means.
|
|
|
152
152
|
|
|
153
153
|
- **`READY`** — eight dimensions assessed, no blocker stands, no warnings material to unattended
|
|
154
154
|
operation.
|
|
155
|
-
- **`READY_WITH_WARNINGS`** — no blocker stands, but findings exist that
|
|
155
|
+
- **`READY_WITH_WARNINGS`** — no blocker stands, but findings exist that the report must name, each with its remedy, though none stops unattended operation.
|
|
156
156
|
- **`NOT_READY`** — **at least one ship blocker stands.**
|
|
157
157
|
|
|
158
158
|
**The narrowed claim is the net-new field.** When the verdict is `NOT_READY`, the report must also
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
# Security Audit Handling
|
|
2
2
|
|
|
3
|
-
The procedure for a push or CI run blocked by the dependency security audit lives in the `lisa-security-audit-handling` skill
|
|
3
|
+
The procedure for a push or CI run blocked by the dependency security audit lives in the `lisa-security-audit-handling` skill. Its steps run in this order:
|
|
4
|
+
|
|
5
|
+
1. Refresh the lockfile within the current range.
|
|
6
|
+
2. Upgrade the direct dependency that pulls the vulnerable copy.
|
|
7
|
+
3. Add a targeted override to the fixed version.
|
|
8
|
+
4. Evaluate reachability before any code change. An advisory that cannot affect the project gets a scoped exclusion with a concrete reason in the project's own `audit.ignore.local.json`, with no human needed; Lisa's template cannot vouch for a host's reachability. If reachability cannot be proven, the advisory affects the project.
|
|
9
|
+
5. Replace or remove the dependency.
|
|
10
|
+
|
|
11
|
+
When none of those works, file a build-ready ticket with the evidence (advisory, dependency path, what each step tried) so the factory carries the replacement or removal; stop only when the next act needs access you lack, and say exactly what is missing. The audit's failure message prints the same order and names the skill, so it loads when it is needed instead of in every session. Never bypass the hook.
|
|
@@ -9,7 +9,7 @@ Follow this 8-step triage process before implementing any bug fix. Do not skip t
|
|
|
9
9
|
|
|
10
10
|
## Triage Steps
|
|
11
11
|
|
|
12
|
-
1. Verify you have all information needed to reproduce the bug (authentication requirements, environment information, etc.). Do not make assumptions. If anything is missing,
|
|
12
|
+
1. Verify you have all information needed to reproduce the bug (authentication requirements, environment information, etc.). Do not make unrecorded assumptions. If anything is missing, find it in the item, its linked work, the code, the wiki and git history, and where a reasonable default exists, take it and record it on the item. Stop only for what that cannot settle — missing access, or a product question with no reasonable default — through the flow's blocked exit, with a specific question and your recommended answer.
|
|
13
13
|
2. Reproduce the bug on the path the user actually hits. Prerequisites the real path needs — seeded data, auth state, flags — are part of the reproduction; scaffolding that substitutes real behaviour is not, and a failure that survives only with it in place is a lead rather than a reproduction. Say which you have. Without a real-path reproduction you may not claim a root cause at all. If you cannot reproduce it, stop and report what you tried and what you observed.
|
|
14
14
|
3. Once reproduced, name a candidate cause and the observation that would disprove it, and go get that observation. Surviving the disproof is not proof — it leaves the candidate standing, not confirmed — so before implementing, execute something whose output the candidate predicts and a different cause would not produce. If you cannot get that confirmation, record the verdict as inconclusive and say so rather than proceeding as if certain; add logging, trace the path, or bisect until you can.
|
|
15
15
|
4. Verify you have access to the tools, environments, and permissions needed to deploy and verify this fix (e.g. CI/CD pipelines, deployment targets, logging/monitoring systems, API access, database access). If any are missing or inaccessible, stop and raise them before starting implementation.
|