{"title":"MAHDTech","subtitle":"Screaming Engineering notes into the void.","link":[{"@attributes":{"rel":"self","type":"application\/atom+xml","href":"https:\/\/mahdtech.com\/atom.xml"}},{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/mahdtech.com"}}],"generator":"Zola","updated":"2026-11-14T00:00:00+00:00","id":"https:\/\/mahdtech.com\/atom.xml","author":{"name":"Matthew Duncan","uri":"https:\/\/mahdtech.com"},"entry":[{"title":"Blogging in the Agentic Age.","published":"2026-11-14T00:00:00+00:00","updated":"2026-11-14T00:00:00+00:00","author":{"name":"Matthew Duncan"},"link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/mahdtech.com\/posts\/zola\/"}},"id":"https:\/\/mahdtech.com\/posts\/zola\/","summary":"How I rebuilt mahdtech.com with Agents.","content":"<h2 id=\"why-static-sites-rot\"><a class=\"heading-anchor\" href=\"#why-static-sites-rot\">Why Static Sites Rot<\/a><\/h2>\n<p>Most developer blogs do not fail because Markdown goes out of style. They rot because a simple content edit two years later collides with 1,400 transitive <code>node_modules<\/code> dependencies, deprecated Webpack plugins, and broken Sass native bindings.<\/p>\n<p>When revamping <strong>mahdtech.com<\/strong>, the primary engineering constraint I considered was longevity: <strong>100% defined in code, DRY, fast, and reproducible from two commands<\/strong>:<\/p>\n<pre class=\"giallo\" style=\"color: #ABB2BF; background-color: #282C34;\" ><code data-lang=\"shellscript\"><span class=\"giallo-l\"><span style=\"color: #61AFEF;\">devenv<\/span><span style=\"color: #98C379;\"> shell<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #61AFEF;\">zola<\/span><span style=\"color: #98C379;\"> serve<\/span><\/span><\/code><\/pre>\n<p>Given my past track record with abandoning blogs, this seemed like a great idea \ud83d\ude01<\/p>\n<h2 id=\"single-source-of-truth-resume-architecture\"><a class=\"heading-anchor\" href=\"#single-source-of-truth-resume-architecture\">Single-Source-of-Truth Resume Architecture<\/a><\/h2>\n<p>Maintaining an interactive HTML resume alongside downloadable PDFs usually creates immediate drift.<\/p>\n<p>You update a role bullet on the website and forget the LaTeX or Word document, or vice versa.<\/p>\n<p>Furthermore, hiring workflows need two distinct lengths:<\/p>\n<ul>\n<li><strong>Full Dossier (<code>&lt; 5 pages<\/code>)<\/strong>: Comprehensive architectural context, metrics, and per-engagement technology stacks for technical hiring managers.<\/li>\n<li><strong>Short Executive Brief (<code>&lt; 2 pages<\/code>)<\/strong>: High-signal one-page summary for rapid screening and ATS.<\/li>\n<\/ul>\n<p>Instead of duplicating prose, every role, metric, summary statement, and skill category lives once in <code>data\/resume.yaml<\/code>:<\/p>\n<pre class=\"giallo\" style=\"color: #ABB2BF; background-color: #282C34;\" ><code data-lang=\"yaml\"><span class=\"giallo-l\"><span>---<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">basics<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  name<\/span><span>:<\/span><span style=\"color: #98C379;\"> &quot;Matthew Duncan&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  subtitle<\/span><span>:<\/span><span style=\"color: #98C379;\"> &quot;Senior Platform Engineer&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">experience<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span>  -<\/span><span style=\"color: #E06C75;\"> company<\/span><span>:<\/span><span style=\"color: #98C379;\"> &quot;Freelance&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">    short_summary<\/span><span>:<\/span><span style=\"color: #98C379;\"> &quot;Platform engineering, Kubernetes modernization, and AI harness systems.&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">    highlights<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span>      -<\/span><span style=\"color: #E06C75;\"> lead<\/span><span>:<\/span><span style=\"color: #98C379;\"> &quot;Automated&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">        detail<\/span><span>:<\/span><span style=\"color: #98C379;\"> &quot;multi-cluster policy validation across immutable environments.&quot;<\/span><\/span><\/code><\/pre>\n<p>At build time, two compilers consume that exact YAML tree:<\/p>\n<ol>\n<li>\n<p><strong>Zola (<code>load_data(path=\"data\/resume.yaml\")<\/code>)<\/strong> renders <code>\/resume\/<\/code> with instant client-side Full\/Short density toggling, skill-tag cross-filtering across roles, and adaptive Light\/Dark theming.<\/p>\n<\/li>\n<li>\n<p><strong>Typst (<code>typst compile --input variant=full|short<\/code>)<\/strong> typesets the PDF files using the exact same self-hosted Inter and JetBrains Mono fonts.<\/p>\n<\/li>\n<\/ol>\n<h2 id=\"modern-platform-css-over-client-bloat\"><a class=\"heading-anchor\" href=\"#modern-platform-css-over-client-bloat\">Modern Platform CSS Over Client Bloat<\/a><\/h2>\n<p>Browser engines in 2026 natively ship primitives that previously demanded kilobytes of JavaScript state libraries:<\/p>\n<pre class=\"giallo\" style=\"color: #ABB2BF; background-color: #282C34;\" ><code data-lang=\"css\"><span class=\"giallo-l\"><span style=\"color: #C678DD;\">@supports<\/span><span> (color: light-dark(<\/span><span style=\"color: #D19A66;\">white<\/span><span>,<\/span><span style=\"color: #D19A66;\"> black<\/span><span>)) {<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #56B6C2;\">  :root<\/span><span> {<\/span><\/span>\n<span class=\"giallo-l\"><span>    color-scheme:<\/span><span style=\"color: #D19A66;\"> light dark<\/span><span>;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">    --canvas<\/span><span>: light-dark(<\/span><span style=\"color: #D19A66;\">#f4f7fb<\/span><span>,<\/span><span style=\"color: #D19A66;\"> #060a12<\/span><span>);<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">    --accent-cyan<\/span><span>: light-dark(<\/span><span style=\"color: #D19A66;\">#0284c7<\/span><span>,<\/span><span style=\"color: #D19A66;\"> #06b6d4<\/span><span>);<\/span><\/span>\n<span class=\"giallo-l\"><span>  }<\/span><\/span>\n<span class=\"giallo-l\"><span>}<\/span><\/span>\n<span class=\"giallo-l\"><\/span>\n<span class=\"giallo-l\"><span style=\"color: #C678DD;\">@media<\/span><span> (prefers-reduced-motion: no-preference) {<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #C678DD;\">  @view-transition<\/span><span> {<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #C678DD;\">    navigation: auto;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #C678DD;\">  }<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #C678DD;\">}<\/span><\/span><\/code><\/pre>\n<p>Dark mode, theme-aware tokens, popover download menus with CSS anchor positioning, Pagefind for static search.<\/p>\n<p>All of it is plain HTML, CSS, and WASM.<\/p>\n<p>It ends up feeling like an app without shipping a framework to get there.<\/p>\n"},{"title":"GUARDS Framework","published":"2026-05-01T00:00:00+00:00","updated":"2026-05-01T00:00:00+00:00","author":{"name":"Matthew Duncan"},"link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/mahdtech.com\/posts\/guards\/"}},"id":"https:\/\/mahdtech.com\/posts\/guards\/","summary":"Why unconstrained chat loops fail at repository scale, and how phase-gated contracts, isolated worktrees, and independent verification turn AI agents into reliable engineering spokes.","content":"<h2 id=\"why-unconstrained-agent-loops-drift\"><a class=\"heading-anchor\" href=\"#why-unconstrained-agent-loops-drift\">Why Unconstrained Agent Loops Drift<\/a><\/h2>\n<p>If you give a capable frontier model shell access and a vague prompt, the first twenty minutes look <em>magical<\/em>.<\/p>\n<p>Give it a 40-file architectural migration with strict backwards-compatibility invariants, and failure modes surface predictably:<\/p>\n<ol>\n<li>\n<p><strong>Scope creep under error pressure<\/strong>: When a test fails, an unconstrained loop frequently weakens the assertion or widens its touch surface rather than diagnosing the root cause.<\/p>\n<\/li>\n<li>\n<p><strong>Context window pollution<\/strong>: Mixing codebase exploration, design trade-offs, implementation edits, and test log scraping inside a single transcript degrades instruction adherence.<\/p>\n<\/li>\n<li>\n<p><strong>Self-attestation bias<\/strong>: An agent that writes the implementation and immediately writes the verification summary inherits the exact blind spots that produced the bug.<\/p>\n<\/li>\n<\/ol>\n<p>Treating autonomous coding as a <strong>systems engineering problem<\/strong> rather than a prompt-crafting exercise changes the architecture completely.<\/p>\n<p>Instead of one omnipotent agent, we build a deterministic <strong>AI harness<\/strong>.<\/p>\n<h2 id=\"hub-and-spoke-separation-of-duties\"><a class=\"heading-anchor\" href=\"#hub-and-spoke-separation-of-duties\">Hub-and-Spoke Separation of Duties<\/a><\/h2>\n<p>A resilient agentic harness borrows directly from high-assurance CI\/CD and distributed systems;<\/p>\n<ul>\n<li>privilege separation<\/li>\n<li>immutable inputs<\/li>\n<li>explicit state transitions.<\/li>\n<\/ul>\n<p>Enter <strong>GUARDS<\/strong>;<\/p>\n<ul>\n<li><strong>G<\/strong>ather<\/li>\n<li><strong>U<\/strong>nderstand<\/li>\n<li><strong>A<\/strong>rchitect<\/li>\n<li><strong>R<\/strong>ealize<\/li>\n<li><strong>D<\/strong>emonstrate<\/li>\n<li><strong>S<\/strong>hip<\/li>\n<\/ul>\n<pre class=\"giallo\" style=\"color: #ABB2BF; background-color: #282C34;\" ><code data-lang=\"rust\"><span class=\"giallo-l\"><span>#[derive(<\/span><span style=\"color: #E5C07B;\">Debug<\/span><span>,<\/span><span style=\"color: #E5C07B;\"> Clone<\/span><span>,<\/span><span style=\"color: #E5C07B;\"> Copy<\/span><span>,<\/span><span style=\"color: #E5C07B;\"> PartialEq<\/span><span>,<\/span><span style=\"color: #E5C07B;\"> Eq<\/span><span>)]<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #C678DD;\">pub enum<\/span><span style=\"color: #E5C07B;\"> Phase<\/span><span> {<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E5C07B;\">    GatherContext<\/span><span>,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E5C07B;\">    UnderstandScope<\/span><span>,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E5C07B;\">    ArchitectDesign<\/span><span>,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E5C07B;\">    RealizeImplementation<\/span><span>,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E5C07B;\">    VerifyIndependently<\/span><span>,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E5C07B;\">    ShipPullRequest<\/span><span>,<\/span><\/span>\n<span class=\"giallo-l\"><span>}<\/span><\/span>\n<span class=\"giallo-l\"><\/span>\n<span class=\"giallo-l\"><span style=\"color: #C678DD;\">pub struct<\/span><span style=\"color: #E5C07B;\"> SpokeContract<\/span><span> {<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #C678DD;\">    pub<\/span><span style=\"color: #E06C75;\"> phase<\/span><span>:<\/span><span style=\"color: #E5C07B;\"> Phase<\/span><span>,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #C678DD;\">    pub<\/span><span style=\"color: #E06C75;\"> allowed_paths<\/span><span>:<\/span><span style=\"color: #E5C07B;\"> Vec<\/span><span>&lt;<\/span><span style=\"color: #E5C07B;\">String<\/span><span>&gt;,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #C678DD;\">    pub<\/span><span style=\"color: #E06C75;\"> worktree_sha<\/span><span>:<\/span><span style=\"color: #E5C07B;\"> String<\/span><span>,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #C678DD;\">    pub<\/span><span style=\"color: #E06C75;\"> verification_exit_code<\/span><span>:<\/span><span style=\"color: #E5C07B;\"> i32<\/span><span>,<\/span><\/span>\n<span class=\"giallo-l\"><span>}<\/span><\/span><\/code><\/pre>\n<p>Each phase delegates to a specialized spoke with bounded permissions:<\/p>\n<ul>\n<li>\n<p><strong>Research Spoke (Read-Only)<\/strong>: Surveys existing modules, upstream documentation, and prior art without write tools. It emits cited evidence artifacts rather than speculative edits.<\/p>\n<\/li>\n<li>\n<p><strong>Architecture Spoke<\/strong>: Translates requirements and research into a concrete file-level specification and dependency-ordered plan, pausing at a human or policy gate before code is written.<\/p>\n<\/li>\n<li>\n<p><strong>Implementation Spoke<\/strong>: Operates inside an isolated Git worktree restricted to the declared file manifest. It writes code and unit tests, but cannot approve its own phase transition.<\/p>\n<\/li>\n<li>\n<p><strong>Verification Spoke<\/strong>: Checks out the resulting commit independently, executes the full reproducible test suite inside Nix <code>devenv<\/code>, and audits spec compliance line by line.<\/p>\n<\/li>\n<\/ul>\n<h2 id=\"reproducible-toolchains-are-the-real-guardrail\"><a class=\"heading-anchor\" href=\"#reproducible-toolchains-are-the-real-guardrail\">Reproducible Toolchains Are the Real Guardrail<\/a><\/h2>\n<p>An agent harness is only as deterministic as the environment beneath it.<\/p>\n<p>When <code>cargo test<\/code>, <code>zola check<\/code>, or <code>kubectl --dry-run<\/code> depends on mutable global packages on a developer laptop, agent failures become non-reproducible noise.<\/p>\n<p>Pinning every compiler, linter, and formatter inside <code>devenv.nix<\/code> and enforcing them via <code>prek<\/code> hooks gives every agent spoke an identical, hermetic feedback signal:<\/p>\n<pre class=\"giallo\" style=\"color: #ABB2BF; background-color: #282C34;\" ><code data-lang=\"yaml\"><span class=\"giallo-l\"><span>---<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #7F848E;font-style: italic;\"># Example spoke contract artifact checked by the hub state machine<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">phase<\/span><span>:<\/span><span style=\"color: #98C379;\"> &quot;R.2_VERIFY&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">status<\/span><span>:<\/span><span style=\"color: #98C379;\"> &quot;PASS&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">checks<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  nix_devenv_test<\/span><span>:<\/span><span style=\"color: #98C379;\"> &quot;pass&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  prek_hooks<\/span><span>:<\/span><span style=\"color: #98C379;\"> &quot;pass&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  scope_manifest_clean<\/span><span>:<\/span><span style=\"color: #D19A66;\"> true<\/span><\/span><\/code><\/pre><h2 id=\"takeaways-for-platform-teams\"><a class=\"heading-anchor\" href=\"#takeaways-for-platform-teams\">Takeaways for Platform Teams<\/a><\/h2>\n<p>AI Harness Engineering is platform engineering applied to probabilistic compute.<\/p>\n<p>Keep context windows focused on one cognitive mode per turn, isolate filesystem mutations in disposable worktrees, and make deterministic compilers and linters the final arbiters of state advancement.<\/p>\n"},{"title":"Air-Gapped Kubernetes with Talos Linux and Cilium eBPF","published":"2025-09-21T00:00:00+00:00","updated":"2025-09-21T00:00:00+00:00","author":{"name":"Matthew Duncan"},"link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/mahdtech.com\/posts\/k8s-airgapped\/"}},"id":"https:\/\/mahdtech.com\/posts\/k8s-airgapped\/","summary":"Architectural blueprint for operating hardened, SSH-less Kubernetes clusters across disconnected defense and sovereign cloud environments.","content":"<h2 id=\"the-drift-problem-in-disconnected-environments\"><a class=\"heading-anchor\" href=\"#the-drift-problem-in-disconnected-environments\">The Drift Problem in Disconnected Environments<\/a><\/h2>\n<p>Traditional enterprise Linux distributions assume interactive operators;<\/p>\n<ul>\n<li>SSH daemons<\/li>\n<li>systemd drop-ins<\/li>\n<li>configuration management agents<\/li>\n<li>Mutable <code>\/etc<\/code> trees.<\/li>\n<\/ul>\n<p>In internet-connected clouds, nodes are recycled frequently enough to hide configuration drift.<\/p>\n<p>In <strong>air-gapped sovereign and defense enclaves<\/strong>, long-lived bare-metal nodes accumulate silent entropy until an upgrade breaks quorum at 02:00.<\/p>\n<p>By replacing general-purpose Linux hosts with an API-driven, read-only operating system removes the entire class of host-level drift.<\/p>\n<h2 id=\"api-only-node-lifecycle-with-talos\"><a class=\"heading-anchor\" href=\"#api-only-node-lifecycle-with-talos\">API-Only Node Lifecycle with Talos<\/a><\/h2>\n<p>With an immutable OS like Talos Linux, there is no shell, no SSH daemon, and no package manager.<\/p>\n<p>Every host setting, kernel parameter, bonded VLAN interface, disk encryption config and kubelet flag all live in a declarative machine configuration authenticated via mutual TLS:<\/p>\n<pre class=\"giallo\" style=\"color: #ABB2BF; background-color: #282C34;\" ><code data-lang=\"yaml\"><span class=\"giallo-l\"><span>---<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">machine<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  network<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">    interfaces<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span>      -<\/span><span style=\"color: #E06C75;\"> interface<\/span><span>:<\/span><span style=\"color: #98C379;\"> bond0<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">        bond<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">          mode<\/span><span>:<\/span><span style=\"color: #98C379;\"> 802.3ad<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">          lacpRate<\/span><span>:<\/span><span style=\"color: #98C379;\"> fast<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">        vlans<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span>          -<\/span><span style=\"color: #E06C75;\"> vlanId<\/span><span>:<\/span><span style=\"color: #D19A66;\"> 240<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">            addresses<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span>              -<\/span><span style=\"color: #98C379;\"> 10.24.0.11\/24<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  registries<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">    mirrors<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">      docker.io<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">        endpoints<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span>          -<\/span><span style=\"color: #98C379;\"> https:\/\/harbor.enclave.internal\/v2\/docker.io<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">      registry.k8s.io<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">        endpoints<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span>          -<\/span><span style=\"color: #98C379;\"> https:\/\/harbor.enclave.internal\/v2\/registry.k8s.io<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">cluster<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  proxy<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">    disabled<\/span><span>:<\/span><span style=\"color: #D19A66;\"> true<\/span><\/span><\/code><\/pre>\n<p>Disabling <code>kube-proxy<\/code> at bootstrap lets Cilium own service load-balancing directly in eBPF socket and XDP programs, avoiding thousands of sequential <code>iptables<\/code> or <code>nftables<\/code> rules as service counts scale.<\/p>\n<h2 id=\"ebpf-dataplane-zero-trust-network-policy\"><a class=\"heading-anchor\" href=\"#ebpf-dataplane-zero-trust-network-policy\">eBPF Dataplane &amp; Zero-Trust Network Policy<\/a><\/h2>\n<p>In regulated multi-tenant clusters, IP-based firewall rules break down as pods reschedule across nodes. Cilium binds security identity to cryptographic Kubernetes service accounts and enforces policy directly inside the kernel dataplane:<\/p>\n<pre class=\"giallo\" style=\"color: #ABB2BF; background-color: #282C34;\" ><code data-lang=\"yaml\"><span class=\"giallo-l\"><span>---<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">apiVersion<\/span><span>:<\/span><span style=\"color: #98C379;\"> cilium.io\/v2<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">kind<\/span><span>:<\/span><span style=\"color: #98C379;\"> CiliumNetworkPolicy<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">metadata<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  name<\/span><span>:<\/span><span style=\"color: #98C379;\"> workload-egress-lockdown<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  namespace<\/span><span>:<\/span><span style=\"color: #98C379;\"> mission-ops<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">spec<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  endpointSelector<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">    matchLabels<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">      app.kubernetes.io\/part-of<\/span><span>:<\/span><span style=\"color: #98C379;\"> telemetry-pipeline<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">  egress<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span>    -<\/span><span style=\"color: #E06C75;\"> toEndpoints<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span>        -<\/span><span style=\"color: #E06C75;\"> matchLabels<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">            app.kubernetes.io\/name<\/span><span>:<\/span><span style=\"color: #98C379;\"> victoria-metrics<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">      toPorts<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span>        -<\/span><span style=\"color: #E06C75;\"> ports<\/span><span>:<\/span><\/span>\n<span class=\"giallo-l\"><span>            -<\/span><span style=\"color: #E06C75;\"> port<\/span><span>:<\/span><span style=\"color: #98C379;\"> &quot;8428&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #E06C75;\">              protocol<\/span><span>:<\/span><span style=\"color: #98C379;\"> TCP<\/span><\/span><\/code><\/pre>\n<p>Pairing Cilium WireGuard transparent encryption with Hubble flow logs gives security auditors deterministic proof of east-west traffic isolation without sidecar proxy CPU overhead on every pod.<\/p>\n<h2 id=\"offline-supply-chain-integrity\"><a class=\"heading-anchor\" href=\"#offline-supply-chain-integrity\">Offline Supply-Chain Integrity<\/a><\/h2>\n<p>Air-gapped networks are only as trustworthy as their import diode. Every release bundle crossing into the enclave should carry:<\/p>\n<ol>\n<li><strong>OCI Image Layouts<\/strong> mirrored by SHA-256 digest rather than mutable version tags.<\/li>\n<li><strong>Offline Sigstore \/ Cosign bundles<\/strong> verified by an admission controller (Kyverno or Ratify) pinned to internal hardware root keys.<\/li>\n<li><strong>Declarative GitOps manifests<\/strong> reconciled by Flux or Argo CD from an internal Git mirror, guaranteeing zero manual <code>kubectl edit<\/code> divergence.<\/li>\n<\/ol>\n"},{"title":"Welcome","published":"2020-01-01T00:00:00+00:00","updated":"2020-01-01T00:00:00+00:00","author":{"name":"Matthew Duncan"},"link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/mahdtech.com\/posts\/welcome\/"}},"id":"https:\/\/mahdtech.com\/posts\/welcome\/","summary":"Welcome to the blog.","content":"<p>Now I have another side project to neglect \ud83d\ude01<\/p>\n<p><img src=\"\/welcome.gif\" alt=\"Welcome GIF\" \/><\/p>\n"}]}