Skip to content

Print prompt without clack | at the beginning of the line#56

Merged
Cedric / ViaDézo1er (viadezo1er) merged 1 commit into
mainfrom
cedric/remove-pipe-beginning-prompt
Jun 1, 2026
Merged

Print prompt without clack | at the beginning of the line#56
Cedric / ViaDézo1er (viadezo1er) merged 1 commit into
mainfrom
cedric/remove-pipe-beginning-prompt

Conversation

@viadezo1er
Copy link
Copy Markdown
Collaborator

@viadezo1er Cedric / ViaDézo1er (viadezo1er) commented May 29, 2026

Remove the | from the prompt to copy-paste so the coding agent isn't confused by them.

After:

◇  How should Braintrust Setup deliver the instrumentation prompt?
│  Print to terminal

Braintrust instrumentation prompt:

Instrument the application in this working directory with Braintrust tracing.

- Look at the current workspace and instrument it with Braintrust tracing using the right Braintrust SDK(s).
- Don't add any evals or anything other than tracing.
- Exclusively follow the docs at https://www.braintrust.dev/docs/tracing-quickstart. Do not concern yourself with the braintrust setup script. You are running as part of that script.
- You can assume that there are `.env.braintrust` and `.braintrust.json` files at the current working directory. These files contain a `BRAINTRUST_API_KEY` token with a valid API key for the Braintrust organization we want to send data to. Assume that the Braintrust SDKs are able to pick up the local token automatically as long as they run with a working directory in a directory below or with these files. Don't read either file and never put the actual API key value into code.
- In terms of instrumentation, always prefer adding auto-instrumentation over manual wrappers.
- For the SDK initialization configure the project name "test".
- Do not run application code, just do code changes to instrument the application.
- Also install the SDK or multiple SDKs if necessary. Always use the latest version. Do web research or web requests to look up the latest version. Make sure to use the right package manager that the project is already using. Also look upwards in the directory structure to check whether you're in a mono-repo or not. Ideally go to the root of the git repository if present to verify, but only instrument applications in or below the current working directory. Verify that the SDK has actually been installed.
- Be as concise and readable as possible with your code changes.
- Do not break any application code. 
- Do not modify any application code in any meaningful way.
- Do not use the Braintrust CLI (`bt`).

│
◆  Coding agent completed Braintrust instrumentation?

Before:

◇  How should Braintrust Setup deliver the instrumentation prompt?
│  Print to terminal
│
│  Braintrust instrumentation prompt:
│
│  Instrument the application in this working directory with Braintrust tracing.
│
│  - Look at the current workspace and instrument it with Braintrust tracing using the right Braintrust SDK(s).
│  - Don't add any evals or anything other than tracing.
│  - Exclusively follow the docs at https://www.braintrust.dev/docs/tracing-quickstart. Do not concern yourself with the braintrust setup script. You are running as part of that script.
│  - You can assume that there are `.env.braintrust` and `.braintrust.json` files at the current working directory. These files contain a `BRAINTRUST_API_KEY` token with a valid API key for the Braintrust organization we want to send data to. Assume that the Braintrust SDKs are able to pick up the local token automatically as long as they run with a working directory in a directory below or with these files. Don't read either file and never put the actual API key value into code.
│  - In terms of instrumentation, always prefer adding auto-instrumentation over manual wrappers.
│  - For the SDK initialization configure the project name "test".
│  - Do not run application code, just do code changes to instrument the application.
│  - Also install the SDK or multiple SDKs if necessary. Always use the latest version. Do web research or web requests to look up the latest version. Make sure to use the right package manager that the project is already using. Also look upwards in the directory structure to check whether you're in a mono-repo or not. Ideally go to the root of the git repository if present to verify, but only instrument applications in or below the current working directory. Verify that the SDK has actually been installed.
│  - Be as concise and readable as possible with your code changes.
│  - Do not break any application code. 
│  - Do not modify any application code in any meaningful way.
│  - Do not use the Braintrust CLI (`bt`).
│
◆  Coding agent completed Braintrust instrumentation?

@viadezo1er Cedric / ViaDézo1er (viadezo1er) merged commit bddee65 into main Jun 1, 2026
10 checks passed
@viadezo1er Cedric / ViaDézo1er (viadezo1er) deleted the cedric/remove-pipe-beginning-prompt branch June 1, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants