Skip to content

Commit fbfd9ec

Browse files
Merge remote-tracking branch 'origin/master' into codex/plugin-validation-tooling
# Conflicts: # tests/agent_suite/update_plugin_test.rs
2 parents e1ecdda + 6c9ea8b commit fbfd9ec

191 files changed

Lines changed: 12175 additions & 2030 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ include = [
3434
"/dashboard/graph/dist/**",
3535
"/dashboard/code-diagnostics/dist/**",
3636
"/dashboard/savings/dist/**",
37+
"/dashboard/settings/dist/**",
3738
"/dashboard/hermes-wrapper/manifest.json",
3839
"/dashboard/hermes-wrapper/plugin_api.py",
3940
"/dashboard/hermes-wrapper/src/**",

build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ const DASHBOARD_ASSET_FILES: &[&str] = &[
2020
"dashboard/code-diagnostics/dist/style.css",
2121
"dashboard/savings/dist/index.js",
2222
"dashboard/savings/dist/style.css",
23+
"dashboard/settings/dist/index.js",
24+
"dashboard/settings/dist/style.css",
2325
];
2426

2527
const DASHBOARD_SOURCE_FILES: &[&str] = &[
@@ -36,6 +38,7 @@ const DASHBOARD_SOURCE_DIRS: &[&str] = &[
3638
"dashboard/code-diagnostics/src",
3739
"dashboard/lib",
3840
"dashboard/savings/src",
41+
"dashboard/settings/src",
3942
"dashboard/shell/src",
4043
];
4144

codex-plugin/skills/architecture-overview/SKILL.md

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
name: assessing-impact
3+
description: 'Use when estimating blast radius, finding what depends on a symbol or file, choosing or running affected tests, checking whether code is tested, or verifying a change without a full suite. Use before guessing tests, running broad suites, or declaring a change safe.'
4+
---
5+
6+
# Assessing impact
7+
8+
## Blast radius
9+
10+
1. **Resolve the target → node ID** with `tracedecay_search` /
11+
`tracedecay_find_exact_symbol` / `tracedecay_by_qualified_name` (resolver
12+
ladder: `tracedecay:exploring-code`).
13+
2. **Symbol blast radius → `tracedecay_impact`** (`node_id`, small `max_depth`
14+
first, widen only if the picture is incomplete): all direct + transitive
15+
dependents.
16+
3. **File-level fan-in → `tracedecay_file_dependents`** (every file importing
17+
the changed file).
18+
4. **Already have changed paths → `tracedecay_diff_context`** (`files`):
19+
modified symbols + dependents + affected tests in one call — prefer it
20+
over separate lookups.
21+
5. **Structural fragility (optional):** `tracedecay_coupling` /
22+
`tracedecay_dependency_depth` to see if the target is a high-fan-in hub.
23+
24+
## Coverage intelligence (read-only)
25+
26+
1. **Symbol/file → its tests → `tracedecay_test_map`** (`file` or `node_id`):
27+
direct coverage edges; an empty result means no test reaches it through
28+
the indexed graph.
29+
2. **Changed files → affected tests → `tracedecay_affected`** (`files`):
30+
dependency-graph traversal to every test file that can see the change.
31+
3. **Where the next test goes → `tracedecay_test_risk`** (`path?`, `limit?`):
32+
risk = (complexity + 1) × (fan_in + 1) × untested-multiplier — the
33+
prioritized gap list.
34+
35+
## Running the impacted tests
36+
37+
1. **Run → `tracedecay_run_affected_tests`** (`changed_paths`, `max_tests`,
38+
`profile`, `timeout_secs`): pass/fail per test, with the source nodes each
39+
test covers. Cargo-only; for non-Rust repos use `tracedecay_diagnostics`
40+
(tsc/pyright) and the project's own test runner.
41+
2. **On compile/type failure → `tracedecay_diagnose`** for captured cargo
42+
stderr, or the `tracedecay:fixing-build-and-type-errors` skill.
43+
44+
## Guardrails
45+
46+
- Everything except `tracedecay_run_affected_tests` and
47+
`tracedecay_diagnostics` is read-only and safe to run first to preview
48+
scope. The cargo-backed tools run toolchains (the first `diagnostics` build
49+
can take minutes; forced target dir
50+
`/tmp/tracedecay-target/<project_id>/diagnostics`) — respect Cursor
51+
approval/run-mode and avoid duplicate runs.
52+
- Coverage is structural (call/use edges): integration tests that reach code
53+
indirectly (through a binary, fixture, or IO boundary) can be missed — an
54+
empty `test_map` is strong but not absolute evidence of "untested".
55+
- Start with a shallow `max_depth` and widen only when incomplete.
56+
- For broad changes, use scoped read-only subagents per changed file group or
57+
subsystem; require cited dependents, affected tests, and tool parameters —
58+
the parent agent owns the final blast-radius and test-set synthesis.
59+
60+
## Handoff
61+
62+
- Mechanical refactor where impact analysis becomes an edit checklist →
63+
`tracedecay:editing-safely`. Reviewing a whole diff → `tracedecay:reviewing-changes`.
64+
65+
## Output
66+
67+
- (a) impacted symbols + files, (b) the test set to run (or the pass/fail
68+
summary with failing-symbol mapping), (c) any hub/coupling risk and ranked
69+
coverage gaps.
70+
- If any result includes a `tracedecay_metrics:` line, report the savings to
71+
the user.

codex-plugin/skills/assessing-test-coverage/SKILL.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

codex-plugin/skills/atomic-code-edits/SKILL.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

codex-plugin/skills/auditing-code-safety/SKILL.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

codex-plugin/skills/cleaning-up-dead-code/SKILL.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

codex-plugin/skills/code-health-report/SKILL.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)