mirror of
https://github.com/openai/codex.git
synced 2026-10-30 19:18:49 +00:00
Align ephemeral context with fragment conventions
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
co-authored by
Codex
parent
cc2e3e4996
commit
bbb827666f
+13
-13
@@ -6,24 +6,24 @@ Scenario: Mid-turn continuation compaction keeps both prior and active ephemeral
|
||||
|
||||
## Local Compaction Request
|
||||
00:message/developer:<PERMISSIONS_INSTRUCTIONS>
|
||||
01:message/user[2]:
|
||||
[01] <AGENTS_MD>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD>>
|
||||
02:message/user:<additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
03:message/user:SETUP_USER
|
||||
04:message/assistant:FIRST_REPLY
|
||||
05:message/user:<additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
06:message/user:function call limit push
|
||||
07:function_call/test_tool
|
||||
08:function_call_output:unsupported call: test_tool
|
||||
09:message/user:<SUMMARIZATION_PROMPT>
|
||||
01:message/user[3]:
|
||||
[01] <SKILLS_SECTION>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD#1>>
|
||||
[03] <additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
02:message/user:SETUP_USER
|
||||
03:message/assistant:FIRST_REPLY
|
||||
04:message/user:<additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
05:message/user:function call limit push
|
||||
06:function_call/test_tool
|
||||
07:function_call_output:unsupported call: test_tool
|
||||
08:message/user:<SUMMARIZATION_PROMPT>
|
||||
|
||||
## Local Post-Compaction History Layout
|
||||
00:message/user:SETUP_USER
|
||||
01:message/developer:<PERMISSIONS_INSTRUCTIONS>
|
||||
02:message/user[3]:
|
||||
[01] <AGENTS_MD>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD>>
|
||||
[01] <SKILLS_SECTION>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD#1>>
|
||||
[03] <additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
03:message/user:function call limit push
|
||||
04:message/user:<COMPACTION_SUMMARY>\nAUTO_SUMMARY
|
||||
|
||||
+11
-11
@@ -6,15 +6,15 @@ Scenario: Pre-turn auto-compaction keeps prior turn ephemeral_context in the com
|
||||
|
||||
## Local Compaction Request
|
||||
00:message/developer:<PERMISSIONS_INSTRUCTIONS>
|
||||
01:message/user[2]:
|
||||
[01] <AGENTS_MD>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD>>
|
||||
02:message/user:<additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
03:message/user:USER_ONE
|
||||
04:message/assistant:FIRST_REPLY
|
||||
05:message/user:USER_TWO
|
||||
06:message/assistant:SECOND_REPLY
|
||||
07:message/user:<SUMMARIZATION_PROMPT>
|
||||
01:message/user[3]:
|
||||
[01] <SKILLS_SECTION>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD#1>>
|
||||
[03] <additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
02:message/user:USER_ONE
|
||||
03:message/assistant:FIRST_REPLY
|
||||
04:message/user:USER_TWO
|
||||
05:message/assistant:SECOND_REPLY
|
||||
06:message/user:<SUMMARIZATION_PROMPT>
|
||||
|
||||
## Local Post-Compaction History Layout
|
||||
00:message/user:USER_ONE
|
||||
@@ -22,7 +22,7 @@ Scenario: Pre-turn auto-compaction keeps prior turn ephemeral_context in the com
|
||||
02:message/user:<COMPACTION_SUMMARY>\nPRE_TURN_SUMMARY
|
||||
03:message/developer:<PERMISSIONS_INSTRUCTIONS>
|
||||
04:message/user[3]:
|
||||
[01] <AGENTS_MD>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD>>
|
||||
[01] <SKILLS_SECTION>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD#1>>
|
||||
[03] <additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
05:message/user:USER_THREE
|
||||
|
||||
+12
-12
@@ -6,23 +6,23 @@ Scenario: Remote mid-turn continuation compaction keeps both prior and active ep
|
||||
|
||||
## Remote Compaction Request
|
||||
00:message/developer:<PERMISSIONS_INSTRUCTIONS>
|
||||
01:message/user[2]:
|
||||
[01] <AGENTS_MD>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD>>
|
||||
02:message/user:<additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
03:message/user:SETUP_USER
|
||||
04:message/assistant:REMOTE_SETUP_REPLY
|
||||
05:message/user:<additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
06:message/user:USER_TWO
|
||||
07:function_call/test_tool
|
||||
08:function_call_output:unsupported call: test_tool
|
||||
01:message/user[3]:
|
||||
[01] <SKILLS_SECTION>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD#1>>
|
||||
[03] <additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
02:message/user:SETUP_USER
|
||||
03:message/assistant:REMOTE_SETUP_REPLY
|
||||
04:message/user:<additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
05:message/user:USER_TWO
|
||||
06:function_call/test_tool
|
||||
07:function_call_output:unsupported call: test_tool
|
||||
|
||||
## Remote Post-Compaction History Layout
|
||||
00:message/user:SETUP_USER
|
||||
01:message/developer:<PERMISSIONS_INSTRUCTIONS>
|
||||
02:message/user[3]:
|
||||
[01] <AGENTS_MD>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD>>
|
||||
[01] <SKILLS_SECTION>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD#1>>
|
||||
[03] <additional_context_for_this_turn>\n <title>Context from my edi...
|
||||
03:message/user:USER_TWO
|
||||
04:compaction:encrypted=true
|
||||
|
||||
+13
-13
@@ -6,19 +6,19 @@ Scenario: Turns resend fresh ephemeral editor context while keeping it outside d
|
||||
|
||||
## First Request (With Editor Context)
|
||||
00:message/developer:<PERMISSIONS_INSTRUCTIONS>
|
||||
01:message/user[2]:
|
||||
[01] <AGENTS_MD>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD>>
|
||||
02:message/user:<additional_context_for_this_turn>\n <title>Context from my editor</title>\n <content>\n## Act...
|
||||
03:message/user:first turn with editor context
|
||||
01:message/user[3]:
|
||||
[01] <SKILLS_SECTION>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD#1>>
|
||||
[03] <additional_context_for_this_turn>\n <title>Context from my editor</title>\n <content>\n## Act...
|
||||
02:message/user:first turn with editor context
|
||||
|
||||
## Second Request (Refreshed Editor Context)
|
||||
00:message/developer:<PERMISSIONS_INSTRUCTIONS>
|
||||
01:message/user[2]:
|
||||
[01] <AGENTS_MD>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD>>
|
||||
02:message/user:<additional_context_for_this_turn>\n <title>Context from my editor</title>\n <content>\n## Act...
|
||||
03:message/user:first turn with editor context
|
||||
04:message/assistant:turn one complete
|
||||
05:message/user:<additional_context_for_this_turn>\n <title>Context from my editor</title>\n <content>\n## Act...
|
||||
06:message/user:second turn with refreshed editor context
|
||||
01:message/user[3]:
|
||||
[01] <SKILLS_SECTION>
|
||||
[02] <ENVIRONMENT_CONTEXT:cwd=<CWD#1>>
|
||||
[03] <additional_context_for_this_turn>\n <title>Context from my editor</title>\n <content>\n## Act...
|
||||
02:message/user:first turn with editor context
|
||||
03:message/assistant:turn one complete
|
||||
04:message/user:<additional_context_for_this_turn>\n <title>Context from my editor</title>\n <content>\n## Act...
|
||||
05:message/user:second turn with refreshed editor context
|
||||
|
||||
Reference in New Issue
Block a user