{"slug": "scope-cut-make-the-weekend-ai-demo-read-only-first", "title": "Scope Cut: Make the Weekend AI Demo Read-Only First", "summary": "A developer outlined a read-only design for weekend AI demos in which a model answers only from a fixed bundle of synthetic notes, with no file browser, command runner, write connector, or credentials. The approach validates citations against the exact source fragment supplied to the model and requires the app to return an explicit \"not present in the supplied passage\" when the notes lack an answer, while edit requests are printed as text without modifying the original note.", "body_md": "A weekend demo can answer a question from a handful of documents without taking responsibility for editing a repository or contacting another person. Pick its first action accordingly: read one approved passage and show the sentence supporting the answer.\n\nPut four short, synthetic notes into a fixture bundle. Give each passage an ID, a display title, and line numbers. Load the bundle at startup and let the audience choose among those IDs. The model receives the passage selected for the request. It receives no file browser, command runner, write connector, or account credentials. Use a stub or local model when the notes should stay on the machine. Sending a passage to a remote inference service is still an external disclosure and may incur a charge.\n\nAsk a question answered in a single note. Print the answer, the note title and its quoted lines. Next ask something the notes do not contain. The useful response is an explicit “not present in the supplied passage.” Finally, ask to change the note. The application may print a suggested edit as text; the original note should remain unchanged.\n\nValidate citations against the actual source fragment given to the responder. A matching line range establishes where the words came from. It does not prove the new answer follows from those words. Read the quote during the demo.\n\nThis design deliberately excludes user-supplied paths and writable shared folders. Extending it to live files or several users introduces authorization, storage and concurrency decisions that a fixed fixture bundle does not resolve.\n\nThis article was created with AI assistance.", "url": "https://wpnews.pro/news/scope-cut-make-the-weekend-ai-demo-read-only-first", "canonical_source": "https://dev.to/devlab_1905/scope-cut-make-the-weekend-ai-demo-read-only-first-4pag", "published_at": "2026-12-03 04:43:10+00:00", "updated_at": "2026-12-03 04:46:57.161576+00:00", "lang": "en", "topics": ["ai-agents", "ai-safety", "ai-tools", "large-language-models"], "entities": [], "also_reported_by": [], "takeaway": "Scope a demo agent to a fixed fixture bundle of ID-tagged passages with no file browser, command runner, write connector or credentials, and validate citations against the exact source fragment supplied to the model, since a matching line range shows provenance but not entailment.", "recommendation": {"advice": "For demo agents, load a fixed bundle of ID-tagged passages, pass only the selected passage to the model, and withhold file, command, write and credential access.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/scope-cut-make-the-weekend-ai-demo-read-only-first", "markdown": "https://wpnews.pro/news/scope-cut-make-the-weekend-ai-demo-read-only-first.md", "text": "https://wpnews.pro/news/scope-cut-make-the-weekend-ai-demo-read-only-first.txt", "jsonld": "https://wpnews.pro/news/scope-cut-make-the-weekend-ai-demo-read-only-first.jsonld"}}