docs: allow builds with explicit user permission in AGENTS.md
This commit is contained in:
@@ -24,13 +24,13 @@ This document serves as the primary technical specification, architecture refere
|
||||
> - **Key-Based Lookup:** Code must reference screen texts exclusively by localization keys (e.g. `localization.get("ui.button.found_city")` or equivalent lookup) resolving to the external file.
|
||||
> - Whenever new on-screen text is introduced, add its English translation entry to the external string file first before referencing its key in code.
|
||||
|
||||
### 0.3 Session Git Branching & No-Build Directive
|
||||
### 0.3 Session Git Branching & Build Restrictions
|
||||
|
||||
> [!IMPORTANT]
|
||||
> **Strict Agent Directive:** Every session must adhere to an isolated Git workflow and never build the project.
|
||||
> **Strict Agent Directive:** Every session must adhere to an isolated Git workflow and never build without permission.
|
||||
> - **Dedicated Session Branch:** Every session MUST work on its own git branch.
|
||||
> - **Automatic Branch Creation:** If a session does not have its own branch yet upon starting, the agent MUST generate an appropriate branch name (e.g. `session/<topic-or-task>`) and check it out immediately (`git checkout -b <branch-name>`).
|
||||
> - **Do NOT Build the Application:** The agent MUST NOT compile or build the application (never run `make`, `qmake`, `cmake`, `ninja`, compiler invocations, or build scripts). Compiling and running the application is strictly left to the user.
|
||||
> - **Do NOT Build Without Explicit Permission:** The agent MUST NOT compile or build the application (never run `make`, `qmake`, `cmake`, `ninja`, compiler invocations, or build scripts) unless explicit permission has been granted by the user.
|
||||
> - **Immediate Commits:** After making any change/edit to the project, the agent MUST immediately commit the changes to its current session branch with a clear and concise commit message (`git add <files>` and `git commit -m "..."`).
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user