update saleinvoice single and create return from sale form, update agent.md file,
This commit is contained in:
@@ -13,25 +13,6 @@ Stack:
|
||||
|
||||
---
|
||||
|
||||
# EXECUTION RULES
|
||||
|
||||
- Keep responses short.
|
||||
- Do not narrate thoughts.
|
||||
- Do not explain obvious steps.
|
||||
- Do not create plans for simple tasks.
|
||||
- Prefer implementation over exploration.
|
||||
|
||||
Avoid:
|
||||
- “I think…”
|
||||
- “Let me check…”
|
||||
- “I should inspect…”
|
||||
- “I’m going to…”
|
||||
|
||||
Prefer:
|
||||
- “Updated environment files.”
|
||||
- “Applied tenant config fix.”
|
||||
|
||||
---
|
||||
|
||||
# RTK RULES (MANDATORY)
|
||||
|
||||
@@ -192,3 +173,81 @@ Updated:
|
||||
|
||||
Validation:
|
||||
- tsc passed
|
||||
|
||||
|
||||
# TARGETED READ RULES
|
||||
|
||||
Do not read files larger than 300 lines unless required.
|
||||
|
||||
For changes at a known location:
|
||||
|
||||
- read the surrounding symbol only
|
||||
- avoid full-file reads
|
||||
|
||||
Prefer:
|
||||
- rtk grep
|
||||
- rtk smart
|
||||
- targeted read
|
||||
|
||||
Avoid:
|
||||
- opening 400+ line files for small edits
|
||||
|
||||
# REASONING OUTPUT RULES
|
||||
|
||||
Do not expose internal reasoning.
|
||||
|
||||
Never output:
|
||||
- "I think..."
|
||||
- "I'm considering..."
|
||||
- "I wonder..."
|
||||
- "Maybe..."
|
||||
- implementation deliberation
|
||||
|
||||
Never explain alternative approaches unless requested.
|
||||
|
||||
Use:
|
||||
|
||||
Inspecting confirmation dialog.
|
||||
|
||||
Updating async accept support.
|
||||
|
||||
Validation passed.
|
||||
|
||||
|
||||
# INVESTIGATION LIMITS
|
||||
|
||||
For localized fixes:
|
||||
|
||||
- maximum 3 file reads before first edit
|
||||
- maximum 1 related-file read unless required
|
||||
|
||||
Stop searching once the edit target is identified.
|
||||
|
||||
# REVIEW MODE
|
||||
|
||||
During reviews:
|
||||
|
||||
- inspect changed files only
|
||||
- avoid loading unrelated dependencies
|
||||
- avoid architecture exploration
|
||||
- avoid repository-wide searches
|
||||
|
||||
Review only code directly affected by the diff.
|
||||
|
||||
|
||||
# HARD TOKEN LIMITS
|
||||
|
||||
For localized fixes:
|
||||
|
||||
- Never read files larger than 300 lines unless the target symbol cannot be isolated.
|
||||
- Never read an entire file when a symbol-level read is possible.
|
||||
- Never read more than 5 total files before the first edit.
|
||||
- Never open a file already summarized by `rtk smart` unless implementation details are required.
|
||||
|
||||
When a file exceeds 300 lines:
|
||||
|
||||
1. rtk grep
|
||||
2. rtk smart
|
||||
3. read only the relevant symbol/section
|
||||
|
||||
Avoid full-file reads.
|
||||
|
||||
Reference in New Issue
Block a user