agentfluent 0.11.0__tar.gz → 0.12.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.
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/loop.config.md +3 -2
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/settings.json +2 -1
- agentfluent-0.12.0/.claude/specs/analysis/2026-11-12-cron-review/analysis.md +265 -0
- agentfluent-0.12.0/.claude/specs/analysis/2026-11-12-cron-review/evidence.md +228 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/decisions.md +214 -0
- agentfluent-0.12.0/.claude/specs/prd-v0.12.md +216 -0
- agentfluent-0.12.0/.release-please-manifest.json +3 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/CHANGELOG.md +62 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/CLAUDE.md +19 -2
- {agentfluent-0.11.0 → agentfluent-0.12.0}/PKG-INFO +69 -17
- {agentfluent-0.11.0 → agentfluent-0.12.0}/README.md +66 -14
- agentfluent-0.12.0/docs/COST_MODEL.md +103 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/docs/GLOSSARY.md +385 -36
- {agentfluent-0.11.0 → agentfluent-0.12.0}/docs/ROADMAP.md +26 -7
- {agentfluent-0.11.0 → agentfluent-0.12.0}/docs/TOKEN_ACCOUNTING.md +80 -17
- agentfluent-0.12.0/images/demo-analyze.svg +511 -0
- agentfluent-0.12.0/images/demo-config-check.svg +140 -0
- agentfluent-0.12.0/images/demo-diff.svg +558 -0
- agentfluent-0.12.0/images/demo-subagents.svg +167 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/pyproject.toml +23 -3
- {agentfluent-0.11.0 → agentfluent-0.12.0}/scripts/calibration/build_notebook.py +1 -1
- agentfluent-0.12.0/scripts/calibration/idle_gap_recall_check.py +94 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/scripts/calibration/threshold_validation.ipynb +1 -1
- agentfluent-0.12.0/scripts/fragment_merge_corpus_check.py +268 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/scripts/generate_readme_screenshots.py +71 -4
- agentfluent-0.12.0/scripts/trace_coverage_corpus_check.py +181 -0
- agentfluent-0.12.0/scripts/trace_sourcing_corpus_check.py +223 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/agents/models.py +71 -28
- agentfluent-0.12.0/src/agentfluent/analytics/_genai_source.py +367 -0
- agentfluent-0.12.0/src/agentfluent/analytics/agent_metrics.py +432 -0
- agentfluent-0.12.0/src/agentfluent/analytics/cost_coverage.py +204 -0
- agentfluent-0.12.0/src/agentfluent/analytics/cost_model.py +76 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/analytics/pipeline.py +149 -67
- agentfluent-0.12.0/src/agentfluent/analytics/pricing.py +523 -0
- agentfluent-0.12.0/src/agentfluent/analytics/tokens.py +750 -0
- agentfluent-0.12.0/src/agentfluent/analytics/trace_coverage.py +159 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/commands/analyze.py +17 -2
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/commands/diff_cmd.py +34 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/commands/report_renderers.py +139 -53
- agentfluent-0.12.0/src/agentfluent/cli/formatters/coverage.py +201 -0
- agentfluent-0.12.0/src/agentfluent/cli/formatters/diff_cost_caveat.py +120 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/formatters/diff_table.py +61 -7
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/formatters/helpers.py +70 -13
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/formatters/table.py +84 -25
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/config/models.py +16 -7
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/config/retention.py +2 -2
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/config/scanner.py +51 -2
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/config/scoring.py +18 -6
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/core/parser.py +125 -60
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/core/paths.py +36 -0
- agentfluent-0.12.0/src/agentfluent/core/provenance.py +99 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/core/session.py +38 -2
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/_complexity.py +158 -11
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/agent_audit.py +3 -1
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/correlator.py +21 -24
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/mcp_assessment.py +2 -1
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/model_routing.py +185 -59
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/models.py +30 -2
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/parent_workload.py +118 -44
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/pipeline.py +2 -2
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/quality_signals.py +17 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/signals.py +19 -4
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/tool_orchestration.py +11 -2
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/trace_signals.py +88 -14
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diff/compute.py +107 -19
- agentfluent-0.12.0/src/agentfluent/diff/cost_coverage.py +118 -0
- agentfluent-0.12.0/src/agentfluent/diff/cost_model.py +69 -0
- agentfluent-0.12.0/src/agentfluent/diff/models.py +400 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/glossary/terms.yaml +369 -36
- agentfluent-0.12.0/src/agentfluent/traces/coverage.py +303 -0
- agentfluent-0.12.0/src/agentfluent/traces/lineage.py +301 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/traces/linker.py +6 -4
- agentfluent-0.12.0/src/agentfluent/traces/models.py +335 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/traces/parser.py +116 -35
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/traces/retry.py +12 -1
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/traces/sidecar.py +74 -13
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/conftest.py +8 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/report/analyze_snapshot.json +6 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/report/expected_report.md +6 -4
- agentfluent-0.12.0/tests/fixtures/session_context_tier.jsonl +4 -0
- agentfluent-0.12.0/tests/fixtures/session_context_tier_dated.jsonl +2 -0
- agentfluent-0.12.0/tests/fixtures/session_injected_user_messages.jsonl +15 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/session_streaming_dupes.jsonl +1 -1
- agentfluent-0.12.0/tests/fixtures/subagents/agent-parallel-tool-use.jsonl +10 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_active_duration_display.py +4 -5
- agentfluent-0.12.0/tests/unit/cli/test_agent_table_spend_columns.py +136 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_analyze_since_until.py +22 -0
- agentfluent-0.12.0/tests/unit/cli/test_cost_coverage_footer.py +247 -0
- agentfluent-0.12.0/tests/unit/cli/test_diff_by_model_table.py +262 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_diff_cmd.py +270 -0
- agentfluent-0.12.0/tests/unit/cli/test_diff_cost_caveat.py +114 -0
- agentfluent-0.12.0/tests/unit/cli/test_diff_cost_coverage.py +348 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_offload_candidates_formatting.py +26 -0
- agentfluent-0.12.0/tests/unit/cli/test_pricing_gap_warning_cli.py +62 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_report_golden.py +8 -1
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_report_renderers.py +171 -4
- agentfluent-0.12.0/tests/unit/cli/test_unpriced_cost_rows.py +486 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/diff/test_compute.py +251 -0
- agentfluent-0.12.0/tests/unit/diff/test_cost_coverage_compare.py +300 -0
- agentfluent-0.12.0/tests/unit/diff/test_cost_model_compare.py +154 -0
- agentfluent-0.12.0/tests/unit/diff/test_unpriced_by_model.py +402 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_agent_audit.py +48 -1
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_agent_metrics.py +133 -70
- agentfluent-0.12.0/tests/unit/test_config_path_leak_guard.py +474 -0
- agentfluent-0.12.0/tests/unit/test_context_tier_pricing.py +631 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_correlator.py +92 -19
- agentfluent-0.12.0/tests/unit/test_cost_coverage.py +404 -0
- agentfluent-0.12.0/tests/unit/test_cost_model.py +119 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_delegation.py +19 -11
- agentfluent-0.12.0/tests/unit/test_fragment_merge.py +310 -0
- agentfluent-0.12.0/tests/unit/test_genai_source.py +402 -0
- agentfluent-0.12.0/tests/unit/test_lineage_fold_gate.py +609 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_mcp_assessment.py +36 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_model_routing.py +186 -44
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_parent_workload_cluster.py +95 -20
- agentfluent-0.12.0/tests/unit/test_parent_workload_cost.py +396 -0
- agentfluent-0.12.0/tests/unit/test_paths.py +218 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_pipeline.py +215 -1
- agentfluent-0.12.0/tests/unit/test_pricing.py +1160 -0
- agentfluent-0.12.0/tests/unit/test_provenance.py +219 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_quality_signals.py +92 -0
- agentfluent-0.12.0/tests/unit/test_readme_screenshots_script.py +173 -0
- agentfluent-0.12.0/tests/unit/test_scanner.py +226 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_scoring.py +128 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_tokens.py +59 -0
- agentfluent-0.12.0/tests/unit/test_trace_coverage.py +636 -0
- agentfluent-0.12.0/tests/unit/test_trace_coverage_display.py +70 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_trace_signals.py +174 -0
- agentfluent-0.12.0/tests/unit/test_trace_sourced_counts.py +389 -0
- agentfluent-0.12.0/tests/unit/test_trace_spend_savings.py +432 -0
- agentfluent-0.12.0/tests/unit/test_trace_spend_savings_pins.py +327 -0
- agentfluent-0.12.0/tests/unit/test_trace_turn_dedup.py +545 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_traces_parser.py +282 -10
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_traces_retry.py +81 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_traces_sidecar.py +99 -3
- {agentfluent-0.11.0 → agentfluent-0.12.0}/uv.lock +236 -27
- agentfluent-0.11.0/.release-please-manifest.json +0 -3
- agentfluent-0.11.0/docs/COST_MODEL.md +0 -74
- agentfluent-0.11.0/images/demo-analyze.svg +0 -462
- agentfluent-0.11.0/images/demo-config-check.svg +0 -136
- agentfluent-0.11.0/images/demo-diff.svg +0 -474
- agentfluent-0.11.0/images/demo-subagents.svg +0 -167
- agentfluent-0.11.0/src/agentfluent/analytics/_genai_source.py +0 -97
- agentfluent-0.11.0/src/agentfluent/analytics/agent_metrics.py +0 -288
- agentfluent-0.11.0/src/agentfluent/analytics/pricing.py +0 -254
- agentfluent-0.11.0/src/agentfluent/analytics/tokens.py +0 -316
- agentfluent-0.11.0/src/agentfluent/diff/models.py +0 -237
- agentfluent-0.11.0/src/agentfluent/traces/models.py +0 -185
- agentfluent-0.11.0/tests/unit/cli/test_diff_by_model_table.py +0 -74
- agentfluent-0.11.0/tests/unit/test_genai_source.py +0 -105
- agentfluent-0.11.0/tests/unit/test_parent_workload_cost.py +0 -217
- agentfluent-0.11.0/tests/unit/test_paths.py +0 -98
- agentfluent-0.11.0/tests/unit/test_pricing.py +0 -550
- agentfluent-0.11.0/tests/unit/test_scanner.py +0 -107
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/agents/anthropic-research.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/agents/candidate-verifier.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/claude-security-guidance.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/hooks/block_secret_reads.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/hooks/detect_secrets_in_output.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/hooks/guard_append_only.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/security-patterns.json +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/skills/promote-candidates/SKILL.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/skills/release-loop/SKILL.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/skills/release-loop/loop-engine.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/.gitkeep +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/agent-sdk-session-format-findings.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/2026-04-29-agent-portfolio-analysis.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/2026-05-17-v07-dogfood-analysis.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/2026-05-30-v08-dogfood/analysis.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/2026-06-05-v09-dogfood/analysis.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/2026-06-05-v09-dogfood/analyze.json +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/2026-06-05-v09-dogfood/analyze.table.txt +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/2026-07-03-v10-dogfood/analysis.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/2026-07-03-v10-dogfood/analyze.json +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/2026-07-03-v10-dogfood/analyze.table.txt +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/333-error-pattern-precision/findings.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/333-error-pattern-precision/labels.tsv +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/333-error-pattern-precision/sample.tsv +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/333-error-pattern-precision/script.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/402-calibration/calibration.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/402-calibration/pairs.tsv +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/407-calibration/calibration.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/407-calibration/detections.tsv +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/407-calibration/export.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/407-calibration/sample.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/analysis/407-calibration/tune.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/backlog-mvp.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/backlog-v0.3.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/backlog-v0.5.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/backlog-v0.6.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/backlog-v0.7.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/backlog-v0.8.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/backlog-v0.9.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/plan-100-mcp-assessment.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/plan-116-mcp-extraction.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-advanced-tool-use-diagnostics.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-agent-sdk-discovery.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-context-fork-loop-detection.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-continuous-eval.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-date-range-filtering.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-glossary.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-loop-engineering.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-loop-plugin.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-mvp.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-pricing-genai-migration.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-quality-axis.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-research-pipeline-phase-3.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-tier3-github-enrichment.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-tool-name-normalization.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-v0.10.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-v0.11.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-v0.3.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-v0.5.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-v0.6.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-v0.7.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-v0.8.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/prd-v0.9.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/research/anthropic-feature-watch.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/research-update-2026-04-15.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/v0.4-scope-review.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.claude/specs/value-review-437-verbosity.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.github/dependabot.yml +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.github/workflows/ci.yml +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.github/workflows/dependabot-auto-merge.yml +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.github/workflows/milestone-docs-issue.yml +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.github/workflows/pr-template-check.yml +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.github/workflows/release-please.yml +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.github/workflows/security-review.yml +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.gitignore +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/.python-version +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/CONTRIBUTING.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/LICENSE +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/SECURITY.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/docs/AGENT_ANALYTICS_RESEARCH.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/docs/EFFICIENCY_DIAGNOSTICS_RESEARCH.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/docs/RAG_OVER_TOOLS_RESEARCH.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/docs/SECURITY.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/docs/codefluent_cli_review_042526.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/images/archive/v0.3/demo-analyze.svg +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/images/archive/v0.3/demo-config-check.svg +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/images/archive/v0.3/demo-diagnostics.svg +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/images/archive/v0.3/demo-subagents.svg +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/images/demo-diagnostics.svg +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/release-please-config.json +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/research/agent-sdk-probe/FINDINGS.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/research/agent-sdk-probe/README.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/research/agent-sdk-probe/agent.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/research/agent-sdk-probe/fixture.txt +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/research/agent-sdk-probe/probe.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/research/agent-sdk-probe/run_matrix.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/research/agent-sdk-probe/sampledata/code.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/research/agent-sdk-probe/sampledata/data.csv +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/research/agent-sdk-probe/sampledata/notes.txt +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/scripts/calibration/README.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/scripts/calibration/quality_labels.json +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/scripts/generate_glossary_md.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/agents/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/agents/extractor.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/analytics/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/analytics/tools.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/_time_args.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/commands/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/commands/config_check.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/commands/explain.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/commands/list_cmd.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/commands/report.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/exit_codes.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/formatters/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/formatters/json_output.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/cli/main.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/config/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/config/hook_inspector.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/config/mcp_discovery.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/core/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/core/discovery.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/core/filtering.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/core/timeutil.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/_clustering.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/_git_helpers.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/aggregation.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/builtin_actions.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/delegation.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/git_signals.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diagnostics/github_signals.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diff/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/diff/loader.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/github/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/github/cache.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/github/client.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/github/consent.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/github/detection.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/github/models.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/glossary/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/glossary/loader.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/glossary/models.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/glossary/render.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/py.typed +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/traces/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/src/agentfluent/traces/discovery.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/_builders.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/.gitkeep +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/agents/empty_prompt.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/agents/no_frontmatter.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/agents/no_tools.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/agents/vague_description.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/agents/well_configured.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/hooks/inline_bash_timing.yaml +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/hooks/no_post_hook.yaml +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/hooks/secrets_hook.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/hooks/timing_hook.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/mcp/claude_user_only.json +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/mcp/claude_user_with_disabled.json +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/nested_session/README.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/nested_session/nested-session-1/subagents/agent-leaf0001.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/nested_session/nested-session-1/subagents/agent-leaf0001.meta.json +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/nested_session/nested-session-1/subagents/agent-worker001.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/nested_session/nested-session-1/subagents/agent-worker001.meta.json +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/nested_session/nested-session-1.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/parent_workload_session.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/sdk_session/README.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/sdk_session/sdk-main-1/subagents/agent-child0000001.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/sdk_session/sdk-main-1/subagents/agent-child0000001.meta.json +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/sdk_session/sdk-main-1.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/session_basic.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/session_block_per_line.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/session_cli_entrypoint.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/session_malformed.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/session_skip_types.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/session_with_agent.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/session_with_tool_calls.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/subagents/agent-basic.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/subagents/agent-empty.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/subagents/agent-errors.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/subagents/agent-large.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/subagents/agent-malformed.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/subagents/agent-retry.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/subagents/agent-streaming-dupes.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/fixtures/subagents/agent-stuck.jsonl +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/integration/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/integration/test_agent_extraction.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/integration/test_analytics.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/integration/test_analyze_session_scope.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/integration/test_config_assessment.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/integration/test_diagnostics.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/integration/test_git_signals_real.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/integration/test_real_sessions.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/integration/test_subagent_traces.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/_recommendation_helpers.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/conftest.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_agent_duration_cell.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_analyze_github_flag.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_analyze_session_scope.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_axis_json_contract.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_axis_labels.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_claude_config_dir.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_cleanup_warning_cli.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_cost_labeling.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_deep_diagnostics_formatting.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_diagnostics_default.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_diagnostics_smoke.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_diff_summary.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_diff_table_signed.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_environment_warning_banner.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_exit_codes.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_explain.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_glossary_footer.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_help.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_json_alias.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_json_output.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_list_since_until.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_min_severity_filter.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_output_modes.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_parse_warnings.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_recommendations_top_n.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_report_cmd.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_report_pipeline.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_session_kind_indicator.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_tier3_degraded_banner.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_time_args.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/cli/test_verbose_signal_message.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/diff/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_agent_models.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_append_only_guard.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_clustering.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_complexity.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_core_filtering.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_dedup.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_delegation_yaml_draft.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_diagnostics.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_diagnostics_pipeline.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_discovery.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_entrypoint_classification.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_extractor.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_git_signals.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_github_cache.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_github_client.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_github_consent.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_github_detection.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_github_signals_ci_failure.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_github_signals_density.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_glossary_drift.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_glossary_loader.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_glossary_render.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_hook_inspector.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_loop_skill_drift.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_mcp_discovery.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_model_routing_sdk_main.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_parent_workload_extract.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_parser.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_recommendation_aggregation.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_retention.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_sdk_session_fixture.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_session_models.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_signals.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_smoke.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_timeutil.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_tool_inventory_audit.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_tool_orchestration.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_tools.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_totaltokens_semantics.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_traces_discovery.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_traces_fixtures.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_traces_linker.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_traces_models.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/test_traces_nested_fixture.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/tools/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/tools/test_dogfood_cli_runner.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/tools/test_dogfood_model_rotation.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/tools/test_dogfood_paths.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tests/unit/tools/test_dogfood_runner_main.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tools/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tools/dogfood_runner/README.md +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tools/dogfood_runner/__init__.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tools/dogfood_runner/cli_runner.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tools/dogfood_runner/install-cron.sh +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tools/dogfood_runner/paths.py +0 -0
- {agentfluent-0.11.0 → agentfluent-0.12.0}/tools/dogfood_runner/runner.py +0 -0
|
@@ -18,7 +18,7 @@ The binding table. The engine names each parameter in `CAPS`; the values here ar
|
|
|
18
18
|
| `BACKLOG_SOURCE` | GitHub milestone (e.g. `v0.11.0`) via `gh` | could be a label (an epic is the label case — `gh issue list --label epic:<name>`), or a local `TODO.md` |
|
|
19
19
|
| `SCOPE_AGENT` | `pm` (user-global subagent) | answers scope/priority/requirements questions; remove if project has none |
|
|
20
20
|
| `DESIGN_AGENT` | `architect` (user-global subagent) | reviews plans pre-implementation; remove if none |
|
|
21
|
-
| `CODE_REVIEW` | `/code-review` (Claude Code **built-in skill**) | independent post-impl review; verified 2026-
|
|
21
|
+
| `CODE_REVIEW` | `/code-review` (Claude Code **built-in skill**) | independent post-impl review; re-verified 2026-08-20 by the first v0.2.0 iteration (#595 — three review rounds, real findings). The repo's `/review`/`/simplify` (CLAUDE.md) are alternatives, not this. |
|
|
22
22
|
| `SECURITY_REVIEW` | local `/security-review` (built-in skill) for `.claude/`-only; else `needs-security-review` label → `security-review.yml` | see §4 below |
|
|
23
23
|
| `VERIFY` | `/verify` (built-in skill) | runtime behavior check when an AC needs proof-by-running |
|
|
24
24
|
| `PRIORITY_LABELS` | `priority:high > priority:medium > priority:low`; tiebreak: issue number ascending | drives selection (engine → Select / Initialization) |
|
|
@@ -27,6 +27,7 @@ The binding table. The engine names each parameter in `CAPS`; the values here ar
|
|
|
27
27
|
| `TEST_CMD` | `uv run pytest -m "not integration"` | |
|
|
28
28
|
| `LINT_CMD` | `uv run ruff check src/ tests/` | |
|
|
29
29
|
| `TYPE_CMD` | `uv run mypy src/agentfluent/` | |
|
|
30
|
+
| `HERMETIC_TEST_CMD` | `—` — **no offline/hermetic tier declared** | Deliberate not-applicable, not an unfilled blank (#73 AC2/AC5). The `integration` marker gates **real session data, not network**: `pyproject.toml:77` defines it as "tests that require real session data", and `CLAUDE.md:172-173` confirms they run against real `~/.claude/projects/` data and are skipped in CI. So `TEST_CMD`'s `-m "not integration"` selects a *data*-free tier, **not** a network-free one — no offline tier exists to gate. Verified 2026-08-10. ⚠ **Never delete this row** — an absent row reads as *unknown, and unknown is due* → escalate. |
|
|
30
31
|
| `CI_STATUS_CMD` | `gh pr checks <PR>` | |
|
|
31
32
|
| `BRANCH_FMT` | `feature/<n>-slug` / `fix/<n>-slug` | from CLAUDE.md |
|
|
32
33
|
| `COMMIT_CONV` | Conventional Commits; `.claude/**`→`chore:`/`docs:` | see commit-scope rule below |
|
|
@@ -84,7 +85,7 @@ The project-specific inputs to the engine's Route classification (engine → Rou
|
|
|
84
85
|
|
|
85
86
|
## 4. Security routing (host-repo / GitHub specifics)
|
|
86
87
|
|
|
87
|
-
The engine's
|
|
88
|
+
The engine's security gate reads its *specifics* from here (engine keeps the gate's
|
|
88
89
|
position + confidence-bar discipline):
|
|
89
90
|
|
|
90
91
|
- **`.claude/`-only change** → run local `SECURITY_REVIEW` (`/security-review`). The labeled
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
# Agent Portfolio Analysis — cron-accumulation review
|
|
2
|
+
|
|
3
|
+
**Date:** 2026-11-12
|
|
4
|
+
**Author:** Claude (Opus 5) with Fred Pearce
|
|
5
|
+
**Source:** the retained dogfood-runner state tree — `$XDG_STATE_HOME/agentfluent/dogfood/<slug>/snapshot-*.json` (14 generations) plus `cron.log` and `runs.jsonl`. **Not** a fresh `analyze` invocation; see "How this run differs".
|
|
6
|
+
**Window reviewed:** 2026-11-04 → 2026-11-11 (the runner's rolling `7d`), with the 14-generation snapshot history used for trend and precision counts
|
|
7
|
+
**Sessions in the latest window:** 157 across 7 project slugs
|
|
8
|
+
**agentfluent version:** v0.11.0 (editable install at `8c53cee`)
|
|
9
|
+
**Baseline:** [`2026-07-03-v10-dogfood/analysis.md`](../2026-07-03-v10-dogfood/analysis.md)
|
|
10
|
+
**Derived evidence:** [`evidence.md`](evidence.md) (raw snapshots deliberately not committed — see that file's header)
|
|
11
|
+
|
|
12
|
+
## How this run differs from the previous five
|
|
13
|
+
|
|
14
|
+
Every prior dogfood analysis was a **release-cut ritual**: one `agentfluent analyze --project agentfluent` over the whole corpus, run deliberately by a human at a version boundary. This one is the first review of the **S0 cron's accumulated output** (#590) — daily runs at 12:30 with a `7d` rolling window, live since ~2026-07-07, 119 synthesis runs logged, and **unexamined for roughly four months**.
|
|
15
|
+
|
|
16
|
+
That changes what is being evaluated. The questions here are not "does v0.11 ship clean" but:
|
|
17
|
+
|
|
18
|
+
1. **Is the cron actually running, and is anything broken?** (Yes; and no.)
|
|
19
|
+
2. **Is the daily narrative it produces trustworthy?** (No — this is the finding of the run.)
|
|
20
|
+
3. **Are the newly-created agents (`ba`, `marketer`) being picked up and used?** (Yes, both.)
|
|
21
|
+
4. **What has been silently wrong for four months while nobody read the output?**
|
|
22
|
+
|
|
23
|
+
The answer to (4) is the reason this document exists.
|
|
24
|
+
|
|
25
|
+
## Headline — three silent failures, all live for weeks
|
|
26
|
+
|
|
27
|
+
| Surface | What the tool reported | What was true | Precision |
|
|
28
|
+
|---|---|---|---|
|
|
29
|
+
| **Cost** | `$0.0000` for 6 of 7 projects | ≈$1,363 attributed in one 7-day window | 5 of 10 model ids unpriced |
|
|
30
|
+
| **`STUCK_PATTERN`** | 112 `critical` "no progress" signals | 0 genuine stalls | **0 / 112** |
|
|
31
|
+
| **`USER_CORRECTION`** | 33 human corrections | 0 human corrections | **0 / 33** |
|
|
32
|
+
| **Synthesis** | dated P0s with owners; per-project session counts | FP-derived P0s; two counts off by 23× and 28× | — |
|
|
33
|
+
|
|
34
|
+
The cron's **deterministic gate was green throughout, and correctly so** — analysis genuinely succeeded every run, no parse exceptions, `warnings: []`, `tier3_degraded: false`. The anti-false-green split (#590) did exactly its job. What does not exist is any check on whether the *numbers and findings* are plausible before they are rendered as costs, severities and dated action items. That gap is the thread connecting all four rows.
|
|
35
|
+
|
|
36
|
+
Filed as epic **#672** (`epic:reporting-trust`), children #664, #666, #667, #668, #669, #670.
|
|
37
|
+
|
|
38
|
+
## The marquee: a zero-precision signal drove the same P0 for seven consecutive days
|
|
39
|
+
|
|
40
|
+
Every synthesis from 2026-11-05 through 2026-11-11 led with a variant of:
|
|
41
|
+
|
|
42
|
+
> **P0** — Add explicit "no-progress exit" guards to `ba.md` and `pm.md` agent prompts — **Owner:** Fred — **Due:** EOD 2026-11-12
|
|
43
|
+
|
|
44
|
+
It was stable across all three rotation parent models, which is what made it look credible. It is a false positive, and acting on it would have degraded two correctly-behaving agents.
|
|
45
|
+
|
|
46
|
+
### What the signals actually were
|
|
47
|
+
|
|
48
|
+
| project | agent | signal | reality |
|
|
49
|
+
|---|---|---|---|
|
|
50
|
+
| claude-code-loop | `pm` | `Read` identical **12×** | paging `tool-results/mcp-github-search_issues-*.txt`; results at lines 72 → 270 → 1033 |
|
|
51
|
+
| us-presidential-vote-analysis | `ba` | `Read` identical **7×** | paging `tool-results/mcp-github-get_pull_request_files-*.txt`; a different file per page |
|
|
52
|
+
|
|
53
|
+
Both agents were correctly paginating an oversized MCP result that Claude Code had spilled to `tool-results/` — the exact mechanism `CLAUDE.md` documents under `persistedOutputPath`.
|
|
54
|
+
|
|
55
|
+
### Root cause
|
|
56
|
+
|
|
57
|
+
```python
|
|
58
|
+
# src/agentfluent/diagnostics/trace_signals.py:393
|
|
59
|
+
is_stuck = seq.attempts >= _STUCK_MIN_ATTEMPTS and all(
|
|
60
|
+
c.input_summary == calls[0].input_summary for c in calls[1:]
|
|
61
|
+
)
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
`input_summary` is capped at `INPUT_SUMMARY_MAX_CHARS = 200` (`traces/models.py:27`). A `Read` of a spill path serializes to:
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
{"file_path": "/home/<user>/.claude/projects/<slug>/<session-id>/tool-results/mcp-github-search_issues-1793838775794.txt", "of
|
|
68
|
+
^ severed at 200
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
The path consumes the entire budget, so the string is cut **immediately before `offset`** — the only parameter that varies between pages. Every page compares byte-identical.
|
|
72
|
+
|
|
73
|
+
The adjacent comment states the assumption that fails:
|
|
74
|
+
|
|
75
|
+
> `STUCK` stays ungated: it requires identical inputs, which drifting paging never matches, and an identical no-error repeat is a real missing-exit-condition loop.
|
|
76
|
+
|
|
77
|
+
**#581 closed this exact hole for `RETRY_LOOP` and deliberately left `STUCK` ungated on the strength of that sentence.** The assumption holds for short inputs and fails for any input whose varying parameter sits past byte 200 — which is the normal shape for spill paths. A fix in one detector did not generalize to its sibling because the sibling's exemption was reasoned from a property it did not actually have.
|
|
78
|
+
|
|
79
|
+
### Corpus-wide precision
|
|
80
|
+
|
|
81
|
+
Across all 112 `STUCK_PATTERN` signals in the 14 retained generations:
|
|
82
|
+
|
|
83
|
+
- **112 / 112** have `input_summary` sitting exactly at the 200-char cap.
|
|
84
|
+
- **111 / 112** show differing `result_summary` values — demonstrable forward progress.
|
|
85
|
+
- The one remaining signal has identical results but is a deliberate poll, not a stall:
|
|
86
|
+
`for i in $(seq 1 58); do grep -q '^EXIT=' <logfile> && break; sleep 10; done`, repeated while waiting on a background run.
|
|
87
|
+
|
|
88
|
+
Effective precision: **0 / 112**. Filed as **#666** (`priority:high`).
|
|
89
|
+
|
|
90
|
+
### Blast radius beyond the signal
|
|
91
|
+
|
|
92
|
+
- **#600** (`prompt-fix: enforce stop/fallback …`) was justified partly on these fires. Its body already hedged — *"partly the #580 self-referential FP, partly a genuine gap on the unrelated `us-presidential-vote-analysis` corpus."* The unrelated-corpus half is also an FP. Re-scoped: `pm.md` dropped, `architect` tool-error core retained.
|
|
93
|
+
- **#415** proposes a fork-loop hint built *on top of* `STUCK_PATTERN`. Should not start until #666 lands.
|
|
94
|
+
- Any prompt change made on this evidence would have been unmeasurable anyway — the detector would keep firing regardless of what the prompt said.
|
|
95
|
+
|
|
96
|
+
## `USER_CORRECTION` — 0 / 33, and a recurrence of closed work
|
|
97
|
+
|
|
98
|
+
All 33 fires in the 2026-11-10 and 2026-11-11 snapshots are **machine-injected user-role messages**:
|
|
99
|
+
|
|
100
|
+
| count | injected shape | origin |
|
|
101
|
+
|---|---|---|
|
|
102
|
+
| 20 | `You are a senior security engineer conducting a focused security review…` | the security-review workflow prompt |
|
|
103
|
+
| 13 | `Another Claude session sent a message: <agent-message from="…">` / `[Subagent hand-back] …` | cross-session relay, subagent hand-back |
|
|
104
|
+
| **0** | anything attributable to a human | — |
|
|
105
|
+
|
|
106
|
+
The 3-tier guardrail in `quality_signals.py` gates on *what the preceding assistant message did* (write-tool present, question-only suppression) but never asks whether the user message came from a human. Long injected prompts reliably trip the soft tiers, because `_NEGATION_PATTERNS` / `_REDIRECTION_PATTERNS` / `_UNDO_PATTERNS` match common words (`\bno,?\s`, `\brevert\b`, `\bundo\b`) that appear incidentally in any long block of text.
|
|
107
|
+
|
|
108
|
+
**This is a recurrence, not a new bug.** #321 ("patterns matching system-injected text") and #330 ("fires on Claude Code skill-metadata text") both closed this class for the injection shapes known at the time. The shapes above are newer — the security-review workflow prompt, and the relay format introduced by multi-session work. Three rounds of pattern-level exclusion have not generalized, which argues for a structural provenance filter.
|
|
109
|
+
|
|
110
|
+
Note the existing `synthetic` concept does **not** cover it: `synthetic_message_count` counts `<synthetic>`-model **assistant** ghosts (`analytics/pipeline.py:127`). There is no classifier for programmatic **user**-role messages; one has to be built. Filed as **#667**.
|
|
111
|
+
|
|
112
|
+
The synthesis built a recurring "design decisions delegated before architecture review — missed pre-implementation gates" narrative on these counts, emitted as dated P2/P3 items. The underlying count was zero.
|
|
113
|
+
|
|
114
|
+
## Cost — the pricing allow-list zeroed most of the fleet
|
|
115
|
+
|
|
116
|
+
Six of seven projects reported `$0.0000`. Measured through the production path at the pinned `genai-prices==0.1.4`:
|
|
117
|
+
|
|
118
|
+
| model id | corpus rows | `get_pricing` | upstream | verdict |
|
|
119
|
+
|---|---|---|---|---|
|
|
120
|
+
| `claude-opus-5-5` | 245 | `None` → $0 | `in=5.0, out=25.0` | **silently zeroed** |
|
|
121
|
+
| `claude-sonnet-5-5` | 50 | `None` → $0 | `in=3.0, out=15.0` | **silently zeroed** |
|
|
122
|
+
| `claude-fable-5-1` | 34 | `None` → $0 | `in=10.0, out=50.0` | **silently zeroed** |
|
|
123
|
+
| `claude-haiku-5-5` | 12 | `None` → $0 | **`None`** | **needs a `_RESIDUAL`** |
|
|
124
|
+
| `claude-sonnet-5` | 8 | `None` → $0 | `in=3.0, out=15.0` | **silently zeroed** |
|
|
125
|
+
| `claude-opus-5` | 1 | OK | `in=5.0, out=25.0` | priced by #663 |
|
|
126
|
+
| `claude-opus-4-8` / `-4-7` / `claude-sonnet-4-6` / `claude-haiku-4-5-20251001` | 67 | OK | — | priced |
|
|
127
|
+
|
|
128
|
+
**Five of ten ids present resolve to `$0.00`; four are priceable upstream today**, blocked solely by the `_KNOWN_MODELS` allow-list consulted *before* upstream (`pricing.py:174-177`). This is #664, already filed from the #661 architect review — but filed when the instances were two stragglers (`claude-sonnet-5`, `claude-fable-5`). They are now the dominant models in the corpus. Priority raised `medium` → `high`; it is the first issue in the epic queue.
|
|
129
|
+
|
|
130
|
+
Attributing the 2026-11-11 window at upstream rates:
|
|
131
|
+
|
|
132
|
+
| project | reported | attributed |
|
|
133
|
+
|---|---|---|
|
|
134
|
+
| us-presidential-vote-analysis | $0.00 | ≈$1,005.67 |
|
|
135
|
+
| sportswear-esg-news-classifier | $0.00 | ≈$205.69 |
|
|
136
|
+
| github-pages | $0.00 | ≈$72.92 |
|
|
137
|
+
| claude-code-loop | $0.00 | ≈$72.14 |
|
|
138
|
+
| claude-code-sessions | $0.00 | ≈$6.95 |
|
|
139
|
+
| **total, one 7-day window** | **$0.00** | **≈$1,363** |
|
|
140
|
+
|
|
141
|
+
List-rate attribution, not an out-of-pocket bill — this work is subscription-billed, and #646 separately tracks that `totalTokens` is a context proxy rather than spend. The point is that the cost surface reported zero for essentially the whole fleet, `warnings[]` was empty, and the miss is logged at **DEBUG only**.
|
|
142
|
+
|
|
143
|
+
### The false-green it produced
|
|
144
|
+
|
|
145
|
+
The 2026-11-11 synthesis read the zeros as a **strength**:
|
|
146
|
+
|
|
147
|
+
> **Cache leverage exceptional:** 95.6% reuse on claude-code-loop, 94.5% on github-pages; **zero marginal API cost** despite high session volume
|
|
148
|
+
|
|
149
|
+
For a project with 3,169 API calls. A plausibility assertion as crude as "`api_call_count > 0` and `total_cost == 0` is impossible" would have caught this independently of the pricing fix. That is now an AC on **#668**.
|
|
150
|
+
|
|
151
|
+
### A trap for #664's option (ii)
|
|
152
|
+
|
|
153
|
+
Upstream resolution **prefix-matches within a model family**, so "upstream can price it" is not evidence the id exists:
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
_resolve_rates("claude-sonnet-5-9") -> UpstreamRates(input=3.0, output=15.0, ...) # no such model
|
|
157
|
+
_resolve_rates("claude-opus-9-9") -> None
|
|
158
|
+
_resolve_rates("claude-haiku-5-5") -> None
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
#664's option (ii) — "price anything upstream covers, minus a deny-list" — adopted naively would price typos and hallucinated ids at plausible family rates, trading a loud `$0` for a quiet wrong number. Worse for a cost tool. If (ii) wins it needs an exact-match assertion, or a WARNING whenever the match is inexact. Recorded on #664 and #669.
|
|
162
|
+
|
|
163
|
+
This likely also explains a discrepancy: #664's body lists `claude-sonnet-5` at `input=2.0, output=10.0`; it resolves to `3.0/15.0` at the same pin today. A family match rather than an exact record would account for it — worth confirming, since AC1's golden-rate locks depend on which it is.
|
|
164
|
+
|
|
165
|
+
## Synthesis reliability — the first substantive #636 rotation finding
|
|
166
|
+
|
|
167
|
+
The main-model rotation (#636) exists so the corpus says something about how the diagnostics behave across model tiers. It has now produced its first real result, and it is about the *synthesis*, not the diagnostics.
|
|
168
|
+
|
|
169
|
+
The 2026-11-11 run (`main_model: claude-haiku-4-5`) reported in its own summary table:
|
|
170
|
+
|
|
171
|
+
| project | synthesis said | snapshot held |
|
|
172
|
+
|---|---|---|
|
|
173
|
+
| us-presidential-vote-analysis | 4 sessions | **92** |
|
|
174
|
+
| sportswear-esg-news-classifier | 1 session | **28** |
|
|
175
|
+
| claude-code-loop | 7 | 7 ✓ |
|
|
176
|
+
| github-pages | 17 | 17 ✓ |
|
|
177
|
+
| claude-code-sessions | 5 | 5 ✓ |
|
|
178
|
+
| agentfluent | 7 | 7 ✓ |
|
|
179
|
+
| claude-hook-validator | 1 | 1 ✓ |
|
|
180
|
+
|
|
181
|
+
The two it got wrong are the **two highest-volume repos in the corpus**, understated 23× and 28× and presented as near-idle. The 2026-11-09 (`claude-opus-4-8`) and 2026-11-10 (`claude-sonnet-4-6`) runs transcribed their counts correctly.
|
|
182
|
+
|
|
183
|
+
The same report also contains a self-contradiction no check caught: it claims six agents "consistently record 0 invocations" *including* `ba` and `pm`, and in the same breath that `ba` and `pm` are the agents stuck in retry loops.
|
|
184
|
+
|
|
185
|
+
**Conclusion:** per-project figures must be rendered mechanically from the snapshot rather than transcribed by the model, and a finding sourced from a low-precision signal must not be renderable as a P0 with an owner and a due date. Both are ACs on **#668**. The deterministic gate stays LLM-free; this adds deterministic scaffolding *around* the narrative.
|
|
186
|
+
|
|
187
|
+
## Agent configuration — the actual answer to "are my new agents working?"
|
|
188
|
+
|
|
189
|
+
The `agentfluent` slug's own snapshot reports 6 agents unused and the `github` MCP server unused. **That verdict is an artifact.** All 7 sessions in its window are the dogfood runner's *own* SDK sessions (`session_kind: sdk`, `entrypoint: sdk-py`, sole tool `Agent`, sole agent `snapshot-summarizer`) — no interactive work happened in the repo during the window, so the runner was measuring itself.
|
|
190
|
+
|
|
191
|
+
Fleet-wide over the same window:
|
|
192
|
+
|
|
193
|
+
| agent | invocations | where |
|
|
194
|
+
|---|---|---|
|
|
195
|
+
| `general-purpose` | 151 | vote-analysis 93, esg 40, github-pages 14, loop 3, sessions 1 |
|
|
196
|
+
| `architect` | 46 | vote-analysis 33, esg 6, github-pages 6, loop 1 |
|
|
197
|
+
| `ba` | 41 | vote-analysis 41 |
|
|
198
|
+
| `pm` | 8 | vote-analysis 7, loop 1 |
|
|
199
|
+
| `marketer` | 4 | loop 3, vote-analysis 1 |
|
|
200
|
+
|
|
201
|
+
Both agents created since the last review are scanned **and** actively invoked: `ba` (created 2026-10-11) 41 times, `marketer` (updated 2026-10-24) 4 times. Only `anthropic-research` and `candidate-verifier` are genuinely uninvoked anywhere — consistent with the research scout's migration to `claude-code-sessions` (#451, closed).
|
|
202
|
+
|
|
203
|
+
**Open question, not yet filed:** the self-referential window makes the `agentfluent` slug's config assessment misleading on any day with no interactive work. Excluding `session_kind: sdk` dogfood sessions from that slug, or assessing agent usage over a longer window than `7d`, would fix it. Noted at the end of #671.
|
|
204
|
+
|
|
205
|
+
## Findings that survived verification
|
|
206
|
+
|
|
207
|
+
Three, after discarding the FP classes above.
|
|
208
|
+
|
|
209
|
+
### `architect` rediscovers the 256 KB Read ceiling by hitting it
|
|
210
|
+
|
|
211
|
+
```
|
|
212
|
+
architect: retried tool 'Read' 2 times with different parameter shapes before succeeding.
|
|
213
|
+
First attempt failed with: 'File content (424.5KB) exceeds maximum allowed size (256KB).
|
|
214
|
+
Use offset and limit parameters to read specific portions...'
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
Two independent projects in one window — 424.5 KB in `us-presidential-vote-analysis`, 367.6 KB in `sportswear-esg-news-classifier`. Genuine true positive (`is_error=true` on the leading attempt). Routed into the **#600** re-scope, which already owns `architect.md` prompt work. Cheap to prevent: size a file before reading it whole.
|
|
218
|
+
|
|
219
|
+
### `general-purpose` fights worktree isolation — 5 to 17 Bash retries
|
|
220
|
+
|
|
221
|
+
```
|
|
222
|
+
general-purpose: retried tool 'Bash' 17 times with different parameter shapes before succeeding.
|
|
223
|
+
First attempt failed with: 'This agent is isolated in the worktree
|
|
224
|
+
/home/.../us_presidential_vote_analysis/.claude/worktrees/agent-<id>'
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
Recurs at 5, 6, 6, 8, 14 and 17 retries across `us-presidential-vote-analysis` sessions, plus one Bash `permission_failure`. Real friction and real token cost, but `general-purpose` is built-in (no prompt file) and the cause is that repo's worktree + permission setup. Recorded in **#671**; the transferable lesson is that worktree-isolated delegation needs the isolation boundary stated in the delegating prompt, or the agent rediscovers it a dozen times by trial and error.
|
|
228
|
+
|
|
229
|
+
### The secrets hook over-blocks on any mention of a credential filename
|
|
230
|
+
|
|
231
|
+
`architect` was denied a `Grep` whose *pattern* merely referenced dotenv config while auditing config loading — reading source files, not secrets. `bash_command_is_blocked` matches `CREDENTIAL_TOKEN_REGEX` against the **whole command string**, so any command that names a credential file is denied regardless of what it does.
|
|
232
|
+
|
|
233
|
+
Reproduced twice in **this** repo while writing this review: reading the hook's own source was denied (the `sed` command quoted the pattern the hook defines), and so was the heredoc writing #670's issue text. Both had to go through the `Write` tool.
|
|
234
|
+
|
|
235
|
+
The guard is deliberately fail-closed and that posture is right, but this particular check is close to orthogonal to the risk: the genuine leak path is a recursive content search whose *scope* contains a secret file — which never mentions the filename and is therefore unguarded. Filed as **#670** (`.claude/**` only, `chore:` scope).
|
|
236
|
+
|
|
237
|
+
## Issues filed and re-scoped
|
|
238
|
+
|
|
239
|
+
**Epic #672** — `epic:reporting-trust`, intended as a dev-loop `BACKLOG_SOURCE`.
|
|
240
|
+
|
|
241
|
+
| # | title | priority |
|
|
242
|
+
|---|---|---|
|
|
243
|
+
| #664 | pricing gate silently zeroes priceable models — **work first** | high (raised) |
|
|
244
|
+
| #666 | `STUCK_PATTERN` paginated-read false positives | high |
|
|
245
|
+
| #667 | `USER_CORRECTION` injected-message false positives | medium |
|
|
246
|
+
| #668 | dogfood synthesis plausibility gate | medium |
|
|
247
|
+
| #669 | scheduled model-tier/version watcher for pricing coverage | medium |
|
|
248
|
+
| #670 | `block_secret_reads` over-blocking | low |
|
|
249
|
+
|
|
250
|
+
**Deliberately outside the queue**, each carrying an explicit keep-out comment so it cannot drift in:
|
|
251
|
+
|
|
252
|
+
- **#600** — re-scoped. `pm.md` dropped (FP), `architect.md` retained and narrowed. User-global → no repo artifact (#559).
|
|
253
|
+
- **#671** — triage record for the non-repo-bound findings.
|
|
254
|
+
|
|
255
|
+
**Commented, not re-opened:** #82, whose re-scoped overlay-lever drift detector is a different axis from #669, and whose stated blocker **#80 is closed** — its `pricing.json` scraper deliverables predate genai-prices-as-SSOT (D045) and should be pruned when picked up.
|
|
256
|
+
|
|
257
|
+
## What this review proved
|
|
258
|
+
|
|
259
|
+
1. **The cron works and the gate works.** 119 runs, daily, no analysis failures, no stale state. The anti-false-green split held: the gate never went green on broken analysis. The problem was never in the part that was engineered for correctness.
|
|
260
|
+
2. **A deterministic gate on *process* does not protect *findings*.** Exit codes certify that analysis ran, not that what it found is real. Both zero-precision signals were `critical`/`warning` severity and both were faithfully promoted to prioritized, owner-assigned, dated recommendations. Nothing between a 0%-precision detector and a P0 with a due date.
|
|
261
|
+
3. **Precision fixes do not generalize by themselves.** `STUCK_PATTERN` was left exposed by #581 on an explicit, reasoned assumption that was false. `USER_CORRECTION` had the same class closed twice (#321, #330) and regressed on new injection shapes. Both argue for structural invariants over pattern-level patches — consistent with the standing concern about overfitting to a single corpus's vocabulary.
|
|
262
|
+
4. **Unread automation decays silently.** Four months of daily reports, each internally plausible, compounding three wrong conclusions. The output was never wrong in a way that broke anything — it was wrong in a way that read as insight. That is the failure mode worth designing against, and it is what #668 exists for.
|
|
263
|
+
5. **Cost is the least safe place to fail quietly.** `$0.00` is indistinguishable from "this was free", and it actively generated a congratulatory narrative about efficiency. For a tool whose value proposition is dollar figures, under-pricing must be loud — the inverse of the fail-safe direction used for detection signals.
|
|
264
|
+
|
|
265
|
+
**Next:** #664, then #666. No point re-reading AgentFluent's own output until #666 lands — until then every run will keep reporting the same false positive.
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# Derived evidence — 2026-11-12 cron-accumulation review
|
|
2
|
+
|
|
3
|
+
Companion to [`analysis.md`](analysis.md).
|
|
4
|
+
|
|
5
|
+
## Why there is no `analyze.json` here
|
|
6
|
+
|
|
7
|
+
Prior dogfood analyses committed the raw `analyze --json` output alongside the write-up. This review's raw inputs are the **dogfood runner's retained snapshot tree**, which is deliberately out-of-tree and must not be committed:
|
|
8
|
+
|
|
9
|
+
> Snapshots carry absolute paths and project data, and an in-tree state dir is one `.gitignore` slip from leaking that to a public repo.
|
|
10
|
+
> — `tools/dogfood_runner/README.md`
|
|
11
|
+
|
|
12
|
+
The tree also holds data for six unrelated projects (including a private client-adjacent repo) and totals ~115 MB across 20 slugs × 14 generations. So this file carries the **derived tables** instead: every number quoted in `analysis.md`, plus the commands to regenerate them from a live state tree.
|
|
13
|
+
|
|
14
|
+
Source tree at review time: `$XDG_STATE_HOME/agentfluent/dogfood/` — 20 slugs, 14 retained generations per active slug, newest `snapshot-20261111T203001Z.json`.
|
|
15
|
+
|
|
16
|
+
## Cron liveness
|
|
17
|
+
|
|
18
|
+
| | |
|
|
19
|
+
|---|---|
|
|
20
|
+
| Schedule | `30 12 * * *` — daily 12:30 local, `--window 7d` |
|
|
21
|
+
| Installed by | `tools/dogfood_runner/install-cron.sh` (tagged `# agentfluent-dogfood-runner (S0/#590)`) |
|
|
22
|
+
| Live since | ~2026-07-07 |
|
|
23
|
+
| Synthesis runs logged | 119 (`runs.jsonl`) |
|
|
24
|
+
| Last run before review | 2026-11-11 12:30, clean |
|
|
25
|
+
| Analysis failures in retained window | 0 |
|
|
26
|
+
| `warnings[]` | empty in every snapshot |
|
|
27
|
+
| `tier3_degraded` | `false` |
|
|
28
|
+
|
|
29
|
+
Main-model rotation (#636) confirmed cycling by date: 2026-11-09 `claude-opus-4-8`, 2026-11-10 `claude-sonnet-4-6`, 2026-11-11 `claude-haiku-4-5`.
|
|
30
|
+
|
|
31
|
+
## Latest window — per-project totals (2026-11-11 snapshot generation)
|
|
32
|
+
|
|
33
|
+
| project slug | sessions | reported cost | cache eff. | API calls | agents invoked |
|
|
34
|
+
|---|---|---|---|---|---|
|
|
35
|
+
| us-presidential-vote-analysis | 92 | $0.0000 | 97.2% | 3,169 | ba 41, architect 33, general-purpose 93, pm 7, marketer 1 |
|
|
36
|
+
| sportswear-esg-news-classifier | 28 | $0.0000 | 96.0% | 630 | architect 6, general-purpose 40 |
|
|
37
|
+
| github-pages-…-github-io | 17 | $0.0000 | 95.5% | 336 | architect 6, general-purpose 14 |
|
|
38
|
+
| agentfluent | 7 | $3.7064 | 62.3% | 23 | snapshot-summarizer 85 |
|
|
39
|
+
| claude-code-loop | 7 | $0.0000 | 96.2% | 414 | general-purpose 3, marketer 3, pm 1, architect 1 |
|
|
40
|
+
| claude-code-sessions | 5 | $0.0000 | 94.5% | 73 | general-purpose 1 |
|
|
41
|
+
| claude-hook-validator | 1 | $0.0000 | 0.0% | 0 | — |
|
|
42
|
+
| **total** | **157** | **$3.7064** | — | **4,645** | — |
|
|
43
|
+
|
|
44
|
+
`agentfluent` is the only slug reporting non-zero cost because the dogfood runner pins pre-5.5 models for synthesis; every other slug ran on `claude-opus-5-5` / `claude-sonnet-5-5`, which the pricing allow-list zeroes (#664).
|
|
45
|
+
|
|
46
|
+
The `agentfluent` slug's 7 sessions are **all** the runner's own: `session_kind: sdk`, `entrypoint: sdk-py`, `tool_frequency: {"Agent": N}`, `by_agent_type: {"snapshot-summarizer": N}`. Window filter: 244 sessions before, 7 after.
|
|
47
|
+
|
|
48
|
+
## Pricing coverage — all model ids in the corpus
|
|
49
|
+
|
|
50
|
+
Measured through the production path at `genai-prices==0.1.4`:
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
from agentfluent.analytics.pricing import get_pricing
|
|
54
|
+
from agentfluent.analytics._genai_source import _resolve_rates
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
| model id | rows across all snapshots | `get_pricing` | `_resolve_rates` (upstream) | verdict |
|
|
58
|
+
|---|---|---|---|---|
|
|
59
|
+
| `claude-opus-5-5` | 245 | `None` → $0 | `in=5.0, out=25.0` | silently zeroed |
|
|
60
|
+
| `claude-sonnet-5-5` | 50 | `None` → $0 | `in=3.0, out=15.0` | silently zeroed |
|
|
61
|
+
| `claude-fable-5-1` | 34 | `None` → $0 | `in=10.0, out=50.0` | silently zeroed |
|
|
62
|
+
| `claude-haiku-4-5-20251001` | 28 | OK | `in=1.0, out=5.0` | priced |
|
|
63
|
+
| `claude-sonnet-4-6` | 14 | OK | `in=3.0, out=15.0` | priced |
|
|
64
|
+
| `claude-opus-4-8` | 14 | OK | `in=5.0, out=25.0` | priced |
|
|
65
|
+
| `claude-haiku-5-5` | 12 | `None` → $0 | **`None`** | needs `_RESIDUAL` |
|
|
66
|
+
| `claude-opus-4-7` | 11 | OK | `in=5.0, out=25.0` | priced |
|
|
67
|
+
| `claude-sonnet-5` | 8 | `None` → $0 | `in=3.0, out=15.0` | silently zeroed |
|
|
68
|
+
| `claude-opus-5` | 1 | OK | `in=5.0, out=25.0` | priced (#663) |
|
|
69
|
+
|
|
70
|
+
Curated `_KNOWN_MODELS` at review time (9 entries): `claude-haiku-4-5-20251001`, `claude-opus-4-5-20251101`, `claude-opus-4-6`, `claude-opus-4-7`, `claude-opus-4-8`, `claude-opus-5`, `claude-sonnet-4-20250514`, `claude-sonnet-4-5-20250929`, `claude-sonnet-4-6`.
|
|
71
|
+
|
|
72
|
+
### Upstream prefix-matching (bears on #664 option (ii), #669)
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
_resolve_rates("claude-sonnet-5") -> UpstreamRates(input=3.0, output=15.0, cache_write_5m=3.75, cache_read=0.3)
|
|
76
|
+
_resolve_rates("claude-sonnet-5-9") -> UpstreamRates(input=3.0, output=15.0, cache_write_5m=3.75, cache_read=0.3) # no such model
|
|
77
|
+
_resolve_rates("claude-opus-9-9") -> None
|
|
78
|
+
_resolve_rates("claude-totally-fake-7") -> None
|
|
79
|
+
_resolve_rates("claude-haiku-5-5") -> None
|
|
80
|
+
_resolve_rates("claude-haiku-5") -> None
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
A fabricated `claude-sonnet-5-9` inherits sonnet rates. "Upstream can price it" is therefore not evidence an id is real. Note `claude-sonnet-5` resolving to `3.0/15.0` differs from #664's body (`2.0/10.0`) at the same pin — most likely a family match rather than an exact record.
|
|
84
|
+
|
|
85
|
+
### Attributed cost for the 2026-11-11 window
|
|
86
|
+
|
|
87
|
+
Computed as `(input×rate_in + output×rate_out + cache_creation×rate_cw + cache_read×rate_cr) / 1e6` per `by_model` row, using the upstream rates above:
|
|
88
|
+
|
|
89
|
+
| project | reported | attributed |
|
|
90
|
+
|---|---|---|
|
|
91
|
+
| us-presidential-vote-analysis | $0.00 | ≈$1,005.67 |
|
|
92
|
+
| sportswear-esg-news-classifier | $0.00 | ≈$205.69 |
|
|
93
|
+
| github-pages | $0.00 | ≈$72.92 |
|
|
94
|
+
| claude-code-loop | $0.00 | ≈$72.14 |
|
|
95
|
+
| claude-code-sessions | $0.00 | ≈$6.95 |
|
|
96
|
+
| claude-hook-validator | $0.00 | $0.00 |
|
|
97
|
+
| **total** | **$0.00** | **≈$1,362.37** |
|
|
98
|
+
|
|
99
|
+
List-rate attribution only — not an out-of-pocket bill (subscription-billed), and subject to #646's caveat that `totalTokens` is a context proxy rather than spend.
|
|
100
|
+
|
|
101
|
+
## `STUCK_PATTERN` precision — 0 / 112
|
|
102
|
+
|
|
103
|
+
Counted across every retained generation in every slug:
|
|
104
|
+
|
|
105
|
+
| | count |
|
|
106
|
+
|---|---|
|
|
107
|
+
| Total `STUCK_PATTERN` signals | **112** |
|
|
108
|
+
| …with `len(input_summary) >= 200` (at the truncation cap) | **112** |
|
|
109
|
+
| …and with >1 distinct `result_summary` (forward progress) | **111** |
|
|
110
|
+
| …with a single distinct result (stall candidate) | **1** |
|
|
111
|
+
| Genuine stalls after inspection | **0** |
|
|
112
|
+
|
|
113
|
+
Distinct (project, agent, tool) combinations that fired:
|
|
114
|
+
|
|
115
|
+
| first seen | project | agent | tool | `len(input_summary)` | distinct results | calls |
|
|
116
|
+
|---|---|---|---|---|---|---|
|
|
117
|
+
| 2026-10-29 | sportswear-esg | `general-purpose` | Bash | 200 | 5 | 5 |
|
|
118
|
+
| 2026-11-02 | sportswear-esg | `pm` | Read | 200 | 5 | 5 |
|
|
119
|
+
| 2026-11-03 | claude-code-loop | `general-purpose` | Bash | 200 | 4 | 4 |
|
|
120
|
+
| 2026-11-05 | claude-code-loop | `pm` | Read | 200 | 5 | 5 |
|
|
121
|
+
| 2026-10-29 | vote-analysis | `general-purpose` | Bash | 200 | **1** | 5 |
|
|
122
|
+
| 2026-11-06 | vote-analysis | `ba` | Read | 200 | 5 | 5 |
|
|
123
|
+
|
|
124
|
+
The single-distinct-result case is the one stall candidate; inspection shows a deliberate poll, not a stall:
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
input_summary: {"command": "for i in $(seq 1 58); do grep -q '^EXIT=' /tmp/.../issue-326.mutation-run-exact.log
|
|
128
|
+
&& break; sleep 10; done; cat /tmp/.../issue-326.mutation-run-exact.log", "description"
|
|
129
|
+
result (all 5 identical): "(Bash completed with no output)"
|
|
130
|
+
is_error flags: [False, False, False, False, False]
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Representative false positive, showing truncation and progress together:
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
agent: pm message: repeated tool 'Read' with identical input 12 times without progress
|
|
137
|
+
input_summary (all 12 identical, 200 chars):
|
|
138
|
+
{"file_path": "/home/<user>/.claude/projects/<slug>/<session-id>/tool-results/
|
|
139
|
+
mcp-github-search_issues-1793838775794.txt", "of <- severed before `offset`
|
|
140
|
+
result_summary, call 6: '72\t "body": "**Epic:** #271 · **Model:** Opus 5.5 ...'
|
|
141
|
+
result_summary, call 7: '270\t "state": "open", ...'
|
|
142
|
+
result_summary, call 8: '1033\t "body": "**Epic:** #271 · **Model:** Fable ...'
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## `USER_CORRECTION` precision — 0 / 33
|
|
146
|
+
|
|
147
|
+
Across the 2026-11-10 and 2026-11-11 generations:
|
|
148
|
+
|
|
149
|
+
| count | classification | marker |
|
|
150
|
+
|---|---|---|
|
|
151
|
+
| 20 | injected: security-review workflow prompt | `You are a senior security engineer conducting a focused security review` / `Review this change for security vulnerabilities.` |
|
|
152
|
+
| 13 | injected: cross-session relay / subagent hand-back | `Another Claude session sent a message: <agent-message from="…">` / `[Subagent hand-back] The text below is the final report of a…` |
|
|
153
|
+
| **0** | plausibly human | — |
|
|
154
|
+
|
|
155
|
+
Per project in the 7-day window: vote-analysis 12, sportswear-esg 5 (the remainder from the 2026-11-10 generation).
|
|
156
|
+
|
|
157
|
+
Confirmed absent from `src/agentfluent/diagnostics/quality_signals.py`: any filter on message provenance. `grep -n "synthetic\|is_synthetic\|is_meta\|isMeta"` → no matches. The 3-tier guardrail documented at `quality_signals.py:28-44` gates on the *preceding assistant message* only.
|
|
158
|
+
|
|
159
|
+
## Synthesis transcription accuracy by parent model
|
|
160
|
+
|
|
161
|
+
Session counts as stated in each run's own summary table, versus the snapshot each run had just written:
|
|
162
|
+
|
|
163
|
+
| project | 2026-11-09 (opus-4-8) | 2026-11-10 (sonnet-4-6) | 2026-11-11 (haiku-4-5) | actual (11-11) |
|
|
164
|
+
|---|---|---|---|---|
|
|
165
|
+
| us-presidential-vote-analysis | ✓ | ✓ | **4** | **92** |
|
|
166
|
+
| sportswear-esg-news-classifier | ✓ | ✓ | **1** | **28** |
|
|
167
|
+
| claude-code-loop | ✓ | ✓ | 7 ✓ | 7 |
|
|
168
|
+
| github-pages | ✓ | ✓ | 17 ✓ | 17 |
|
|
169
|
+
| claude-code-sessions | ✓ | ✓ | 5 ✓ | 5 |
|
|
170
|
+
| agentfluent | ✓ | ✓ | 7 ✓ | 7 |
|
|
171
|
+
| claude-hook-validator | ✓ | ✓ | 1 ✓ | 1 |
|
|
172
|
+
|
|
173
|
+
The 2026-11-11 report additionally asserts both that `ba` and `pm` have "0 invocations" and that they are the agents stuck in retry loops.
|
|
174
|
+
|
|
175
|
+
### The repeated P0, by run
|
|
176
|
+
|
|
177
|
+
| date | parent model | leading recommendation |
|
|
178
|
+
|---|---|---|
|
|
179
|
+
| 2026-11-05 | haiku-4-5 | "Add progress-check gates and max-retry fallbacks to pm.md and general-purpose delegation prompts" |
|
|
180
|
+
| 2026-11-06 | opus-4-8 | "Add explicit exit conditions / retry bounds to `pm.md` and `ba.md` — highest leverage" |
|
|
181
|
+
| 2026-11-07 | sonnet-4-6 | "Fix `pm` and `ba` exit conditions — confirmed across 3 repos" |
|
|
182
|
+
| 2026-11-08 | haiku-4-5 | "Both agents need explicit 'if retried N times, report failure and exit' logic" |
|
|
183
|
+
| 2026-11-09 | opus-4-8 | "Two repeated, fixable agent-definition bugs — missing retry-exit conditions in `ba`/`pm`" |
|
|
184
|
+
| 2026-11-10 | sonnet-4-6 | "Agents looping on identical calls with no exit condition, hitting three separate projects" |
|
|
185
|
+
| 2026-11-11 | haiku-4-5 | "**P0** — Add 'no-progress exit' guards to `ba.md`/`pm.md` — Owner: Fred — Due: EOD 2026-11-12" |
|
|
186
|
+
|
|
187
|
+
Model-independent, which is what made it look credible.
|
|
188
|
+
|
|
189
|
+
## Permission failures — 3 in the latest window
|
|
190
|
+
|
|
191
|
+
| project | agent | tool | verdict |
|
|
192
|
+
|---|---|---|---|
|
|
193
|
+
| sportswear-esg | `general-purpose` | Bash | hook working as designed — blocked a read of a committed config template |
|
|
194
|
+
| sportswear-esg | `architect` | Grep | **over-block** — pattern merely referenced dotenv config during a config audit (#670) |
|
|
195
|
+
| vote-analysis | `general-purpose` | Bash | flagged `'blocked'` but the detail's `result_summary` carries successful content; worth a second look, not pursued in this review |
|
|
196
|
+
|
|
197
|
+
## Regeneration
|
|
198
|
+
|
|
199
|
+
Against a live state tree (`$XDG_STATE_HOME/agentfluent/dogfood/`):
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
# cron liveness + schedule
|
|
203
|
+
crontab -l | grep agentfluent-dogfood-runner
|
|
204
|
+
wc -l "$XDG_STATE_HOME/agentfluent/dogfood/runs.jsonl"
|
|
205
|
+
tail -3 "$XDG_STATE_HOME/agentfluent/dogfood/runs.jsonl"
|
|
206
|
+
|
|
207
|
+
# per-project totals, agent usage, signal histogram (iterate snapshot-*.json per slug)
|
|
208
|
+
# data.session_count, data.token_metrics.{total_cost,cache_efficiency,api_call_count,by_model}
|
|
209
|
+
# data.agent_metrics.by_agent_type[*].invocation_count
|
|
210
|
+
# data.diagnostics.signals[*].signal_type
|
|
211
|
+
|
|
212
|
+
# STUCK_PATTERN precision: for each signal of that type,
|
|
213
|
+
# len(detail.tool_calls[0].input_summary) >= 200 -> truncated
|
|
214
|
+
# len({tc.result_summary[:80] for tc in detail.tool_calls}) -> >1 means forward progress
|
|
215
|
+
|
|
216
|
+
# USER_CORRECTION provenance: classify signal.message by injected-shape markers above
|
|
217
|
+
|
|
218
|
+
# pricing coverage
|
|
219
|
+
uv run python -c "
|
|
220
|
+
from agentfluent.analytics.pricing import get_pricing, get_known_models
|
|
221
|
+
from agentfluent.analytics._genai_source import _resolve_rates
|
|
222
|
+
for m in ['claude-opus-5-5','claude-sonnet-5-5','claude-fable-5-1','claude-haiku-5-5','claude-sonnet-5']:
|
|
223
|
+
print(m, get_pricing(m), _resolve_rates(m))
|
|
224
|
+
print(get_known_models())
|
|
225
|
+
"
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Paths in quoted snapshot excerpts above were scrubbed (`<user>`, `<slug>`, `<session-id>`) per the runner README's absolute-path caution.
|