refactor: remove dead descriptor-driven mechanisms (no remaining consumer)
Drop code whose only consumer was a retired runtime: hostBehaviors readers for agentFileExtension, localTargetIsProjectRoot, sharedHooksDirName, skillsManifestPrefix and skipCodexSkillsManifest; the empty NON_REGISTRY_CONFIG_HOME_DESCRIPTORS array and live-config-guard plumbing; the empty RUNTIME_NOTE_AUDIENCE_BY_HEADING filter; the unused resolveVersionFrom export; and the WINDSURF_SESSION_ID workstream session key. Delete tests that only exercised those mechanisms.
This commit is contained in:
@@ -3707,12 +3707,6 @@ describe('#4377 project-relative prefix properties', () => {
|
||||
});
|
||||
});
|
||||
|
||||
test('#4377: a project-root local target falls back to absolute includes', () => {
|
||||
// No shipped runtime installs at the project root any more, so the `undefined` branch is not
|
||||
// reachable through a real descriptor; only the descriptor-directory branch is asserted.
|
||||
assert.equal(conversion._localIncludeDirName('claude'), '.claude');
|
||||
});
|
||||
|
||||
describe('#4377 relative rewrites preserve every runtime launcher shell default', () => {
|
||||
test('the shared mask preserves a complete nested shell default as one unit', () => {
|
||||
const nested = '${OUTER:-${INNER:-$HOME/.claude}/msd-core}';
|
||||
|
||||
Reference in New Issue
Block a user