days – Code Guilds https://codeguilds.com Thu, 05 Nov 2026 21:12:17 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.5 Accelerating Legacy AS/400 Modernization: How Agentic AI Transforms Business Rule Extraction from Months to Days https://codeguilds.com/accelerating-legacy-as-400-modernization-how-agentic-ai-transforms-business-rule-extraction-from-months-to-days/ https://codeguilds.com/accelerating-legacy-as-400-modernization-how-agentic-ai-transforms-business-rule-extraction-from-months-to-days/#respond Thu, 05 Nov 2026 21:12:17 +0000 https://codeguilds.com/accelerating-legacy-as-400-modernization-how-agentic-ai-transforms-business-rule-extraction-from-months-to-days/ The modernization of legacy AS/400 systems has long been considered one of the most daunting tasks in corporate information technology. Organizations worldwide continue to rely on critical business logic embedded in decades-old RPG and COBOL code bases—systems that underpin essential functions like order fulfillment, inventory management, and financial processing. For years, the process of extracting these business rules—a prerequisite for any successful migration to modern cloud environments—has been a labor-intensive, manual endeavor, often requiring months of effort from a diminishing pool of Subject Matter Experts (SMEs). A new paradigm shift is emerging, however, as agentic AI development environments like Kiro demonstrate that this process can be compressed into a matter of days rather than weeks or months.

The persistence of AS/400 environments in modern enterprises is not due to a lack of ambition to modernize, but rather the extreme complexity of the legacy code itself. In many of these systems, business logic is not centralized; it is fragmented across thousands of interconnected programs, subroutines, and Data Description Specifications (DDS). When an organization decides to move away from these systems, they often face an "information vacuum." The original developers have frequently retired, and the documentation, if it exists at all, is often obsolete or incomplete.

Historically, companies attempting to modernize these systems have relied on a traditional approach involving teams of consultants and technical writers tasked with manually tracing code execution. This process is prone to human error and carries significant overhead. A typical engagement involving a standard system of five integrated programs—approximately 40,000 lines of code—would traditionally consume between 40 and 80 person-hours of effort, stretching over a timeline of four to six weeks.

The introduction of Kiro, an agentic AI-powered development environment that spans IDE, CLI, web, and mobile surfaces, offers a technical alternative to this manual bottleneck. By utilizing an autonomous workflow that analyzes code dependencies, traces execution paths, and generates documentation against predefined standards, Kiro allows organizations to shift from manual discovery to automated verification.

The core of the Kiro methodology relies on three distinct phases of operation: configuration of steering files, construction of an actionable AI specification, and autonomous execution. Steering files function as the "north star" for the AI, defining the project context, technical standards, and output formats. By setting constraints—such as requiring 10 to 20 lines of code context for every extracted rule or mandating the translation of cryptic DDS field names into human-readable business terms—organizations ensure that the AI’s output is consistent and ready for immediate technical implementation.

Once the steering parameters are established, users construct a Kiro Spec, a structured roadmap of discrete, trackable tasks. This might include parsing physical and logical file definitions, identifying subroutines within RPG programs, mapping data flows across CALL/PARM statements, or analyzing how configuration tables drive runtime behavior. By breaking down the extraction process into a dependency graph, Kiro can manage the complex relationships between different programs, ensuring that the final documentation is not just a collection of fragments, but a holistic view of the system’s logic.

For example, consider the process of stock allocation in an AS/400 environment. A traditional developer would need to manually parse the F-specs and the logic within a subroutine like ALLCST, interpreting how the program chains to the inventory file and updates availability. With an agentic AI approach, the system reads the source code, identifies the subroutine boundaries (lines 3820-3960), and automatically generates a plain-language description and a pseudocode equivalent. This output serves as a bridge, allowing modern developers who may have no experience with RPG or COBOL to understand exactly what the legacy system is doing.

Accelerating AS/400 business rule extraction with Kiro: Step-by-step guide | Amazon Web Services

The data gathered during this process is transformative for the migration effort. By translating abbreviated AS/400 field names like ZIORCD into "Order Code" or ZIPERD into "Fulfillment Period," the AI eliminates the guesswork that typically plagues legacy migration. This mapping is vital; without it, developers building a new, cloud-native replacement system are forced to reverse-engineer data structures in the dark, which is a common source of costly post-migration bugs.

Recent deployments of this technology suggest significant gains in efficiency. In a benchmark study of a five-program system, the adoption of an AI-assisted workflow reduced the total effort from 40-80 person-hours to just 12. More impressively, the timeline for completing the extraction documentation was reduced from six weeks to three days, representing a roughly 90% acceleration in the discovery phase. This efficiency creates a multiplier effect: as the team moves from one system to the next, the upfront setup costs for templates and steering files are amortized, making the extraction for subsequent systems even faster.

However, industry experts and developers emphasize that while AI can automate the heavy lifting of extraction, it does not replace the need for architectural judgment. The Kiro workflow is designed as a read-only analysis tool; it does not modify the source code or attempt to execute the programs. The extracted rules must still be vetted by an AS/400 SME. The role of the human expert shifts from being a manual code reader to being a high-level validator, focusing on the strategic implications of the extracted logic rather than the minutiae of line-by-line syntax.

The broader implications for the IT sector are profound. As the global workforce of RPG and COBOL programmers continues to shrink, the cost of maintaining these legacy systems is rising, while the risk of system failure grows. Automated business rule extraction provides a path forward that is both faster and more accurate than traditional methods. It lowers the barrier to entry for modernization projects, allowing organizations that were previously paralyzed by the complexity of their code bases to finally initiate migration strategies.

