session: plan-born task worker briefs omit standing project orders
Les mainteneurs répondent en général sous 1 jour
@santoshkumarradha y travaille déjà.
Depuis le 27/9/2026.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 78/100
Piste de recherche
Start in internal/session/task_brief.go:225-300 and compare plan-born worker message composition with TaskGraph.briefLocked, which appends standing orders to node.brief. Reproduce with a plan containing a project standing order and inspect the worker prompt journal at .codeaf/v3/.../transcript.jsonl. Done means every applicable rule appears in prompts for workers created directly and through plans.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary
Standing project orders appended to node.brief are never included in worker prompt generation for tasks created from execution plans.
Observed Behavior
When a task is spawned via a plan, active standing orders (<standing> rules) defined for the project are missing from the system prompt given to the task worker, leading workers to violate project constraints.
Expected Behavior
Every delegated task worker must inherit all applicable standing orders for the target repository/project regardless of whether it was spawned directly or via a multi-step plan.
Reproduction Steps
- Add a standing order to a project (e.g. strict coding style or git branch constraints).
- Propose and approve a multi-step task that generates a plan graph.
- Inspect the worker prompt journal in
.codeaf/v3/.../transcript.jsonl. - Notice that
<standing>orders are absent from the worker's brief.
Root Cause / Location
TaskGraph.briefLocked correctly appends standing orders to node.brief, but plan-born worker message composition in internal/session/task_brief.go:225-300 builds the prompt independently from plan template data and skips the appended standing rules.
—
Drafted with CodeAF · reviewed and owned by the author
- Langage dominant
- Go
- Étoiles
- 115
- Forks
- 14
- Merge moyen
- 10 h 6 min
- PR mergées (30 j)
- 223
Préparer son environnement
Nous n'avons pas encore vérifié les fichiers d'installation de ce projet. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Agent-Field/CodeAF
-
area:chat bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Agent-Field/CodeAF#1805 ·
Les mainteneurs répondent en général sous 1 jour
-
area:session bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Agent-Field/CodeAF#1779 ·
Les mainteneurs répondent en général sous 1 jour
-
tasks: a stopped task's commit is signed with the chat model, not the model that did the workOuvertearea:session bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Agent-Field/CodeAF#1768 ·
Les mainteneurs répondent en général sous 1 jour
-
area:chat bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Agent-Field/CodeAF#1742 ·
Les mainteneurs répondent en général sous 1 jour
-
area:build bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Agent-Field/CodeAF#1679 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de Agent-Field/CodeAF
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
FootprintAI/Containarium#3182 ·
Les mainteneurs répondent en général sous 1 jour
-
bug from-studio
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
esengine/DeepSeek-Reasonix#14608 ·
Les mainteneurs répondent en général sous 1 jour
-
triage
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
getarcaneapp/arcane#4590 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
area/frontend/library-panels automated-triage type/bug type/ux
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour