惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

Hacker News: Show HN

GitHub - Quintisimo/macfigure: Mac configuration in pkl. Simple alternative to nix-darwin Show HN: SafeRun – Replay debugging and inline prevention for AI agents 3 GitHub - sathvikc/agent-chat-bridge: Turn any AI agent chat session into an async agent. Register a timer, shell command, or webhook — the bridge automatically resumes the session with your prompt when the trigger fires. SnapAPI - Website Screenshot & Data Extraction API Introducing @cipherstash/stack Show HN: E2E Encrypted Terminal Screen Share Windows 98½ Show HN: SafeRun – Replay debugging and inline prevention for AI agents 2 Show HN: My custom Statusline for Claude Code (Python wrapper around claudeline) GitHub - kageroumado/phosphene: A video wallpaper engine for macOS Tahoe Best Remote Jobs — Work From Home | RemoteJobs.place udoc Free AI Rewriter - Revise GitHub - arashThr/hugo-flow: Simple rich-text CMS for Hugo weblogs. Try at https://hugo.arashtaher.com GitHub - light-cloud-com/ice: Free, open-source, visual studio for cloud infrastructure for macOS, Windows & Linux. GitHub - kouhxp/yapsnap: Snap any video URL or audio file into plaintext. No GPU. No cloud. One command. What if we made SIMA2 from Temu iPhone 版“Today” - App Store Runo - Web Scraping API | Any URL to Typed JSON Show HN: AI Editor for Websites GitHub - AdamGonda/ward: Run [ npm i ] safely, audit installs inside a docker container. The Crucible — 8 voices, one verdict Screenshot 2026 05 20 at 4 03 10 PM — Postimages Show HN: Chess Puzzles, but for Developers Show HN: I built Istanbul live transit map Show HN: Agent.email – sign up via curl, claim with a human OTP GitHub - mfairley/expo-callkit-telecom: 📞 CallKit + Core-Telecom for React Native + Expo. A modern react-native-callkeep alternative. I tried 4 LLM speedup techniques on CPU. Three made it slower. Show HN: I made a tool for learning scales, chords, and how to combine them Learn how to build AI products through practice 1 BTC = 17.17 troy oz of gold · Bitcoin Weigh-In p-Hacker — top trending Client Challenge hty GitHub - Artain-AI/ignite-ms: Fast self-hosted embedding engine for search, RAG, and reindexing workloads on NVIDIA GPUs. Built in Rust + TensorRT for teams that care about scale, cost, and control. GitHub - mupt-ai/dari-docs: optimize your documentation through fleets of agents GitHub - dcostenco/prism-coder: The Mind Palace for AI Agents - HIPAA-hardened Cognitive Architecture with on-device LLM (prism-coder:7b), Hebbian learning, ACT-R spreading activation, adversarial evaluation, persistent memory, multi-agent Hivemind and visual dashboard. Zero API keys required. Catio | The Architecture IDE for Modern Software Systems SysWP Radar — Veja TUDO que toca seu site homecrew — package manager for agent skills GitHub - platform-engineering-labs/formae: Infrastructure-as-Code Platform Built for the Future VibeKeys Max - Ready to Ship Show HN: We wrote forensic intelligence reports on 20 open-source codebases GitHub - bytedance/Lance: A 3B-active-parameter native unified multimodal model for image and video understanding, generation, and editing. GitHub - zero-intelligence/zero-protocol: ZERO.md — A universal protocol for personal AI context. Your AI knows your project. It doesn't know you. This file fixes that. Show HN: Chatroom with curl command (requires IPv6) Google Search Console MCP | CalmSEO GitHub - receptron/mulmoclaude: Multi-modal Claude Code Client ArchGenie — AI Cloud Architect for AWS, Azure & Google Cloud GitHub - ueberdosis/hocuspocus: The Yjs CRDT WebSocket backend for conflict-free real-time collaboration in your app. atrium — The shared development environment for humans and agents Show HN: ContextLens- Highlight any text, get context-relevant meaning instantly Show HN: Privacy Focused Voice Journal Free AI Headshot Generator | Professional Photos in 60 Seconds Show HN: Synthra – I got tired of gluing config sources together in Go GitHub - dipankar/dscode: The code editor you can take apart. GitHub - nastronot/sticky-icky: Browser-based sticker design tool for the Zebra LP2844 thermal printer GitHub - rgombash/ocl-nexus-local: Orchestrated Compute Layer for AI agents. Local K3s-based fabric for autonomous code execution, service orchestration, and native MCP tool discovery. LEGO Minifigure Rankings & Ratings One Dev Environment for Humans, Agents and CI Mathabito GitHub - agynio/platform: Agyn is an open-source Kubernetes-native runtime that moves AI agents like Claude Code and Codex from laptops to company infrastructure with the controls enterprises need. GitHub - RaphaelPrevost/hashmap-benchmark Show HN: AI-Powered DNA Research Assistant Show HN: Halftrace – See the shape of your agent's failures from your logs Show HN: Pay-as-you-play game servers from Discord (£2/mo, four games) ProposalKit.io — Proposals clients actually read and sign Show HN: I built a dashboard to combine my WHOOP, Oura and Apple Health data Show HN: I put Codex and Claude in a tank arena; Codex is winning 55% so far Doctor Visit Notes App for Patients and Caregivers | AI Doctor Notes Mashari - Simple AI-first project management Professor Goose - Active Recall AI Study Tutor Show HN: IResearch – C++ search that beat Lucene and Tantivy on their benchmark Document intelligence for AI engineering workflows. Show HN: Widget Cast – Video Widgets for Your iPhone and Apple Watch Raster | Enter the Grid Shitty AI App Idea Generator GitHub - elementalsouls/Claude-BugHunter: A Claude Code skill bundle for bug hunting and external red-team work - 51 skills, 15 slash commands, 574+ disclosed-report patterns curated across 24 vulnerability classes, plus enterprise identity + infrastructure attack matrices. Show HN: Paletty – 800 curated terminal themes and a contrast-aware generator GitHub - patriceckhart/zot-chrome-operator: Chrome extension + local bridge for chatting with zot from a Chrome side panel and letting zot operate browser tabs through a `browser_action` tool. Supporting fpgacapZero on the BRS-100-GW1NR9 Show HN: Give This Markdown to Your Coding Agent Before Publishing to NPM GitHub - ramayac/GoPOSIX: A Go-native, single-binary POSIX with >97% BusyBox test compatibility. GitHub - breschio/javalamp: A glowing terminal screensaver that keeps your Mac awake Show HN: SafeRun – Replay debugging and inline prevention for AI agents Teak - A Kotlin-inspired language that runs on Node.js Show HN: The user agents crawling HN today Webflow Exporter — Export Sites to HTML, CSS & Markdown CMS Capframe — Capability security for AI agents Show HN: RTFRA - A Humble Proposal [RFC] GitHub - MediaMolder/mediamolder: A media processing framework written in Go. GitHub - asamarts/alint: Language-agnostic linter for repository structure, files, and content GitHub - axledbetter/claude-autopilot: autopilot: spec → plan → implement → validate → PR → Codex review → bugbot. End-to-end Claude Code pipeline. Your AI-nativeStrategy PartnerAn agent-led strategy system that gives teams an end-to-end, problem-solving engine to navigate high-stakes business decisions. We bring consulting-grade strategic analysis into a continuous, structured system that helps teams move from ambiguity to clear, decision-ready outcomes. GitHub - JustVugg/gutenberg-cli: From any API surface to verified AI agent tools: Go CLI + MCP + skills + SQLite + policy + proofs. Show HN: Reckoner – a semantic browser for structured data Show HN: Remindy – A Spotlight-style reminder app for Mac Gamification UI Kit by Trophy Show HN: AgentWing – make AI agents complete tasks faster GitHub - rajatarya/mdviewer: A fast, lightweight native Markdown viewer for macOS
GitHub - outcomeops/context-engineering
linsys · 2026-04-18 · via Hacker News: Show HN

A working reference implementation of context engineering — the discipline of designing, retrieving, and injecting the information an AI system needs to produce accurate, organization-specific outputs.

This repo is the code companion to What Is Context Engineering? on outcomeops.ai. The glossary defines the concepts; this repo shows them running end-to-end against a real corpus on Amazon Bedrock.

Context engineering treats context as a first-class engineering artifact — version-controlled, retrievable, and enforceable — rather than as prompts typed into a chat window.


The five components

A context engineering system has five components. Each folder implements one against the same running example (a Spring PetClinic codebase with ADRs):

# Component What it does Folder
1 Corpus The organizational material that defines how you think, build, and decide 01-corpus/
2 Retrieval Identifies which portions of the corpus are relevant to a given request 02-retrieval/
3 Injection Gets retrieved context into the model's working memory at decision time 03-injection/
4 Output Produces reviewable artifacts (code, PRs, docs) shaped by that context 04-output/
5 Enforcement Ensures the generated output actually reflects the retrieved context 05-enforcement/

Plus comparisons/ — the same task run with and without context engineering, plus how CE differs from RAG, Copilot, and agent frameworks.

A system with only components 1–3 is a RAG system. The output and enforcement layers are what make CE different — they make the generated content reviewable and governable.


Running the examples

All examples use Amazon Bedrock with Claude. Each folder has its own requirements.txt and README.md with a runnable command.

Prerequisites:

  • Python 3.11+
  • AWS account with credentials configured (aws configure or env vars)
  • AWS region that supports Claude and Titan (e.g. us-east-1, us-west-2)

This repo uses Anthropic Claude for generation and Amazon Titan for embeddings. Titan and most Bedrock foundation models are auto-enabled on first invocation — no action needed.

Anthropic Claude requires a one-time First Time Use (FTU) form per AWS account. If your account has never used Anthropic models on Bedrock, the first script run will fail with AccessDeniedException. To fix:

  1. Open any Anthropic Claude model in the Bedrock model catalog
  2. Fill the First Time Use form (company, use case — about a minute)
  3. Submit — access is granted immediately, no review queue

If you're in an AWS Organization child account, the form must be submitted from the management account to inherit access.

Quickstart:

git clone https://github.com/outcomeops/context-engineering.git
cd context-engineering/01-corpus
pip install -r requirements.txt
python ingest_adrs.py ./sample-adrs

Set the model via environment variable if you want to override the default:

export BEDROCK_MODEL_ID="us.anthropic.claude-sonnet-4-5-20250929-v1:0"
export AWS_REGION="us-east-1"

Why this repo exists

Most AI coding assistants produce generic output. An engineer using a generic assistant still has to adapt the output to local patterns — the assistant doesn't know what your team decided last quarter, what your compliance framework requires, or why you picked one library over another.

A context-engineered system produces output that already conforms to local patterns, because the retrieval layer has fed the model the relevant ADRs, code, and standards at decision time. The enforcement layer ensures the output actually cites what it relied on.

This repo exists to show the pattern in code, end-to-end, so teams can build it themselves or evaluate commercial tools that claim to do it.


Context engineering changes organizations, not just code

The five-component model is the technical frame. Teams that actually deploy it consistently discover the harder shift is organizational. Roles, KPIs, and decision rights in a traditional software org were shaped by a world where AI could not read the corpus. Once it can, the middle layers of that structure start to look different — and the repo above is only useful in the first place because of those changes.


Further reading

Foundational articles, reference guides, and practitioner writeups on context engineering as a discipline:

Companion repositories

Deep dives by component

Each folder's README has its own curated reading list; the quick index:

  • Corpus — see 01-corpus/ — ADR formats, corpus bootstrapping, self-documenting architecture
  • Retrieval — see 02-retrieval/ — FAISS, "Lost in the Middle," retrieval economics
  • Injection — see 03-injection/ — prompt structure, token budgets, inference cost
  • Output — see 04-output/ — JSON Schema, Bedrock tool-use, the outcome engineer
  • Enforcement — see 05-enforcement/ — LLM-as-judge research, PR-as-guardrail
  • Comparisons — see comparisons/ — CE vs RAG vs agents vs enterprise search

About

Built by Brian Carpio at OutcomeOps. Questions, corrections, or contributions welcome via issues and PRs.

License

MIT — see LICENSE.