# Coding

> Field-tested lessons for the ways LLM-agent and web stacks fail, often silently: the observable symptom, the real cause, the fix, and what did not work.

Source: https://sinapsi.wiki/docs/wiki-coding/

## What it covers

Field-tested lessons — the observable symptom, the real cause, the fix, and what didn't work — for the ways LLM-agent and web stacks fail, often silently. Verified, with sources.

**Who it is for:** Software engineers and coding assistants working on LLM-agent and web systems.

| Area | Pages |
|---|---:|
| Infrastructure | 12 |
| Agent Development Kit | 11 |
| Caching | 6 |
| Streaming | 5 |
| Type coercion | 4 |
| Svelte 5 | 4 |
| LLM prompts and pipelines | 3 |
| What does not work | 3 |
| Testing | 2 |
| Observability | 2 |
| Over-broad exception handling | 2 |
| MCP | 2 |
| **Total** | **56** |

## Connect it

One wiki only:

```
https://sinapsi.wiki/mcp/w/coding/
```

```bash
claude mcp add --transport http sinapsi-coding https://sinapsi.wiki/mcp/w/coding/
```

Or use the hub `https://sinapsi.wiki/mcp/hub/` and pass `wiki="coding"`. Other clients: [Connect a client](/docs/claude-code/). No key needed.

## Questions it answers

- *My application INFO logs vanish in production — why?*
- *Why does static verification not prove runtime behaviour, and what checklist replaces it?*
- *An LLM keeps returning the prompt's XML tags in its output: how do I stop it?*
- *How do I test for cross-session pollution bugs?*

## Pages to start from

- [Application INFO logs vanish because nobody configured the root logger](https://sinapsi.wiki/w/coding/p/observability/silent-logging-swallowed-by-unconfigured-root-logger/)
- [Static verification doesn't prove runtime behavior](https://sinapsi.wiki/w/coding/p/testing/static-verification-doesnt-prove-runtime-behavior/)
- [An LLM occasionally regurgitates a prompt's own XML wrapper tags into the value it was asked to produce](https://sinapsi.wiki/w/coding/p/llm-prompt/anti-echo-xml-tags-in-output/)
- [A gate classifier exceeds its mandate](https://sinapsi.wiki/w/coding/p/llm-prompt/gate-classifier-exceeds-its-mandate/)
- [Run 3 fresh sessions in parallel on different domains](https://sinapsi.wiki/w/coding/p/testing/cross-session-parallel-domains-reveals-pollution-bugs/)

Browse everything at [sinapsi.wiki/w/coding](https://sinapsi.wiki/w/coding/) · Markdown index for LLMs: [llms.txt](https://sinapsi.wiki/w/coding/llms.txt).
