Extrait public
Verrouillé
Run locally on Llama: module by module, extract purpose, public interface, configuration (env vars table), side effects and failure modes, write [UNKNOWN] rather than guessing, redact any credential found in the code, then merge the module notes into one README…
À propos de ce prompt
Produces a README, module guide or runbook from confidential source code using a local open model (Ollama, LM Studio), so the code never leaves your machine. Tuned for smaller local models: one module at a time, strict template, [UNKNOWN] instead of guesses, secrets found in code redacted and flagged, then a final merge pass.
Exemple de résultat
PASS 1 — Module notes: src/ledger/
1. Paths: src/ledger/Reconciler.java, src/ledger/LedgerClient.java
2. Purpose: matches bank statement lines with internal ledger entries every night.
4. Configuration
| Name | Where read | Default | Effect |
| LEDGER_BASE_URL | LedgerClient.java:23 | [UNKNOWN] | ledger API endpoint |
| RECON_TOLERANCE_CENTS | Reconciler.java:41 | 0 | max difference to accept a match |
| RECON_BATCH_SIZE | Reconciler.java:44 | 500 | lines processed per transaction |
6. Side effects: writes table recon_match; sends an email to the address in ALERT_TO when unmatched > 0.
7. Failure modes: LedgerClient retries 3 times on HTTP 5xx (l. 88), then throws LedgerUnavailableException; job exits non-zero.
9. Unknowns: who consumes recon_match; how the job is scheduled (no cron or scheduler config in these files).
Security findings
- LedgerClient.java:19 — hard-coded API token → [REDACTED]. Move to the secret store and rotate it.
Fiche technique
- Modèle
- Llama
- Langue du prompt
- Anglais
- Pour qui
- Developers in companies whose code cannot be sent to a cloud AI: banks, health, defence, client contracts
- Longueur
- ~634 tokens (estimation)
- Format livré
- Texte du prompt, affiché en ligne après achat
- Rayon
- Code & Développement
Avis
Aucun avis pour l'instant. Seuls les acheteurs de ce prompt peuvent en laisser un.