feat(profiler/behave_shell): emit environmental.shell_type
Per-prompt classification mode over ctx.prompt_lines. $/# → bash; % → zsh; > with 'PS ' prefix → powershell; > with 'C:\' substring → cmd.exe; > otherwise → fish. New _features/environmental.py module opens Phase F.
This commit is contained in:
@@ -24,6 +24,9 @@ from decnet.profiler.behave_shell._features.cognitive import (
|
||||
inter_command_consistency,
|
||||
inter_command_latency_class,
|
||||
)
|
||||
from decnet.profiler.behave_shell._features.environmental import (
|
||||
shell_type,
|
||||
)
|
||||
from decnet.profiler.behave_shell._features.temporal import (
|
||||
escalation_pattern,
|
||||
landing_ritual,
|
||||
@@ -67,4 +70,5 @@ FEATURES: tuple[FeatureFn, ...] = (
|
||||
session_duration,
|
||||
escalation_pattern,
|
||||
landing_ritual,
|
||||
shell_type,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user