Looking forward, the integration of agentic AI into the mainframe modernization stack suggests a future where legacy systems are treated not as "black boxes" that must be painstakingly unraveled, but as well-documented assets that can be reliably mapped to modern infrastructure. As organizations continue to prioritize digital transformation, the ability to rapidly convert decades of operational knowledge into modern, machine-readable specifications will become a critical competitive advantage.

Ultimately, the successful transition of an AS/400 system to a modern architecture requires more than just new hardware or cloud hosting—it requires a complete understanding of the business logic that has kept the company running for decades. By reducing the time required to achieve that understanding, tools like Kiro are providing a vital service to the enterprise, enabling them to move past the limitations of their legacy infrastructure and focus on building the features and capabilities their customers demand in an increasingly digital economy.

The path forward for these organizations remains clear: leverage automation to de-risk the discovery phase, utilize SMEs to validate the AI’s findings, and prioritize the creation of documentation that is actually usable by modern development teams. With these pillars in place, the specter of the "modernization project that never ends" may finally be consigned to the past, replaced by a repeatable, predictable, and highly efficient workflow.

]]>
https://codeguilds.com/accelerating-legacy-as-400-modernization-how-agentic-ai-transforms-business-rule-extraction-from-months-to-days/feed/ 0
Accelerating Legacy Modernization: How Agentic AI Transforms AS/400 Business Rule Extraction from Months to Days https://codeguilds.com/accelerating-legacy-modernization-how-agentic-ai-transforms-as-400-business-rule-extraction-from-months-to-days/ https://codeguilds.com/accelerating-legacy-modernization-how-agentic-ai-transforms-as-400-business-rule-extraction-from-months-to-days/#respond Wed, 28 Oct 2026 23:12:22 +0000 https://codeguilds.com/accelerating-legacy-modernization-how-agentic-ai-transforms-as-400-business-rule-extraction-from-months-to-days/ The rapid modernization of enterprise IT environments is often stalled by a single, persistent bottleneck: the opaque complexity of legacy AS/400 systems. For decades, global organizations have relied on RPG and COBOL codebases to manage critical order fulfillment, inventory management, and shipping logistics. However, as the original architects of these systems retire and the talent pool with niche RPG expertise shrinks, companies face an escalating technical debt crisis. Traditional methods of "business rule extraction"—the process of documenting how a legacy system actually functions—have historically been manual, labor-intensive, and prone to human error, often consuming four to six weeks per system and requiring up to 80 person-hours of expert time.

A new development in agentic AI, specifically the platform Kiro, is fundamentally altering this timeline. By deploying an autonomous, AI-powered development environment that operates across IDE, CLI, and web surfaces, organizations are now compressing the documentation phase of modernization projects from months into mere days. This technological shift allows firms to bypass the manual drudgery of code analysis and move directly into the strategic implementation phase of cloud-native transformation.

The challenge of legacy systems is not merely the age of the hardware, but the fragmentation of business logic. In a typical AS/400 environment, shipping rules, tax calculations, and warehouse allocation logic are scattered across thousands of lines of code, often spanning interconnected programs that lack comprehensive, centralized documentation. When an organization decides to move to a modern cloud infrastructure, the inability to clearly define these rules becomes a primary point of failure. If the rules are not extracted with 100% accuracy, the modernized system will inevitably mirror the flaws of its predecessor.

The chronological workflow of a standard modernization project using Kiro begins with the configuration of "steering files." These act as the behavioral guardrails for the AI. By defining the project context—such as the specific directory structures for RPGLE and CLLE files and the technical standards for documentation—engineers can ensure that the AI focuses on high-value targets. For instance, instructing the AI to map cryptic Data Description Specification (DDS) field names to human-readable business terms provides the immediate foundation for a data dictionary.

Following configuration, the process moves into the execution of a "Kiro Spec." This phase involves a series of discrete, high-precision tasks. First, the AI parses the existing physical and logical file definitions to understand the data architecture. Second, it traverses the program call chains, mapping out exactly how PROG001 interacts with PROG005, and how parameters are passed across the system. Finally, it extracts the business logic itself, pulling 10 to 20 lines of code context for every rule identified. This context is critical; it allows a human subject matter expert (SME) to review the extracted rule against the original source code, ensuring that the AI’s interpretation of complex subroutines is accurate.

The data supporting this shift in methodology is compelling. In a recent pilot project involving a five-program order fulfillment system comprising roughly 40,000 lines of code, the manual effort required would have historically reached up to 80 person-hours. With the integration of Kiro, the total effort was reduced to 12 hours—an efficiency gain of nearly 85%. More importantly, the project timeline was compressed from a six-week discovery phase to just three days. When projected across an entire enterprise portfolio of ten or more systems, the cumulative savings in both time and engineering resources represent a significant fiscal and operational advantage.

The implications of this shift extend beyond mere time savings. The primary quality improvement lies in the uniformity of documentation. Manual extraction is subject to the interpretive bias of the individual analyst; one writer might describe a stock allocation subroutine differently than another. AI-driven extraction, however, applies a consistent set of rules and templates across the entire codebase. This produces a "single source of truth" for the business logic, which is essential for developers tasked with building the replacement system in modern languages like Java, Python, or Go.

Accelerating AS/400 business rule extraction with Kiro: Step-by-step guide | Amazon Web Services

Furthermore, the "multiplier effect" of this approach is substantial. Because the templates and steering files created for the first system are reusable, subsequent systems can be analyzed with even greater speed. Once an organization has standardized its extraction templates, the per-system effort drops significantly, allowing for a phased, programmatic approach to total mainframe retirement.

Despite the automation, the role of the human expert remains paramount. Kiro functions as a force multiplier, not a total replacement for institutional knowledge. The AI excels at pattern recognition, tracing execution paths, and identifying dependencies, but the final validation of complex business logic requires an SME who understands the historical context of the system. In the described workflow, the 12-hour total effort is heavily weighted toward human review. This ensures that the modernization project is built on a foundation of validated intelligence, mitigating the risks associated with "black-box" migrations.

From an architectural standpoint, the extraction of configuration-driven behavior is perhaps the most difficult aspect of mainframe modernization. Many AS/400 systems rely on external tables or hard-coded constants that alter program behavior at runtime. By analyzing these "CHAIN" and conditional branching patterns, Kiro enables the AI to map current configuration values to their resulting business behaviors. This mapping is vital for companies that need to replicate complex, multi-tiered shipping or pricing logic in a new environment without losing nuance.

The broader impact of this technology is the democratization of modernization. Historically, only the largest enterprises with massive budgets and dedicated legacy teams could afford the luxury of a comprehensive, multi-year migration. The ability to perform high-fidelity rule extraction in days lowers the barrier to entry, enabling mid-sized organizations to modernize their critical infrastructure. This could lead to a wave of digital transformation across sectors like retail, logistics, and manufacturing, where AS/400 systems remain the quiet engines of daily operation.

As the industry moves forward, the combination of agentic AI and structured, rule-based extraction will likely become the industry standard for modernization. Organizations that continue to rely on manual, multi-month discovery phases will find themselves at a competitive disadvantage compared to those that leverage AI to accelerate the move to the cloud. By reducing the "discovery tax" associated with legacy systems, companies can reallocate their engineering talent toward innovation rather than archaeological code analysis.

Industry observers note that while the tools are changing, the fundamental goal remains the same: ensuring business continuity while upgrading the underlying technology. The consensus among modernization experts is that the "AI-first" approach is no longer a luxury but a necessity for organizations facing the dual pressures of talent attrition and the need for agility in a cloud-first market.

For organizations currently stalled in the planning phase, the recommendation from recent successful implementations is to start small. By selecting a single, isolated module of the AS/400 environment, teams can test the efficacy of the steering files and validate the accuracy of the extracted documentation before scaling the process to larger, more integrated systems. This iterative approach allows for the refinement of templates and the calibration of the AI to the specific idiosyncrasies of the organization’s legacy code.

Ultimately, the goal of this technology is to strip away the fear of the "unknown" that often plagues legacy modernization. By turning thousands of lines of cryptic, interconnected RPG code into a clean, well-documented technical specification, businesses can finally look at their legacy systems as a library of knowledge rather than a mountain of technical debt. This clarity is the first, and perhaps most important, step in building the infrastructure of the next generation. As the toolsets mature and more organizations share their successful implementation patterns—such as those available in open-source repositories—the risks associated with legacy modernization will continue to diminish, further accelerating the inevitable transition to modern, scalable computing environments.

]]>
https://codeguilds.com/accelerating-legacy-modernization-how-agentic-ai-transforms-as-400-business-rule-extraction-from-months-to-days/feed/ 0
IPhone Users Urged to Update to Patch 2 Zero-Days Under Attack https://codeguilds.com/iphone-users-urged-to-update-to-patch-2-zero-days-under-attack/ https://codeguilds.com/iphone-users-urged-to-update-to-patch-2-zero-days-under-attack/#respond Wed, 28 Oct 2026 21:05:15 +0000 https://codeguilds.com/iphone-users-urged-to-update-to-patch-2-zero-days-under-attack/ Apple has issued an urgent advisory to millions of device owners globally, strongly encouraging the immediate installation of newly released software patches designed to neutralize two critical zero-day vulnerabilities. These security flaws, which currently impact a vast array of iPhones, iPads, and Mac computers, are confirmed to be under active exploitation in the wild. According to security advisories published by the Cupertino-based tech giant, the newly deployed updates—designated as iOS 15.6.1, iPadOS 15.6.1, and macOS Monterey 12.5.1—address severe underlying architecture issues that could potentially grant malicious actors full, unrestricted administrative control over targeted systems.

The discovery of these vulnerabilities highlights a persistent challenge for consumer technology manufacturers: securing complex operating systems against highly sophisticated, well-resourced threat actors. While tech companies invest billions of dollars annually into robust defensive engineering and proactive code auditing, sophisticated attackers continue to uncover deep-seated flaws in kernel logic and browser rendering engines. For everyday consumers, enterprises, and high-profile individuals alike, the rapid deployment of these patches is a critical line of defense against potential espionage, data theft, and complete device compromise.

Anatomy of the Exploited Flaws: Kernel and WebKit Vulnerabilities

The security updates released by Apple remediate two distinct vulnerabilities that affect both mobile and desktop environments. The first issue, cataloged as CVE-2022-32894, resides within the core operating system kernel—the foundational layer of software that acts as a bridge between applications and the actual data processing hardware of the device. This specific flaw is classified as an out-of-bounds write issue.

In computer science, an out-of-bounds write occurs when a program attempts to write data past the end, or before the beginning, of allocated memory buffers. If an application can successfully manipulate this flaw, it can corrupt adjacent memory, overwrite critical system data, and ultimately execute arbitrary code with kernel privileges. Achieving kernel-level execution gives an attacker the highest possible level of access on a device, bypassing standard security sandboxes and allowing them to install persistent malware, access encrypted user data, monitor communications, and manipulate system settings without the user’s knowledge or consent. Apple acknowledged in its release notes that this kernel vulnerability impacts both iOS and macOS environments, and that there are credible reports of the flaw being actively exploited in targeted attacks.

The second vulnerability, tracked as CVE-2022-32893, targets WebKit, the underlying browser engine that powers Apple’s Safari web browser as well as all third-party web browsers operating on iOS and iPadOS. Much like its kernel-level counterpart, the WebKit bug is also characterized as an out-of-bounds write vulnerability that was successfully mitigated by Apple through the implementation of improved bounds-checking mechanisms.

When a user navigates to a maliciously crafted website or processes malicious web content via applications that render web views, this vulnerability can be triggered. Once exploited, it enables remote code execution within the context of the browser, which can subsequently serve as a stepping stone to launch deeper compromises against the host operating system. Because web browsing is an unavoidable, daily activity for the vast majority of mobile and desktop users, browser-based attack vectors represent a particularly insidious threat, often requiring nothing more than a momentary visit to a compromised or malicious web page to initiate an infection chain.

The Specter of Advanced Spyware and Pegasus-Like Scenarios

Although Apple has released sparse technical details regarding the specific nature of the attacks or the identities of the targeted individuals, security researchers and industry analysts have drawn immediate parallels to historical campaigns involving mercenary spyware. The ability to chain a WebKit remote code execution bug with a kernel-level privilege escalation flaw is a hallmark of sophisticated, state-sponsored cyberespionage operations.

This methodology immediately evokes memories of the Pegasus spyware developed by the Israeli cyber-intelligence firm NSO Group. In previous high-profile campaigns, threat actors utilized zero-click and one-click exploits targeting iOS and macOS vulnerabilities to covertly infiltrate the devices of journalists, human rights defenders, dissidents, government officials, and political figures. In those historic scenarios, attackers successfully deployed surveillance payloads capable of harvesting text messages, tracking real-time geographic locations, recording audio and video through device sensors, and exfiltrating encrypted messaging application data—all without alerting the device owner.

While there is currently no public confirmation linking CVE-2022-32894 and CVE-2022-32893 directly to a specific corporate entity or nation-state actor, the technical mechanics of the exploits strongly suggest capabilities typically associated with advanced persistent threat (APT) groups. The discovery of both zero-days was credited by Apple to an anonymous researcher, further fueling speculation within the cybersecurity community regarding the high-stakes, secretive ecosystem of vulnerability research and exploitation.

Industry Reactions and Urgent Directives for Device Owners

In the wake of Apple’s emergency disclosures, cybersecurity experts and digital safety advocates have moved quickly to amplify the manufacturer’s warnings, urging the public to treat the software updates with extreme urgency.

Rachel Tobac, CEO of SocialProof Security, took to social media to emphasize the bifurcated urgency of the situation depending on an individual’s personal threat model. For the average user, Tobac recommended updating software by the end of the day. However, for individuals whose professional or personal profiles place them at elevated risk—such as journalists, political activists, dissidents, lawyers, and corporate executives frequently targeted by sophisticated adversaries—the directive was clear: update immediately.

The broader implications of these recurring vulnerabilities extend far beyond individual inconvenience. Andrew Whaley, senior technical director at Promon, a prominent application security firm, noted that the continuous discovery of high-severity flaws in ubiquitous operating systems demonstrates the sheer difficulty of achieving absolute software security in modern computing environments. Whaley emphasized that while major technology vendors bear a fundamental responsibility to build secure foundations, the sheer ubiquity of mobile devices and their central role in daily personal and professional life mean that consumers must also adopt a proactive security posture.

"While we all rely heavily on our mobile devices, they are not invulnerable," Whaley stated. "As users, we need to maintain our guard just as we traditionally do on desktop operating systems, understanding that convenience often comes with inherent security trade-offs."

A Timeline of Escalating Zero-Day Pressures in 2022

The rollout of Apple’s emergency patches arrives amid a particularly relentless year for software zero-days across the broader technology industry. Throughout 2022, major software developers—including Google, Microsoft, Apple, and Mozilla—have found themselves in a continuous race against time to patch vulnerabilities that are actively being weaponized by threat actors before official fixes can be engineered and deployed.

Just days prior to Apple’s announcement, Google released an urgent update for its widely used Chrome browser to address its fifth zero-day vulnerability of the calendar year. Like Apple’s latest disclosures, Google’s CVE-2022-2856 bug involved an out-of-bounds write in the browser’s implementation, allowing for arbitrary code execution under active exploitation.

The compounding frequency of these discoveries illustrates a maturing and heavily commercialized vulnerability market. Independent security researchers, specialized exploit brokers, and nation-state intelligence agencies constantly probe popular software ecosystems for undiscovered flaws. When zero-days are successfully weaponized, they provide attackers with temporary but devastating windows of opportunity during which millions of unpatched devices remain defenseless.

The Responsibility of Mobile App Developers and Ecosystem Stakeholders

In addition to urging end-users to apply operating system updates without delay, security analysts are increasingly turning their attention to the ecosystem of third-party application developers. As mobile operating systems become more complex and increasingly targeted by sophisticated exploit chains, relying exclusively on the security controls provided by underlying operating systems is no longer viewed as sufficient, particularly for high-risk applications such as mobile banking, healthcare management, and enterprise communications.

Industry experts argue that developers of sensitive mobile applications should implement defense-in-depth strategies, integrating auxiliary security layers directly into their software. Techniques such as runtime application self-protection (RASP), robust code obfuscation, and device integrity verification can help detect tampering, prevent reverse engineering, and mitigate the impact of underlying OS vulnerabilities.

Unfortunately, experts point out that many commercial application developers still underutilize these supplementary protections, leaving organizations and their customer bases exposed to risk when foundational operating system flaws inevitably surface.

Recommendations for Secured Device Management

To mitigate the risks highlighted by the disclosure of CVE-2022-32894 and CVE-2022-32893, individuals and organizations are advised to follow a strict hierarchy of digital hygiene and system maintenance:

  1. Immediate Patch Deployment: Ensure that all eligible hardware is promptly updated to iOS 15.6.1, iPadOS 15.6.1, and macOS Monterey 12.5.1. Devices should be connected to a reliable Wi-Fi network and plugged into a power source while updates are downloaded and installed.
  2. Enable Automatic Updates: Where appropriate, configure devices to download and apply security updates automatically to minimize the exposure window between public patch availability and actual installation.
  3. Elevated Threat Model Awareness: Individuals operating in high-risk sectors—including investigative journalism, human rights advocacy, financial services, and government relations—should exercise heightened caution regarding suspicious links, unsolicited attachments, and unverified web content, even on modern, updated hardware.
  4. Defense-in-Depth for Enterprises: Corporate IT and security operations teams should audit mobile device management (MDM) fleets to verify compliance levels across all employee devices and monitor for anomalous network traffic or unexpected system behavior.

As the digital landscape continues to evolve, the rapid identification and remediation of zero-day vulnerabilities will remain a critical pillar of modern cybersecurity. While perfection in software engineering remains an elusive goal, the speed, transparency, and diligence with which technology vendors and users respond to emerging threats will ultimately determine the security and resilience of the global digital infrastructure.

]]>
https://codeguilds.com/iphone-users-urged-to-update-to-patch-2-zero-days-under-attack/feed/ 0
Ginux: How Human-Directed Agentic Engineering Created an Operating System Kernel in Eleven Days https://codeguilds.com/ginux-how-human-directed-agentic-engineering-created-an-operating-system-kernel-in-eleven-days/ https://codeguilds.com/ginux-how-human-directed-agentic-engineering-created-an-operating-system-kernel-in-eleven-days/#respond Tue, 27 Oct 2026 21:51:10 +0000 https://codeguilds.com/ginux-how-human-directed-agentic-engineering-created-an-operating-system-kernel-in-eleven-days/ Gregory Kurtzer, a prominent figure in the open-source community best known for founding the CentOS project and later establishing Rocky Linux and CIQ, has unveiled a radical experiment in software development: Ginux, an independent, Rust-based operating system kernel written almost entirely by an AI agent. The project represents a significant departure from traditional software engineering methodologies, moving away from manual coding toward what Kurtzer describes as Human-Directed Agentic Engineering (HDAE).

The core of the project is a fundamental shift in how complex systems are architected. Unlike previous efforts to create kernels or operating systems, which typically require years of collaborative work from large teams of developers, Ginux was developed over a concentrated 11-day period. Despite its short gestation, the resulting kernel is functionally capable of booting enterprise-grade distributions such as Rocky Linux 10, complete with systemd support, entirely bypassing the standard Linux kernel.

The Technical Architecture of Ginux

Ginux is a clean-slate, x86-64 kernel developed primarily in the Rust programming language. It is not a fork of the existing Linux kernel, nor does it share a common codebase with Unix-like predecessors. Instead, it features an entirely self-contained set of low-level subsystems, including its own memory management, process scheduler, process model, filesystem drivers, and networking stack.

The most notable technical achievement of Ginux is its implementation of the Linux Application Binary Interface (ABI). By adhering to the standard binary interface, Ginux allows existing, pre-compiled Linux binaries to execute without modification. Within the project’s documentation, Linux is treated not as a foundational requirement, but as a "personality" or an interface that the kernel exposes to the user-space environment.

The kernel is distributed as a single EFI image (GINUX.EFI), designed to boot directly via UEFI, removing the need for a host operating system. Within this environment, Ginux manages "domains"—isolated execution environments that provide a security and abstraction layer superior to traditional OCI containers or standard Linux namespaces. These domains manage their own process lifecycles and root filesystems, pulling from existing OCI container images to assemble a bootable environment. In recent demonstrations, Ginux successfully initialized Rocky Linux 10 up to the multi-user.target, demonstrating that the kernel is capable of handling complex system initialization processes.

Rocky Linux Creator Built a New "Not Linux" Kernel in 11 Days Using AI

Chronology of the 11-Day Development Cycle

The development of Ginux was characterized by a rapid, iterative loop facilitated by the GPT-5.6 Sol model. According to technical documentation provided by Kurtzer, the process was divided into clearly defined phases:

  • Days 1–2: Conceptualization and Scoping. The human operator defined the architectural boundaries, the requirement for Rust-based safety, and the necessity of ABI compatibility.
  • Days 3–7: Core Subsystem Implementation. The AI agent focused on writing the memory management unit, the boot loader, and the scheduler. During this phase, the agent was tasked with constant compilation and verification against executable tests.
  • Days 8–10: System Integration. The agent integrated the filesystem drivers and the networking stack. It also configured the kernel to parse and execute OCI images, allowing for the successful boot of Rocky Linux.
  • Day 11: Stabilization and Final Review. The final day was dedicated to debugging and ensuring that the kernel could reach the multi-user.target state without fatal errors.

Throughout this period, the project generated approximately 139,000 lines of code across more than 1,000 commits. This level of output highlights the efficiency of the HDAE model, where the AI manages the heavy lifting of implementation while the human provides the architectural roadmap and validation criteria.

Defining Human-Directed Agentic Engineering

Human-Directed Agentic Engineering (HDAE) is the methodological framework that underpinned the development of Ginux. Kurtzer has argued that HDAE is distinct from simple AI-assisted coding. In a traditional "co-pilot" workflow, a developer writes code and asks an AI to suggest completions or fixes. In an agentic workflow, the developer acts as a system architect, while the agent acts as an autonomous engineer.

The developer remains responsible for high-level tasks: setting constraints, defining the "acceptance criteria" for each module, and reviewing the outcomes. The agent, meanwhile, operates within a continuous loop of writing, booting, testing, diagnosing, and revising. By linking the agent directly to the build and test infrastructure, the system can self-correct when a build fails or a test case is not met. Kurtzer emphasizes that this methodology is not a replacement for domain expertise. Rather, it serves as a force multiplier for engineers who already possess deep, fundamental knowledge of systems programming and kernel architecture.

Supporting Data and Current Capabilities

It is important to note the limitations of the current prototype. Ginux is not yet a production-ready operating system. Current constraints include:

  • Hardware Support: The kernel lacks support for physical hardware profiles, including GPU acceleration and NVMe storage controllers. It currently functions only within a QEMU virtual machine environment.
  • Security Auditing: While the use of Rust provides inherent memory safety, the kernel has not undergone a formal security audit or penetration testing.
  • Research Focus: The project is released under an Apache 2.0 license and is strictly intended for research and development. It is not intended to replace existing Linux distributions in enterprise environments.

However, the ability of an 11-day prototype to boot a complex init system like systemd provides a compelling data point for the future of OS development. By decoupling the userspace from the kernel, Ginux illustrates that the "Linux experience" can be replicated on non-Linux foundations, potentially opening the door for more specialized or secure kernels in the future.

Rocky Linux Creator Built a New "Not Linux" Kernel in 11 Days Using AI

Broader Implications for Systems Programming

The emergence of Ginux raises questions regarding the future of the Linux kernel and the sustainability of massive, multi-decade projects. For over thirty years, the Linux kernel has grown to millions of lines of code, sustained by a vast, distributed community of contributors. This "moat"—a term used by Kurtzer to describe the difficulty of replacing established technology—is built on hardware enablement, standardized testing, and global consensus.

While an AI can generate a functional kernel in 11 days, the Ginux experiment suggests that the real challenge of operating system development lies not in the initial construction, but in the long-term maintenance and hardware support ecosystem. As Kurtzer stated, "Compatibility, security, hardware support, standards, community, and long-term maintenance remain the real moat."

Nevertheless, the implications for smaller, specialized systems are profound. If a single expert can use agentic AI to build a kernel in under two weeks, the threshold for creating bespoke operating systems—for edge computing, IoT devices, or highly specialized server environments—has effectively collapsed. This could lead to a future where "OS-as-a-Service" or custom kernels become common, moving away from the "one-size-fits-all" approach of the monolithic Linux kernel.

Future Outlook and Industry Response

The technology community has reacted with significant interest to the announcement. While some skeptics highlight the lack of hardware support and the immense difficulty of maintaining a kernel against thousands of evolving standards, others view it as a proof of concept for the next generation of software development.

If HDAE proves to be a repeatable methodology, it may shift the labor market for systems engineers. The role of the engineer may evolve from a "coder" to an "architect-manager," where the ability to define clear, modular requirements and manage agentic workflows becomes more valuable than the ability to write low-level C or Rust code by hand.

The Ginux project serves as a clear indicator of the rapid velocity of AI-driven engineering. By moving the focus from manual implementation to architectural steering, projects that once required the coordinated effort of entire corporations or large open-source foundations may soon be achievable by individuals or small teams. Whether this leads to a new era of diverse, custom kernels or merely creates a new tool for rapid prototyping remains to be seen, but the baseline for what a developer can achieve in a "weekend project" has been fundamentally reset.

]]>
https://codeguilds.com/ginux-how-human-directed-agentic-engineering-created-an-operating-system-kernel-in-eleven-days/feed/ 0
GitHub Overhauls Repository Ownership, Securing Thousands of Projects in Under 45 Days https://codeguilds.com/github-overhauls-repository-ownership-securing-thousands-of-projects-in-under-45-days/ https://codeguilds.com/github-overhauls-repository-ownership-securing-thousands-of-projects-in-under-45-days/#respond Wed, 22 Jul 2026 10:44:36 +0000 https://codeguilds.com/github-overhauls-repository-ownership-securing-thousands-of-projects-in-under-45-days/ In a significant internal initiative, GitHub has successfully addressed a critical challenge stemming from its vast ecosystem of over 14,000 internal repositories: a pervasive lack of clear ownership for a substantial majority. As of early 2025, the company managed more than 11,000 non-archived repositories within its primary internal GitHub organization, with the vast majority operating without a defined owner. This organizational blind spot, particularly for repositories not directly tied to production services, presented escalating risks and inefficiencies, most notably highlighted during a recent secret scanning remediation effort. Over a concentrated period of less than 45 days, GitHub implemented a comprehensive solution, validating ownership for every active repository, archiving approximately 8,000 inactive ones, and fundamentally altering repository creation workflows to mandate ownership from inception. The effort has not only dramatically enhanced the company’s security posture but also streamlined operational processes and provided a clearer, more accurate inventory of its internal code assets.

The Pervasive Problem of Unowned Repositories

GitHub, as a leading platform for software development, naturally generates a high volume of internal codebases. While robust ownership tracking existed for repositories linked to production services through its internal Service Catalog, a vast segment of its internal GitHub organization remained outside this structured framework. This "ownership gap" encompassed a diverse array of repositories, including those for internal teams, documentation, one-off projects, personal experiments, and various internal tools not directly supporting a deployed service.

Historically, the Service Catalog served as GitHub’s primary mechanism for tracking service-level metadata, including the associated repository, owning team, executive sponsor, and support information. This model was highly effective for service-centric workflows such as incident response, on-call routing, vulnerability management, and compliance scoping. However, its many-to-one relationship – where a service could only link to a single repository – meant that while one could easily find a repository’s owners by starting from a service, the reverse lookup was often impossible for non-service-backed repositories. This structural limitation created a significant challenge for internal teams needing to interact with these unowned codebases.

The implications of this ambiguity became acutely apparent during a company-wide secret scanning remediation effort. While the technical capability to rotate a compromised secret existed, performing such an action without a clear understanding of the repository owner was inherently risky and frequently disruptive. The absence of a reliable mechanism to route remediation work often led to delays, increased manual effort, and potential security vulnerabilities remaining exposed for longer than necessary. Teams found themselves resorting to time-consuming manual processes: sifting through commit histories, scrutinizing README files, circulating inquiries on Slack channels, or making educated guesses based on repository names—an unsustainable approach for a company of GitHub’s scale and security demands. The sheer volume of over 11,000 non-archived repositories, predominantly without designated owners, underscored the urgent need for a systemic solution.

Designing a First-Class Ownership Model

Recognizing repository ownership as a fundamental property, GitHub embarked on designing a new model. After evaluating several options, including dedicated ownership files within each repository or a centralized external repository, the team opted for GitHub custom properties. This choice was strategic, offering a native, structured, and organization-wide queryable solution for managing ownership. Custom properties provided the flexibility to enforce enterprise and organization policies and rulesets selectively, based on the defined ownership type.

How GitHub gave every repository a durable owner

Two key custom properties were established: ownership-type and ownership-name. The ownership-type property would categorize the nature of ownership (e.g., Service Catalog, Team, Individual), while ownership-name would specify the actual owner (e.g., the service name, team slug, or individual’s GitHub handle). This dual-property approach allowed for granular control and clear attribution.

To ensure a smooth transition and minimize immediate disruption, GitHub initiated "day-one coverage" by building a periodic synchronization mechanism from its existing Service Catalog to the newly defined repository custom properties. This automated process identified every repository backing a known service, setting its ownership-type to "Service Catalog" and automatically populating the ownership-name. This initial step successfully brought approximately 1,500 service-backed repositories under the new ownership model, laying a foundational layer and allowing the team to focus on the remaining categories of unowned repositories.

The Agile Rollout: From Chaos to Clarity

The operational backbone of the new enforcement mechanism was a custom GitHub App, backed by a Kubernetes CronJob. This architecture was chosen for its ability to securely access critical internal systems, including the Service Catalog and the GitHub API, which a simpler GitHub Actions workflow could not adequately provide. The enforcement logic was designed to periodically scan repositories for ownership, open warning issues for those lacking it, and ultimately archive unresolved cases.

The initial rollout, however, provided an immediate and valuable lesson in operating at a global scale. The first run of the CronJob was deliberately scheduled for a Saturday morning, under the assumption that organizational activity would be minimal. This proved to be a significant miscalculation. As the GitHub App began creating ownership warning issues across thousands of repositories, notifications quickly cascaded to employees worldwide, irrespective of their local time zones. The company’s internal Slack channels soon buzzed with inquiries and concerns from developers discovering new issues in their repositories, threatening archival within 30 days. This immediate, global reaction underscored the widespread impact of the initiative and the need for meticulous communication and user education.

Following the initial 30-day grace period, the enforcement system automatically archived any repository that still lacked defined ownership. The decision to implement archival, rather than deletion, was a critical strategic choice. Archiving renders a repository read-only, halts GitHub Actions workflows, but preserves all data. This non-destructive, reversible approach allowed for broad application without the need for exhaustive, case-by-case debate over every edge case. If a team later determined an archived repository was still needed, a straightforward process was established for them to unarchive it, set ownership, and resume work. This safety net facilitated a more aggressive and efficient cleanup of the repository landscape. Once the initial bulk archiving was complete, the enforcement loop was significantly tightened, reducing the grace period from 30 days to a mere one hour. This ensured that any new repository that somehow bypassed the creation-time ownership requirement would be flagged almost immediately, maintaining the integrity of the new system.

Navigating the Sharp Edges: Incidents and Iterations

No large-scale system rollout is without its challenges, and GitHub’s ownership initiative was no exception. Two minor internal incidents provided crucial insights, leading to significant refinements in the system’s design and operational resilience.

How GitHub gave every repository a durable owner

The first incident highlighted a critical gap in the notification mechanism. A repository, mistakenly archived due to a lack of ownership, was part of a monitoring workflow configured in Datadog to open issues within it. When Datadog attempted to create an issue in the now read-only repository, it failed. This failure triggered an alert within GitHub’s internal monitoring service, which then automatically paged the owning team of the monitoring service, leading to an escalation. The core problem identified was that while ownership issues were being created in repositories, the relevant stakeholders were not being directly notified in an actionable manner. To rectify this, the team enhanced the notification system: ownership issues now explicitly @-mentioned repository administrators and, as a fallback, assigned all users with write access to the repository. This ensured that critical alerts about ownership status could not be overlooked and immediately reached individuals empowered to resolve them.

The second incident exposed a potential data reliability vulnerability. While the system was designed to be robust against a complete outage of the Service Catalog, it had not fully accounted for scenarios involving stale or corrupted data from this upstream source. The concern was that erroneous data could lead the ownership application to incorrectly believe a batch of legitimate repositories had lost their Service Catalog entries, potentially triggering mass archiving of perfectly valid projects. To mitigate this significant risk, a "low water mark" threshold was introduced. Before performing any actions during each run, the application would tally the number of archives it was about to perform and issues it was about to open. If these numbers exceeded a pre-defined, conservative threshold, the application would automatically bail out of the current run, trigger a Datadog monitor, and alert the engineering team, preventing a potentially catastrophic mass archiving event. Furthermore, in scenarios where the Service Catalog was unreachable, the job was configured to skip Service Catalog validation entirely, relying only on independently verifiable ownership information. These robust safeguards demonstrated GitHub’s commitment to data integrity and operational safety.

Results By the Numbers: A Transformed Landscape

The results of this intensive, 45-day effort were transformative. GitHub successfully reduced its inventory of active internal repositories from over 11,000, most of which lacked clear ownership, to approximately 3,000. Crucially, every single one of these active repositories now possesses a validated owner, or it faces immediate archival. The number of archived repositories soared from roughly 3,000 at the outset to an impressive 11,000. This meant that around 8,000 repositories, previously active but unowned, were identified as inactive or obsolete and subsequently archived.

The impact of this cleanup extended beyond mere numbers. Many of the newly archived repositories had seen no commits in years, representing abandoned experiments, completed hackathon projects, or even single-person prototypes dating back to 2008. Archiving these dormant assets significantly reduced GitHub’s internal attack surface, simplified its code inventory, and ensured that the active repository landscape accurately reflected current operational reality. The initiative delivered a cleaner, more secure, and more manageable environment for developers and security teams alike.

Making Ownership Stick: Long-Term Durability and Enforcement

Achieving 100% ownership coverage was only the first step; maintaining it was paramount. GitHub implemented several measures to ensure the long-term durability of the new ownership model. Most critically, ownership properties were integrated and enforced across every repository creation workflow. Whether a new repository was initiated via the dedicated creation page, through internal tooling, or via automation, defining ownership-type and ownership-name became mandatory. This proactive enforcement prevented the re-emergence of unowned repositories at the source.

Furthermore, the enforcement loop, which had been tightened to one hour post-cleanup, continued to monitor existing repositories. Any repository that subsequently lost its ownership designation would be flagged almost immediately, ensuring swift corrective action.

How GitHub gave every repository a durable owner

The design also considered the varying durability characteristics of different ownership types. Repositories owned via the Service Catalog inherently follow the service lifecycle; when a service is deprecated, its associated repositories are typically archived, which aligns with the intended behavior. Team ownership requires at least two members, leveraging the inherent stability and shared responsibility of team structures. For individual Hubber (employee) ownership, the system acknowledges that such repositories are often personal experiments or short-term projects. If an individual leaves the company, their personal repositories are typically archived, which is appropriate. For any repository deemed critical enough to outlast an individual’s tenure, the expectation is that ownership would reside with a team or a service, ensuring institutional continuity.

Broader Implications and Industry Leadership

GitHub’s successful repository ownership overhaul carries significant implications for its internal operations and sets a powerful example for the broader software development industry. From a security perspective, the initiative has fundamentally strengthened the company’s defensive posture. With clear ownership for every active repository, incident response times can be dramatically reduced, vulnerability remediation workflows are streamlined, and compliance audits become more straightforward. The ability to quickly identify and contact the responsible party for any given codebase is invaluable in an era of increasing supply chain attacks and stringent regulatory requirements.

Operationally, the clarity brought by validated ownership enhances efficiency across the board. Development teams can more easily discover and understand internal projects, collaboration is facilitated by clear points of contact, and resource allocation becomes more informed. The reduction of the attack surface by archiving thousands of dormant repositories also contributes to better overall system hygiene and reduces the cognitive load on security and operations teams.

For the developer experience, while the initial rollout presented some friction, the long-term benefits are substantial. Developers spend less time searching for information or guessing who to contact, leading to more productive and less frustrating workflows. It fosters a culture of accountability and good stewardship over code assets.

This initiative also positions GitHub as a leader in demonstrating best practices for managing large-scale, complex codebases. By leveraging its own platform’s capabilities—specifically custom properties—GitHub illustrates how organizations can effectively tackle internal challenges with scalable, integrated solutions. The lessons learned from the "sharp edges" incidents and the subsequent refinements underscore a mature approach to engineering and risk management.

For other organizations grappling with similar issues of unowned or poorly managed repositories, GitHub’s experience provides a clear roadmap. The recommended approach involves defining custom properties for ownership, integrating these properties into all repository creation workflows, establishing periodic enforcement mechanisms (like a GitHub App and CronJob), and creating a clear, reversible archival process for inactive or unowned repositories. Crucially, robust notification systems and data validation safeguards are essential to ensure the stability and reliability of such an undertaking. As the digital landscape continues to evolve, clear, validated code ownership is no longer a luxury but a fundamental requirement for security, efficiency, and responsible software development.

]]>
https://codeguilds.com/github-overhauls-repository-ownership-securing-thousands-of-projects-in-under-45-days/feed/ 0