Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: keep goal fidelity calibration guidance consistent

[._.]/ Adam Eivy65a8a2f48294
diff --git a/server/lib/goalFidelityFollowUp.js b/server/lib/goalFidelityFollowUp.js
index ea28cb0684..98f1aa5482 100644
--- a/server/lib/goalFidelityFollowUp.js
+++ b/server/lib/goalFidelityFollowUp.js
@@ -269,7 +269,7 @@ export function buildGoalFidelityFollowUpTask({ task, review, fingerprint, issue
`## Named as missing\n${bulletList(review?.missing, '_Nothing specific._')}`,
`## Named as unrequested\n${bulletList(review?.unrequested, '_Nothing specific._')}`,
falsePositiveBlock,
- `## If the original work is already correct\nDo not manufacture a code change or re-run the original task. Report the concrete evidence that the objective was delivered${falsePositiveBlock ? ' and use the supplied calibration-report instructions to record what the fidelity checker misunderstood, so the checker can be fixed without weakening unrelated safeguards' : '; if calibration-report instructions are supplied separately, use them to record what the fidelity checker misunderstood'}.`,
+ `## If the original work is already correct\nDo not manufacture a code change or re-run the original task. Report the concrete evidence that the objective was delivered and use the supplied calibration-report instructions to record what the fidelity checker misunderstood, so the checker can be fixed without weakening unrelated safeguards.`,
claim,
].filter(Boolean).join('\n\n');
}
diff --git a/server/lib/goalFidelityFollowUp.test.js b/server/lib/goalFidelityFollowUp.test.js
index f1dd63c027..3b797cb498 100644
--- a/server/lib/goalFidelityFollowUp.test.js
+++ b/server/lib/goalFidelityFollowUp.test.js
@@ -237,9 +237,9 @@ describe('buildGoalFidelityFollowUpTask', () => {
const fingerprint = 'goal-fidelity:user:comics/add-retry-caps';
const task = { id: 'task-7', description: 'Add retry caps' };
- // With an issue the agent runs the project's normal claim flow, where the
- // tracker's own conventions live; without one it must work the finding from
- // this body, which is why the finding is restated in both shapes.
+ // With an issue the investigator uses the project's normal PR flow, where
+ // the tracker's own conventions live; without one it must work the finding
+ // from this body, which is why the finding is restated in both shapes.
it('points the agent at the filed issue when there is one', () => {
const body = buildGoalFidelityFollowUpTask({
task, review: review(), fingerprint, issue: { number: 42, url: 'https://example.com/issues/42' },