pour application android simpl-liste
- TypeScript 78.5%
- JavaScript 19.3%
- Python 2%
- Dockerfile 0.1%
- CSS 0.1%
Add the two tables behind the MCP server of the companion: sl_agent_tokens (personal tokens, only the SHA-256 hash is stored, unique; scope limited to read or write by a CHECK constraint) and sl_agent_actions (journal of what each token wrote; the token link falls to null when the token is deleted, the token name stays). No existing column changes. - schema.ts: the two tables, as specified by the issue. - 0005_agent_tokens.sql, meta/0005_snapshot.json and the journal entry are the untouched output of `drizzle-kit generate --name agent_tokens`. - probe.sql: controls 11 (journal_plus_de_90_jours, journal lines older than 91 days) and 12 (journal_autre_compte, lines whose token or touched row belongs to another account, critical). The read-only contract is unchanged. - probe.test.ts: twelve controls, a journal in the healthy base, one test per new anomaly. - agentSchema.test.ts (new): constraints of the two tables through the drizzle schema, and the migrations through the drizzle migrator, on an empty database and on a populated database at migration 0004. Resolves #199 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .vscode | ||
| app | ||
| assets | ||
| patches | ||
| scripts | ||
| src | ||
| tests | ||
| web | ||
| .gitignore | ||
| app.json | ||
| babel.config.js | ||
| CLAUDE.md | ||
| DECISIONS.md | ||
| drizzle.config.ts | ||
| eas.json | ||
| index.js | ||
| masterplan.md | ||
| metro.config.js | ||
| nativewind-env.d.ts | ||
| package-lock.json | ||
| package.json | ||
| REVIEW.md | ||
| SECURITY.md | ||
| spec-decisions-mcp-agents.md | ||
| spec-decisions-sync-suites.md | ||
| spec-plan-mcp-agents.md | ||
| spec-plan-sync-delai-comptes-etiquettes.md | ||
| spec-plan-sync-suites.md | ||
| spec-plan-sync-ws-tests-sonde.md | ||
| spec-simpl-liste-web.md | ||
| sql-transformer.js | ||
| STATE.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||