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:
@@ -499,12 +499,6 @@ describe('getWorkstreamSessionKey', () => {
|
||||
assert.equal(key, 'cursor-session-id-cur-001');
|
||||
});
|
||||
|
||||
test('returns windsurf-session-id for WINDSURF_SESSION_ID', () => {
|
||||
process.env.WINDSURF_SESSION_ID = 'ws-surf';
|
||||
const key = getWorkstreamSessionKey();
|
||||
assert.equal(key, 'windsurf-session-id-ws-surf');
|
||||
});
|
||||
|
||||
test('returns term-session-id for TERM_SESSION_ID', () => {
|
||||
process.env.TERM_SESSION_ID = 'term-1';
|
||||
const key = getWorkstreamSessionKey();
|
||||
|
||||
Reference in New Issue
Block a user