完成任务16:编写 04_长期发展/环境保护.md

This commit is contained in:
root
2026-05-23 16:51:48 +00:00
parent 33ea0114ea
commit c8cd92ba7c
734 changed files with 188060 additions and 604 deletions

View File

@@ -0,0 +1,3 @@
#!/bin/bash
# 激活极简回复模式
echo "极简回复模式已激活"

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
tool_output="${1:-}"
exit_code="${2:-0}"
echo "[self-improving-agent] PostToolUse: exit=${exit_code}" >&2
if [[ -n "${tool_output}" ]]; then
echo "[self-improving-agent] Output: ${tool_output}" >&2
fi

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
tool_name="${1:-unknown}"
tool_input="${2:-}"
echo "[self-improving-agent] PreToolUse: ${tool_name}" >&2
if [[ -n "${tool_input}" ]]; then
echo "[self-improving-agent] Input: ${tool_input}" >&2
fi

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
echo "[self-improving-agent] Session ended" >&2
# 激活极简回复模式
bash ${SKILLS_DIR}/self-improving-agent/hooks/minimal-activate.sh