grendel-redteam 0.1.0__tar.gz
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.
- grendel_redteam-0.1.0/.claude/agents/plan-reviewer.md +21 -0
- grendel_redteam-0.1.0/.claude/agents/reviewer.md +20 -0
- grendel_redteam-0.1.0/.claude/agents/tester.md +20 -0
- grendel_redteam-0.1.0/.claude/scripts/gate.sh +36 -0
- grendel_redteam-0.1.0/.claude/settings.json +15 -0
- grendel_redteam-0.1.0/.claude/skills/phase/SKILL.md +48 -0
- grendel_redteam-0.1.0/.claude/skills/run-all/SKILL.md +43 -0
- grendel_redteam-0.1.0/.github/workflows/release.yml +51 -0
- grendel_redteam-0.1.0/.gitignore +23 -0
- grendel_redteam-0.1.0/LICENSE +202 -0
- grendel_redteam-0.1.0/PKG-INFO +295 -0
- grendel_redteam-0.1.0/PROGRESS.md +66 -0
- grendel_redteam-0.1.0/README.md +258 -0
- grendel_redteam-0.1.0/ROADMAP.md +316 -0
- grendel_redteam-0.1.0/SETUP.md +144 -0
- grendel_redteam-0.1.0/demo/README.md +30 -0
- grendel_redteam-0.1.0/demo/grendel.tape +33 -0
- grendel_redteam-0.1.0/docs/authoring-packs.md +184 -0
- grendel_redteam-0.1.0/docs/user-story.html +396 -0
- grendel_redteam-0.1.0/examples/grendel.example.yaml +36 -0
- grendel_redteam-0.1.0/examples/langgraph-agent/README.md +60 -0
- grendel_redteam-0.1.0/examples/langgraph-agent/agent.py +50 -0
- grendel_redteam-0.1.0/examples/langgraph-agent/requirements.txt +2 -0
- grendel_redteam-0.1.0/phases/.gitkeep +0 -0
- grendel_redteam-0.1.0/phases/phase-01/plan.md +204 -0
- grendel_redteam-0.1.0/phases/phase-01/review.md +63 -0
- grendel_redteam-0.1.0/phases/phase-01/spec.md +318 -0
- grendel_redteam-0.1.0/phases/phase-01/test-report.md +51 -0
- grendel_redteam-0.1.0/phases/phase-02/plan.md +190 -0
- grendel_redteam-0.1.0/phases/phase-02/review.md +84 -0
- grendel_redteam-0.1.0/phases/phase-02/spec.md +360 -0
- grendel_redteam-0.1.0/phases/phase-03/plan.md +226 -0
- grendel_redteam-0.1.0/phases/phase-03/spec.md +358 -0
- grendel_redteam-0.1.0/phases/phase-04/plan.md +240 -0
- grendel_redteam-0.1.0/phases/phase-04/review.md +191 -0
- grendel_redteam-0.1.0/phases/phase-04/spec.md +333 -0
- grendel_redteam-0.1.0/phases/phase-04/test-report.md +53 -0
- grendel_redteam-0.1.0/phases/phase-05/plan.md +241 -0
- grendel_redteam-0.1.0/phases/phase-05/review.md +64 -0
- grendel_redteam-0.1.0/phases/phase-05/spec.md +443 -0
- grendel_redteam-0.1.0/phases/phase-05/test-report.md +73 -0
- grendel_redteam-0.1.0/phases/phase-06/plan.md +263 -0
- grendel_redteam-0.1.0/phases/phase-06/review.md +46 -0
- grendel_redteam-0.1.0/phases/phase-06/spec.md +408 -0
- grendel_redteam-0.1.0/phases/phase-06/test-report.md +34 -0
- grendel_redteam-0.1.0/phases/phase-07/plan.md +338 -0
- grendel_redteam-0.1.0/phases/phase-07/spec.md +504 -0
- grendel_redteam-0.1.0/phases/phase-08/plan.md +308 -0
- grendel_redteam-0.1.0/phases/phase-08/review.md +43 -0
- grendel_redteam-0.1.0/phases/phase-08/spec.md +490 -0
- grendel_redteam-0.1.0/phases/phase-09/plan.md +267 -0
- grendel_redteam-0.1.0/phases/phase-09/review.md +111 -0
- grendel_redteam-0.1.0/phases/phase-09/spec.md +520 -0
- grendel_redteam-0.1.0/phases/phase-09/test-report.md +47 -0
- grendel_redteam-0.1.0/phases/phase-10/plan.md +311 -0
- grendel_redteam-0.1.0/phases/phase-10/review.md +74 -0
- grendel_redteam-0.1.0/phases/phase-10/spec.md +460 -0
- grendel_redteam-0.1.0/phases/phase-10/test-report.md +56 -0
- grendel_redteam-0.1.0/phases/phase-11/plan.md +155 -0
- grendel_redteam-0.1.0/phases/phase-11/review.md +51 -0
- grendel_redteam-0.1.0/phases/phase-11/spec.md +291 -0
- grendel_redteam-0.1.0/phases/phase-11/test-report.md +23 -0
- grendel_redteam-0.1.0/phases/phase-12/plan.md +134 -0
- grendel_redteam-0.1.0/phases/phase-12/review.md +60 -0
- grendel_redteam-0.1.0/phases/phase-12/spec.md +236 -0
- grendel_redteam-0.1.0/phases/phase-12/test-report.md +33 -0
- grendel_redteam-0.1.0/phases/phase-13/plan.md +177 -0
- grendel_redteam-0.1.0/phases/phase-13/review.md +106 -0
- grendel_redteam-0.1.0/phases/phase-13/spec.md +224 -0
- grendel_redteam-0.1.0/phases/phase-13/test-report.md +25 -0
- grendel_redteam-0.1.0/phases/phase-14/plan.md +148 -0
- grendel_redteam-0.1.0/phases/phase-14/review.md +81 -0
- grendel_redteam-0.1.0/phases/phase-14/spec.md +233 -0
- grendel_redteam-0.1.0/phases/phase-14/test-report.md +46 -0
- grendel_redteam-0.1.0/phases/phase-15/plan.md +200 -0
- grendel_redteam-0.1.0/phases/phase-15/review.md +83 -0
- grendel_redteam-0.1.0/phases/phase-15/spec.md +200 -0
- grendel_redteam-0.1.0/phases/phase-15/test-report.md +31 -0
- grendel_redteam-0.1.0/phases/phase-16/plan.md +110 -0
- grendel_redteam-0.1.0/phases/phase-16/review.md +68 -0
- grendel_redteam-0.1.0/phases/phase-16/spec.md +186 -0
- grendel_redteam-0.1.0/phases/phase-16/test-report.md +68 -0
- grendel_redteam-0.1.0/phases/phase-17/plan.md +143 -0
- grendel_redteam-0.1.0/phases/phase-17/review.md +107 -0
- grendel_redteam-0.1.0/phases/phase-17/spec.md +198 -0
- grendel_redteam-0.1.0/phases/phase-17/test-report.md +40 -0
- grendel_redteam-0.1.0/phases/phase-18/plan.md +159 -0
- grendel_redteam-0.1.0/phases/phase-18/review.md +106 -0
- grendel_redteam-0.1.0/phases/phase-18/spec.md +152 -0
- grendel_redteam-0.1.0/phases/phase-18/test-report.md +34 -0
- grendel_redteam-0.1.0/phases/phase-19/plan.md +134 -0
- grendel_redteam-0.1.0/phases/phase-19/review.md +139 -0
- grendel_redteam-0.1.0/phases/phase-19/spec.md +61 -0
- grendel_redteam-0.1.0/phases/phase-19/test-report.md +17 -0
- grendel_redteam-0.1.0/phases/phase-20/plan.md +108 -0
- grendel_redteam-0.1.0/phases/phase-20/review.md +289 -0
- grendel_redteam-0.1.0/phases/phase-20/spec.md +34 -0
- grendel_redteam-0.1.0/phases/phase-20/test-report.md +13 -0
- grendel_redteam-0.1.0/phases/phase-21/plan.md +112 -0
- grendel_redteam-0.1.0/phases/phase-21/review.md +92 -0
- grendel_redteam-0.1.0/phases/phase-21/spec.md +35 -0
- grendel_redteam-0.1.0/phases/phase-21/test-report.md +17 -0
- grendel_redteam-0.1.0/phases/phase-22/plan.md +78 -0
- grendel_redteam-0.1.0/phases/phase-22/review.md +70 -0
- grendel_redteam-0.1.0/phases/phase-22/spec.md +35 -0
- grendel_redteam-0.1.0/phases/phase-22/test-report.md +24 -0
- grendel_redteam-0.1.0/phases/phase-23/plan.md +57 -0
- grendel_redteam-0.1.0/phases/phase-23/review.md +90 -0
- grendel_redteam-0.1.0/phases/phase-23/spec.md +29 -0
- grendel_redteam-0.1.0/phases/phase-24/plan.md +92 -0
- grendel_redteam-0.1.0/phases/phase-24/review-post24-report-card.md +78 -0
- grendel_redteam-0.1.0/phases/phase-24/review.md +67 -0
- grendel_redteam-0.1.0/phases/phase-24/spec.md +32 -0
- grendel_redteam-0.1.0/phases/phase-24/test-report.md +14 -0
- grendel_redteam-0.1.0/phases/phase-25/plan.md +90 -0
- grendel_redteam-0.1.0/phases/phase-25/review.md +75 -0
- grendel_redteam-0.1.0/phases/phase-25/spec.md +28 -0
- grendel_redteam-0.1.0/phases/phase-25/test-report.md +13 -0
- grendel_redteam-0.1.0/phases/phase-26/plan.md +69 -0
- grendel_redteam-0.1.0/phases/phase-26/review.md +51 -0
- grendel_redteam-0.1.0/phases/phase-26/spec.md +30 -0
- grendel_redteam-0.1.0/phases/phase-26/test-report.md +13 -0
- grendel_redteam-0.1.0/pyproject.toml +73 -0
- grendel_redteam-0.1.0/src/grendel/__init__.py +3 -0
- grendel_redteam-0.1.0/src/grendel/agents/__init__.py +42 -0
- grendel_redteam-0.1.0/src/grendel/agents/demo.py +54 -0
- grendel_redteam-0.1.0/src/grendel/agents/mcp_demo.py +131 -0
- grendel_redteam-0.1.0/src/grendel/attacks.py +125 -0
- grendel_redteam-0.1.0/src/grendel/banner.py +182 -0
- grendel_redteam-0.1.0/src/grendel/cli.py +2673 -0
- grendel_redteam-0.1.0/src/grendel/config.py +437 -0
- grendel_redteam-0.1.0/src/grendel/controls.py +118 -0
- grendel_redteam-0.1.0/src/grendel/corpus.py +288 -0
- grendel_redteam-0.1.0/src/grendel/diff.py +189 -0
- grendel_redteam-0.1.0/src/grendel/doctor.py +119 -0
- grendel_redteam-0.1.0/src/grendel/errors.py +36 -0
- grendel_redteam-0.1.0/src/grendel/feed.py +275 -0
- grendel_redteam-0.1.0/src/grendel/judge.py +169 -0
- grendel_redteam-0.1.0/src/grendel/live.py +277 -0
- grendel_redteam-0.1.0/src/grendel/logging_setup.py +51 -0
- grendel_redteam-0.1.0/src/grendel/mcp_assert.py +155 -0
- grendel_redteam-0.1.0/src/grendel/mcp_surface.py +43 -0
- grendel_redteam-0.1.0/src/grendel/packloader.py +305 -0
- grendel_redteam-0.1.0/src/grendel/packs/controls/autumn-haiku.yaml +6 -0
- grendel_redteam-0.1.0/src/grendel/packs/controls/pancake-recipe.yaml +6 -0
- grendel_redteam-0.1.0/src/grendel/packs/controls/photosynthesis.yaml +6 -0
- grendel_redteam-0.1.0/src/grendel/packs/controls/reverse-string.yaml +6 -0
- grendel_redteam-0.1.0/src/grendel/packs/controls/water-cycle.yaml +6 -0
- grendel_redteam-0.1.0/src/grendel/packs/jailbreak/base64-obfuscation-06.yaml +20 -0
- grendel_redteam-0.1.0/src/grendel/packs/jailbreak/hypothetical-frame-03.yaml +20 -0
- grendel_redteam-0.1.0/src/grendel/packs/jailbreak/payload-split-05.yaml +19 -0
- grendel_redteam-0.1.0/src/grendel/packs/jailbreak/persona-dan-01.yaml +20 -0
- grendel_redteam-0.1.0/src/grendel/packs/jailbreak/refusal-suppression-04.yaml +20 -0
- grendel_redteam-0.1.0/src/grendel/packs/jailbreak/roleplay-fiction-02.yaml +20 -0
- grendel_redteam-0.1.0/src/grendel/packs/mcp/cross-tool-shadowing-04.yaml +19 -0
- grendel_redteam-0.1.0/src/grendel/packs/mcp/description-poisoning-side-effect-02.yaml +20 -0
- grendel_redteam-0.1.0/src/grendel/packs/mcp/rug-pull-03.yaml +19 -0
- grendel_redteam-0.1.0/src/grendel/packs/mcp/tool-description-poisoning-01.yaml +20 -0
- grendel_redteam-0.1.0/src/grendel/packs/prompt-injection/delimiter-escape-03.yaml +21 -0
- grendel_redteam-0.1.0/src/grendel/packs/prompt-injection/direct-override-01.yaml +19 -0
- grendel_redteam-0.1.0/src/grendel/packs/prompt-injection/ignore-previous-02.yaml +19 -0
- grendel_redteam-0.1.0/src/grendel/packs/prompt-injection/indirect-rag-05.yaml +21 -0
- grendel_redteam-0.1.0/src/grendel/packs/prompt-injection/system-prompt-leak-04.yaml +18 -0
- grendel_redteam-0.1.0/src/grendel/packs/prompt-injection/tool-output-inject-06.yaml +19 -0
- grendel_redteam-0.1.0/src/grendel/packs/tool-abuse/confused-deputy-02.yaml +18 -0
- grendel_redteam-0.1.0/src/grendel/packs/tool-abuse/data-exfiltration-03.yaml +18 -0
- grendel_redteam-0.1.0/src/grendel/packs/tool-abuse/destructive-tool-abuse-04.yaml +18 -0
- grendel_redteam-0.1.0/src/grendel/packs/tool-abuse/excessive-agency-05.yaml +18 -0
- grendel_redteam-0.1.0/src/grendel/packs/tool-abuse/indirect-injection-tool-output-01.yaml +18 -0
- grendel_redteam-0.1.0/src/grendel/pricing.py +35 -0
- grendel_redteam-0.1.0/src/grendel/proxy.py +429 -0
- grendel_redteam-0.1.0/src/grendel/records.py +285 -0
- grendel_redteam-0.1.0/src/grendel/report_card.py +187 -0
- grendel_redteam-0.1.0/src/grendel/reports.py +318 -0
- grendel_redteam-0.1.0/src/grendel/runner.py +378 -0
- grendel_redteam-0.1.0/src/grendel/sandbox.py +122 -0
- grendel_redteam-0.1.0/src/grendel/scoring.py +537 -0
- grendel_redteam-0.1.0/src/grendel/scoring_defaults.py +68 -0
- grendel_redteam-0.1.0/src/grendel/secrets.py +75 -0
- grendel_redteam-0.1.0/src/grendel/sideeffect.py +133 -0
- grendel_redteam-0.1.0/src/grendel/targets/__init__.py +145 -0
- grendel_redteam-0.1.0/src/grendel/targets/base.py +56 -0
- grendel_redteam-0.1.0/src/grendel/targets/http_adapter.py +235 -0
- grendel_redteam-0.1.0/src/grendel/targets/mcp_adapter.py +107 -0
- grendel_redteam-0.1.0/src/grendel/targets/model_list.py +54 -0
- grendel_redteam-0.1.0/src/grendel/targets/providers.py +128 -0
- grendel_redteam-0.1.0/src/grendel/targets/python_adapter.py +79 -0
- grendel_redteam-0.1.0/tests/conftest.py +48 -0
- grendel_redteam-0.1.0/tests/fakes.py +134 -0
- grendel_redteam-0.1.0/tests/fixtures/garak/dan.txt +3 -0
- grendel_redteam-0.1.0/tests/fixtures/garak/inthewild.txt +3 -0
- grendel_redteam-0.1.0/tests/fixtures/garak/prompts.json +4 -0
- grendel_redteam-0.1.0/tests/test_adapter_judge.py +36 -0
- grendel_redteam-0.1.0/tests/test_attacks.py +126 -0
- grendel_redteam-0.1.0/tests/test_banner.py +92 -0
- grendel_redteam-0.1.0/tests/test_bundled_packs.py +66 -0
- grendel_redteam-0.1.0/tests/test_catalog_loader.py +168 -0
- grendel_redteam-0.1.0/tests/test_cli.py +75 -0
- grendel_redteam-0.1.0/tests/test_cli_autoconfig.py +66 -0
- grendel_redteam-0.1.0/tests/test_cli_catalog.py +163 -0
- grendel_redteam-0.1.0/tests/test_cli_config.py +279 -0
- grendel_redteam-0.1.0/tests/test_cli_diff.py +79 -0
- grendel_redteam-0.1.0/tests/test_cli_doctor.py +54 -0
- grendel_redteam-0.1.0/tests/test_cli_encoding.py +65 -0
- grendel_redteam-0.1.0/tests/test_cli_flag_target.py +177 -0
- grendel_redteam-0.1.0/tests/test_cli_home.py +352 -0
- grendel_redteam-0.1.0/tests/test_cli_import.py +125 -0
- grendel_redteam-0.1.0/tests/test_cli_packs.py +87 -0
- grendel_redteam-0.1.0/tests/test_cli_proxy.py +145 -0
- grendel_redteam-0.1.0/tests/test_cli_report.py +160 -0
- grendel_redteam-0.1.0/tests/test_cli_run.py +299 -0
- grendel_redteam-0.1.0/tests/test_cli_run_flow.py +141 -0
- grendel_redteam-0.1.0/tests/test_cli_secrets.py +96 -0
- grendel_redteam-0.1.0/tests/test_cli_target_config.py +32 -0
- grendel_redteam-0.1.0/tests/test_cli_walkthrough.py +85 -0
- grendel_redteam-0.1.0/tests/test_config.py +157 -0
- grendel_redteam-0.1.0/tests/test_config_driven_scoring.py +105 -0
- grendel_redteam-0.1.0/tests/test_controls.py +73 -0
- grendel_redteam-0.1.0/tests/test_corpus_import.py +173 -0
- grendel_redteam-0.1.0/tests/test_custom_adapter.py +140 -0
- grendel_redteam-0.1.0/tests/test_diff.py +128 -0
- grendel_redteam-0.1.0/tests/test_docs_authoring.py +27 -0
- grendel_redteam-0.1.0/tests/test_docs_readme.py +46 -0
- grendel_redteam-0.1.0/tests/test_example_agent.py +27 -0
- grendel_redteam-0.1.0/tests/test_feed_update.py +436 -0
- grendel_redteam-0.1.0/tests/test_http_adapter.py +124 -0
- grendel_redteam-0.1.0/tests/test_integration.py +136 -0
- grendel_redteam-0.1.0/tests/test_judge_vote.py +73 -0
- grendel_redteam-0.1.0/tests/test_live_dashboard.py +182 -0
- grendel_redteam-0.1.0/tests/test_logging.py +42 -0
- grendel_redteam-0.1.0/tests/test_mcp_adapter.py +69 -0
- grendel_redteam-0.1.0/tests/test_mcp_assert_eval.py +143 -0
- grendel_redteam-0.1.0/tests/test_mcp_surface.py +70 -0
- grendel_redteam-0.1.0/tests/test_metrics.py +75 -0
- grendel_redteam-0.1.0/tests/test_metrics_owasp.py +78 -0
- grendel_redteam-0.1.0/tests/test_metrics_utility.py +75 -0
- grendel_redteam-0.1.0/tests/test_model_list.py +110 -0
- grendel_redteam-0.1.0/tests/test_pack_mcp.py +114 -0
- grendel_redteam-0.1.0/tests/test_pack_tool_abuse.py +137 -0
- grendel_redteam-0.1.0/tests/test_packloader.py +153 -0
- grendel_redteam-0.1.0/tests/test_providers.py +51 -0
- grendel_redteam-0.1.0/tests/test_proxy_core.py +282 -0
- grendel_redteam-0.1.0/tests/test_proxy_server.py +80 -0
- grendel_redteam-0.1.0/tests/test_python_adapter.py +99 -0
- grendel_redteam-0.1.0/tests/test_records.py +85 -0
- grendel_redteam-0.1.0/tests/test_rename.py +97 -0
- grendel_redteam-0.1.0/tests/test_report_card.py +119 -0
- grendel_redteam-0.1.0/tests/test_reports.py +163 -0
- grendel_redteam-0.1.0/tests/test_rubric.py +28 -0
- grendel_redteam-0.1.0/tests/test_runner_basic.py +87 -0
- grendel_redteam-0.1.0/tests/test_runner_concurrency.py +79 -0
- grendel_redteam-0.1.0/tests/test_runner_cost_resume.py +118 -0
- grendel_redteam-0.1.0/tests/test_runner_hook.py +69 -0
- grendel_redteam-0.1.0/tests/test_runner_judge.py +88 -0
- grendel_redteam-0.1.0/tests/test_runner_retries.py +130 -0
- grendel_redteam-0.1.0/tests/test_runner_scoring.py +66 -0
- grendel_redteam-0.1.0/tests/test_sandbox.py +105 -0
- grendel_redteam-0.1.0/tests/test_scoring_mcp.py +101 -0
- grendel_redteam-0.1.0/tests/test_scoring_models.py +67 -0
- grendel_redteam-0.1.0/tests/test_scoring_t1.py +106 -0
- grendel_redteam-0.1.0/tests/test_scoring_t2.py +112 -0
- grendel_redteam-0.1.0/tests/test_scoring_t3.py +189 -0
- grendel_redteam-0.1.0/tests/test_scoring_t4.py +95 -0
- grendel_redteam-0.1.0/tests/test_sideeffect_eval.py +87 -0
- grendel_redteam-0.1.0/tests/test_staged.py +47 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plan-reviewer
|
|
3
|
+
description: Reviews and strengthens an implementation plan before any code is written. Use proactively right after a plan.md is created for a phase, before implementation starts.
|
|
4
|
+
tools: Read, Grep, Glob
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You are a senior technical architect. You do NOT write code — you only review plans.
|
|
9
|
+
|
|
10
|
+
Read the current phase's `spec.md` and `plan.md`. Evaluate the plan for:
|
|
11
|
+
- missing steps or hidden dependencies
|
|
12
|
+
- risky assumptions
|
|
13
|
+
- untested edge cases
|
|
14
|
+
- conflicts with the existing codebase
|
|
15
|
+
- whether each milestone has a clear, verifiable acceptance checkpoint
|
|
16
|
+
|
|
17
|
+
Append your findings to the phase's `plan.md` under a `## Plan review` section as a
|
|
18
|
+
numbered, concrete list of improvements. Then end your message with exactly one line:
|
|
19
|
+
|
|
20
|
+
- `STATUS: PASS` — the plan is solid and ready to implement, or
|
|
21
|
+
- `STATUS: REVISE` — followed by the top fixes that must be applied first.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: reviewer
|
|
3
|
+
description: Independent code reviewer. Use at each milestone within a phase, after a chunk of the plan is implemented. Reviews the diff against the phase plan and reports PASS or BLOCKING. Use immediately after writing or modifying code at a checkpoint.
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You review code you did NOT write. Your job is independent verification, not implementation.
|
|
9
|
+
|
|
10
|
+
1. Read the current phase's `plan.md` to understand what this milestone was supposed to deliver.
|
|
11
|
+
2. Inspect the recent changes (use `git diff` and read the touched files).
|
|
12
|
+
3. Check: correctness, security, error handling, and adherence to the plan.
|
|
13
|
+
|
|
14
|
+
Write your findings to `phases/<current-phase>/review.md` as a numbered, actionable list.
|
|
15
|
+
End that file (and your message) with exactly one line:
|
|
16
|
+
|
|
17
|
+
- `STATUS: PASS` — no blocking issues, safe to continue, or
|
|
18
|
+
- `STATUS: BLOCKING` — followed by the issues that must be fixed before proceeding.
|
|
19
|
+
|
|
20
|
+
Do NOT edit application code. Only write the review file.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tester
|
|
3
|
+
description: Runs the test suite for the current phase and reports results. Use at each milestone, after the reviewer, and before a phase is marked done.
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You run tests and report results. You do NOT fix code.
|
|
9
|
+
|
|
10
|
+
1. Run the project's test command (see `.claude/scripts/gate.sh` for the configured command,
|
|
11
|
+
or the project README). Scope it to the current phase's area when possible.
|
|
12
|
+
2. Capture failures with their error messages — not the full noisy output.
|
|
13
|
+
|
|
14
|
+
Write a concise summary to `phases/<current-phase>/test-report.md` and end that file
|
|
15
|
+
(and your message) with exactly one line:
|
|
16
|
+
|
|
17
|
+
- `STATUS: PASS` — all tests green, or
|
|
18
|
+
- `STATUS: BLOCKING` — followed by the list of failing tests and their key errors.
|
|
19
|
+
|
|
20
|
+
Do NOT modify application code. Only run tests and report.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# PostToolUse gate — runs after every Edit / Write / MultiEdit.
|
|
3
|
+
#
|
|
4
|
+
# Keep this FAST: lint / format-check / typecheck only. The FULL test suite
|
|
5
|
+
# is run by the `tester` agent at milestones, not here, so editing stays quick.
|
|
6
|
+
#
|
|
7
|
+
# Exit code 2 = block and show the message to Claude so it fixes the issue.
|
|
8
|
+
|
|
9
|
+
set -uo pipefail
|
|
10
|
+
|
|
11
|
+
# ===================== CONFIGURE THIS FOR YOUR STACK =====================
|
|
12
|
+
# Examples:
|
|
13
|
+
# Python: QUICK_CMD="ruff check . && pyright"
|
|
14
|
+
# Node/TS: QUICK_CMD="npm run lint && npm run typecheck"
|
|
15
|
+
# Go: QUICK_CMD="gofmt -l . && go vet ./..."
|
|
16
|
+
# Rust: QUICK_CMD="cargo fmt --check && cargo clippy -- -D warnings"
|
|
17
|
+
# Skip a tool until it's installed (e.g. before the Phase 1 venv exists).
|
|
18
|
+
QUICK_CMD='ok=0
|
|
19
|
+
if command -v ruff >/dev/null 2>&1; then ruff check . || ok=1; fi
|
|
20
|
+
if command -v pyright >/dev/null 2>&1; then pyright || ok=1; fi
|
|
21
|
+
exit $ok'
|
|
22
|
+
# ========================================================================
|
|
23
|
+
|
|
24
|
+
out="$(bash -c "$QUICK_CMD" 2>&1)"
|
|
25
|
+
status=$?
|
|
26
|
+
|
|
27
|
+
if [ "$status" -ne 0 ]; then
|
|
28
|
+
{
|
|
29
|
+
echo "Quick-check failed. Fix these before continuing:"
|
|
30
|
+
echo "----------------------------------------------"
|
|
31
|
+
echo "$out"
|
|
32
|
+
} >&2
|
|
33
|
+
exit 2
|
|
34
|
+
fi
|
|
35
|
+
|
|
36
|
+
exit 0
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: phase
|
|
3
|
+
description: Drives a single project phase end-to-end through the harness loop. Use this whenever the user says "/phase", "start phase N", "run the next phase", or wants to take one phase of the ROADMAP from spec to verified completion. Always use this for phase-by-phase delivery, even if the user does not say the word "phase" explicitly but is clearly working through the roadmap.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Phase driver
|
|
7
|
+
|
|
8
|
+
Runs one phase of `ROADMAP.md` through the full loop:
|
|
9
|
+
spec → plan → reviewed plan → implementation → milestone verification → done.
|
|
10
|
+
|
|
11
|
+
## Input
|
|
12
|
+
|
|
13
|
+
The phase number (e.g. "phase 03"). If not given, read `ROADMAP.md` and pick the
|
|
14
|
+
first phase whose `phases/phase-NN/` folder has no passing `test-report.md`.
|
|
15
|
+
|
|
16
|
+
## Steps
|
|
17
|
+
|
|
18
|
+
1. **Set up the phase folder.** Create `phases/phase-NN/` if it does not exist.
|
|
19
|
+
|
|
20
|
+
2. **Spec.** Use the `brainstorming` skill to turn this phase's `ROADMAP.md` entry
|
|
21
|
+
into a detailed spec. Save it as `phases/phase-NN/spec.md`.
|
|
22
|
+
|
|
23
|
+
3. **Plan.** Use the `writing-plans` skill to turn `spec.md` into an implementation
|
|
24
|
+
plan. Save it as `phases/phase-NN/plan.md`. The plan MUST break the work into
|
|
25
|
+
numbered milestones, each ending in a verifiable checkpoint.
|
|
26
|
+
|
|
27
|
+
4. **Review the plan.** Invoke the `plan-reviewer` agent. If it returns
|
|
28
|
+
`STATUS: REVISE`, apply the fixes to `plan.md` and re-run it until `STATUS: PASS`.
|
|
29
|
+
|
|
30
|
+
5. **Implement, milestone by milestone.** For each milestone in `plan.md`:
|
|
31
|
+
1. Implement that milestone's work.
|
|
32
|
+
2. At the checkpoint, invoke the `reviewer` agent, then the `tester` agent.
|
|
33
|
+
3. If either returns `STATUS: BLOCKING`, fix the issues and repeat step 5.2
|
|
34
|
+
until BOTH return `STATUS: PASS`. Only then move to the next milestone.
|
|
35
|
+
|
|
36
|
+
6. **Close the phase.** When every milestone passes, confirm that `review.md` and
|
|
37
|
+
`test-report.md` both end in `STATUS: PASS`, then summarize what shipped and stop.
|
|
38
|
+
Do NOT start the next phase automatically — wait for the user to review and say go.
|
|
39
|
+
|
|
40
|
+
## Notes
|
|
41
|
+
|
|
42
|
+
- A `PostToolUse` gate hook runs a quick lint/typecheck after every edit. Treat its
|
|
43
|
+
failures as must-fix before continuing.
|
|
44
|
+
- Keep all phase state in the `phases/phase-NN/` files (spec, plan, review, test-report)
|
|
45
|
+
so the working context stays small and later phases can read earlier ones.
|
|
46
|
+
- To run a phase autonomously to completion, the user can pair this with:
|
|
47
|
+
`/goal Complete phase NN per phases/phase-NN/plan.md, until review.md and
|
|
48
|
+
test-report.md both say STATUS: PASS.`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: run-all
|
|
3
|
+
description: Runs every phase in ROADMAP.md sequentially through the full phase loop until the whole project is built. Use whenever the user wants to build the entire project end-to-end autonomously, e.g. "run all phases", "build the whole thing", "do the full roadmap". Always stop at the first phase that cannot pass.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Run all phases
|
|
7
|
+
|
|
8
|
+
Builds the entire project by running each phase of `ROADMAP.md` in order through
|
|
9
|
+
the `phase` skill, with a hard stop on any phase that cannot reach passing status.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
1. Read `ROADMAP.md` and list every phase in order.
|
|
14
|
+
|
|
15
|
+
2. Determine the starting phase: the first phase NN whose `phases/phase-NN/`
|
|
16
|
+
folder does NOT contain a `test-report.md` ending in `STATUS: PASS`.
|
|
17
|
+
(This makes the run resumable — already-finished phases are skipped.)
|
|
18
|
+
|
|
19
|
+
3. For each phase NN from the start, one at a time:
|
|
20
|
+
1. Run the `phase` skill for phase NN, fully:
|
|
21
|
+
spec → plan → `plan-reviewer` → implement milestone by milestone →
|
|
22
|
+
`reviewer` + `tester` at each checkpoint, until BOTH report `STATUS: PASS`.
|
|
23
|
+
2. Confirm `phases/phase-NN/review.md` AND `phases/phase-NN/test-report.md`
|
|
24
|
+
both end in `STATUS: PASS`.
|
|
25
|
+
3. Append one line to `PROGRESS.md`: `phase NN: DONE` (with a one-line summary).
|
|
26
|
+
4. Only then move to phase NN+1.
|
|
27
|
+
|
|
28
|
+
4. **Hard stop on trouble.** If a phase cannot reach `STATUS: PASS` after a
|
|
29
|
+
reasonable number of fix attempts, STOP. Do NOT skip ahead or start the next
|
|
30
|
+
phase. Append `phase NN: BLOCKED — <reason>` to `PROGRESS.md` and report to
|
|
31
|
+
the user what is blocking and what you tried.
|
|
32
|
+
|
|
33
|
+
5. When every phase is `DONE`, append `ALL PHASES COMPLETE` to `PROGRESS.md`
|
|
34
|
+
and stop with a summary.
|
|
35
|
+
|
|
36
|
+
## Rules
|
|
37
|
+
|
|
38
|
+
- Never start phase NN+1 until phase NN is `DONE`. Phases are sequential and
|
|
39
|
+
later phases may depend on earlier ones.
|
|
40
|
+
- Never weaken a checkpoint to make it pass. A real `STATUS: PASS` from an
|
|
41
|
+
independent `reviewer` and `tester` is the only way forward.
|
|
42
|
+
- Keep all state in `phases/phase-NN/` files and `PROGRESS.md` so context stays
|
|
43
|
+
small and the run is auditable.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
name: release
|
|
2
|
+
|
|
3
|
+
# Build the wheel and publish to PyPI when a version tag (v*) is pushed.
|
|
4
|
+
# Uses PyPI Trusted Publishing (OIDC) — no API token secret needed. Before the first release,
|
|
5
|
+
# configure a Trusted Publisher on PyPI for the `grendel-redteam` project pointing at this repo +
|
|
6
|
+
# the `pypi` environment (https://docs.pypi.org/trusted-publishers/).
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
tags:
|
|
11
|
+
- "v*"
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
test:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
- uses: actions/setup-python@v5
|
|
19
|
+
with:
|
|
20
|
+
python-version: "3.12"
|
|
21
|
+
- run: pip install -e ".[dev]"
|
|
22
|
+
- run: ruff check src tests
|
|
23
|
+
- run: pytest -q
|
|
24
|
+
|
|
25
|
+
build:
|
|
26
|
+
needs: test
|
|
27
|
+
runs-on: ubuntu-latest
|
|
28
|
+
steps:
|
|
29
|
+
- uses: actions/checkout@v4
|
|
30
|
+
- uses: actions/setup-python@v5
|
|
31
|
+
with:
|
|
32
|
+
python-version: "3.12"
|
|
33
|
+
- run: pip install build
|
|
34
|
+
- run: python -m build
|
|
35
|
+
- uses: actions/upload-artifact@v4
|
|
36
|
+
with:
|
|
37
|
+
name: dist
|
|
38
|
+
path: dist/
|
|
39
|
+
|
|
40
|
+
publish:
|
|
41
|
+
needs: build
|
|
42
|
+
runs-on: ubuntu-latest
|
|
43
|
+
environment: pypi
|
|
44
|
+
permissions:
|
|
45
|
+
id-token: write # required for Trusted Publishing
|
|
46
|
+
steps:
|
|
47
|
+
- uses: actions/download-artifact@v4
|
|
48
|
+
with:
|
|
49
|
+
name: dist
|
|
50
|
+
path: dist/
|
|
51
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Secrets — never commit
|
|
2
|
+
.env
|
|
3
|
+
.env.*
|
|
4
|
+
*.key
|
|
5
|
+
grendel.local.yaml
|
|
6
|
+
|
|
7
|
+
# Per-user working config at the repo root (has local paths/targets); the tracked example is
|
|
8
|
+
# examples/grendel.example.yaml.
|
|
9
|
+
/grendel.yaml
|
|
10
|
+
|
|
11
|
+
__pycache__/
|
|
12
|
+
*.egg-info/
|
|
13
|
+
.pytest_cache/
|
|
14
|
+
.ruff_cache/
|
|
15
|
+
runs/
|
|
16
|
+
venv/
|
|
17
|
+
.venv/
|
|
18
|
+
build/
|
|
19
|
+
dist/
|
|
20
|
+
|
|
21
|
+
# Imported open-corpus catalog — regenerated with one `grendel import` (not committed;
|
|
22
|
+
# may include toxicity prompts). Wire it via catalog.pack_dirs / --pack-dir.
|
|
23
|
+
catalog/
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|