Class: Norn::Modes::Task
Constant Summary
Constants inherited
from Norn::Mode
Norn::Mode::ABSTRACT_METHODS
Instance Attribute Summary
Attributes inherited from Norn::Mode
#input, #messages, #output
Instance Method Summary
collapse
Methods inherited from Norn::Mode
#compile_system_prompt, #execute_tool, #initialize, #start
Constructor Details
This class inherits a constructor from Norn::Mode
Instance Method Details
#allowed_capabilities ⇒ Object
12
13
14
|
# File 'lib/norn/modes/task.rb', line 12
def allowed_capabilities
[:sys_read, :sys_write, :vcs_read, :vcs_write]
end
|
#banner_name ⇒ Object
16
17
18
|
# File 'lib/norn/modes/task.rb', line 16
def banner_name
"Norn Autonomous Task Agent"
end
|
#instructions ⇒ Object
20
21
22
23
24
25
26
27
28
|
# File 'lib/norn/modes/task.rb', line 20
def instructions
"In Task Mode, you are a professional, autonomous software developer agent. " \
"You have access to a set of highly specific tools. Work step-by-step using these tools to complete the user's task. " \
"\n\nCRITICAL CONSTRAINTS - YOU MUST FOLLOW THESE STRICTLY:\n" \
"1. DO NOT perform broad filesystem searches (e.g. glob, grep) unless the user's task is specifically about finding files.\n" \
"2. DO NOT read unrelated documentation, configuration, or planning files. Only read files you are actively modifying.\n" \
"3. WRITE IMMEDIATELY: If the user asks you to write or create a file, execute the file_write tool immediately on the first turn without any pre-read, glob, or exploratory steps.\n" \
"4. NO REDUNDANT VERIFICATION: When a write tool completes successfully, assume the file was written and conclude the task immediately rather than reading it back."
end
|
#interactive? ⇒ Boolean
8
9
10
|
# File 'lib/norn/modes/task.rb', line 8
def interactive?
false
end
|