fix: remove remaining action-agent references from docs and configs
- Remove action-agent card from site/docs/architecture.html - Remove action/ directory line from architecture.html - Update formula comments to reference dispatcher instead of action-agent - Remove action/action.log from log scan loops in preflight.sh and collect-metrics.sh - Remove action from find command in agent-smoke.sh
This commit is contained in:
parent
dc545a817b
commit
d9a6030127
6 changed files with 5 additions and 12 deletions
|
|
@ -84,7 +84,7 @@ while IFS= read -r -d '' f; do
|
||||||
printf 'FAIL [syntax] %s\n' "$f"
|
printf 'FAIL [syntax] %s\n' "$f"
|
||||||
FAILED=1
|
FAILED=1
|
||||||
fi
|
fi
|
||||||
done < <(find dev gardener review planner supervisor lib vault action -name "*.sh" -print0 2>/dev/null)
|
done < <(find dev gardener review planner supervisor lib vault -name "*.sh" -print0 2>/dev/null)
|
||||||
echo "syntax check done"
|
echo "syntax check done"
|
||||||
|
|
||||||
# ── 2. Function-resolution check ─────────────────────────────────────────────
|
# ── 2. Function-resolution check ─────────────────────────────────────────────
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# Trigger: action issue created by planner (gap analysis), dev-poll (post-merge
|
# Trigger: action issue created by planner (gap analysis), dev-poll (post-merge
|
||||||
# hook detecting site/ changes), or gardener (periodic SHA drift check).
|
# hook detecting site/ changes), or gardener (periodic SHA drift check).
|
||||||
#
|
#
|
||||||
# The action-agent picks up the issue, executes these steps, posts results
|
# The dispatcher picks up the issue, executes these steps, posts results
|
||||||
# as a comment, and closes the issue.
|
# as a comment, and closes the issue.
|
||||||
|
|
||||||
name = "run-publish-site"
|
name = "run-publish-site"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
# the action and notifies the human for one-click copy-paste execution.
|
# the action and notifies the human for one-click copy-paste execution.
|
||||||
#
|
#
|
||||||
# Trigger: action issue created by planner or any formula.
|
# Trigger: action issue created by planner or any formula.
|
||||||
# The action-agent picks up the issue, executes these steps, writes a draft
|
# The dispatcher picks up the issue, executes these steps, writes a draft
|
||||||
# to vault/outreach/{platform}/drafts/, notifies the human via the forge,
|
# to vault/outreach/{platform}/drafts/, notifies the human via the forge,
|
||||||
# and closes the issue.
|
# and closes the issue.
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -188,7 +188,7 @@ collect_agent_metrics() {
|
||||||
local agent_name log_path age_min last_active
|
local agent_name log_path age_min last_active
|
||||||
for log_entry in dev/dev-agent.log review/review.log gardener/gardener.log \
|
for log_entry in dev/dev-agent.log review/review.log gardener/gardener.log \
|
||||||
planner/planner.log predictor/predictor.log supervisor/supervisor.log \
|
planner/planner.log predictor/predictor.log supervisor/supervisor.log \
|
||||||
action/action.log vault/vault.log; do
|
vault/vault.log; do
|
||||||
agent_name=$(basename "$(dirname "$log_entry")")
|
agent_name=$(basename "$(dirname "$log_entry")")
|
||||||
log_path="${FACTORY_ROOT}/${log_entry}"
|
log_path="${FACTORY_ROOT}/${log_entry}"
|
||||||
if [ -f "$log_path" ]; then
|
if [ -f "$log_path" ]; then
|
||||||
|
|
|
||||||
|
|
@ -397,11 +397,6 @@
|
||||||
<div class="role">Detects <strong>infrastructure patterns</strong> — recurring failures, resource trends, emerging issues. Files predictions for triage.</div>
|
<div class="role">Detects <strong>infrastructure patterns</strong> — recurring failures, resource trends, emerging issues. Files predictions for triage.</div>
|
||||||
<div class="trigger">Cron: daily</div>
|
<div class="trigger">Cron: daily</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="agent-card">
|
|
||||||
<div class="name">action-agent</div>
|
|
||||||
<div class="role">Executes <strong>operational tasks</strong> defined as formulas — site deployments, data migrations, any multi-step procedure.</div>
|
|
||||||
<div class="trigger">Cron: every 5 min</div>
|
|
||||||
</div>
|
|
||||||
<div class="agent-card">
|
<div class="agent-card">
|
||||||
<div class="name">vault</div>
|
<div class="name">vault</div>
|
||||||
<div class="role"><strong>Safety gate.</strong> Reviews dangerous actions before they execute. Auto-approves safe operations, escalates risky ones to a human.</div>
|
<div class="role"><strong>Safety gate.</strong> Reviews dangerous actions before they execute. Auto-approves safe operations, escalates risky ones to a human.</div>
|
||||||
|
|
@ -525,7 +520,6 @@ disinto/
|
||||||
├── <span class="agent-name">planner/</span> planner-run.sh (weekly cron executor)
|
├── <span class="agent-name">planner/</span> planner-run.sh (weekly cron executor)
|
||||||
├── <span class="agent-name">supervisor/</span> supervisor-run.sh (health monitoring)
|
├── <span class="agent-name">supervisor/</span> supervisor-run.sh (health monitoring)
|
||||||
├── <span class="agent-name">vault/</span> vault-poll.sh, vault-agent.sh, vault-fire.sh
|
├── <span class="agent-name">vault/</span> vault-poll.sh, vault-agent.sh, vault-fire.sh
|
||||||
├── <span class="agent-name">action/</span> action-poll.sh, action-agent.sh
|
|
||||||
├── <span class="agent-name">lib/</span> env.sh, agent-session.sh, ci-helpers.sh
|
├── <span class="agent-name">lib/</span> env.sh, agent-session.sh, ci-helpers.sh
|
||||||
├── <span class="agent-name">projects/</span> *.toml per-project config
|
├── <span class="agent-name">projects/</span> *.toml per-project config
|
||||||
├── <span class="agent-name">formulas/</span> TOML specs for multi-step agent tasks
|
├── <span class="agent-name">formulas/</span> TOML specs for multi-step agent tasks
|
||||||
|
|
|
||||||
|
|
@ -132,8 +132,7 @@ echo ""
|
||||||
|
|
||||||
echo "## Recent Agent Logs"
|
echo "## Recent Agent Logs"
|
||||||
for _log in supervisor/supervisor.log dev/dev-agent.log review/review.log \
|
for _log in supervisor/supervisor.log dev/dev-agent.log review/review.log \
|
||||||
gardener/gardener.log planner/planner.log predictor/predictor.log \
|
gardener/gardener.log planner/planner.log predictor/predictor.log; do
|
||||||
action/action.log; do
|
|
||||||
_logpath="${FACTORY_ROOT}/${_log}"
|
_logpath="${FACTORY_ROOT}/${_log}"
|
||||||
if [ -f "$_logpath" ]; then
|
if [ -f "$_logpath" ]; then
|
||||||
_log_age_min=$(( ($(date +%s) - $(stat -c %Y "$_logpath" 2>/dev/null || echo 0)) / 60 ))
|
_log_age_min=$(( ($(date +%s) - $(stat -c %Y "$_logpath" 2>/dev/null || echo 0)) / 60 ))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue