A clock can tell you the time without knowing what time is.
That is an ordinary enough observation to escape notice. A clock is a mechanism: stored energy is released through a regulated movement, gears transmit that movement, and hands travel around a dial. The clockmaker has arranged the parts so that certain physical changes correspond to the passage of time. The person looking at the face supplies the interpretation. Twelve has a meaning to the person who can read it. It has no special meaning to the spring.
Now imagine a clockmaker whose creation is unusually forthcoming. The clock can provide a drawing of its movement and identify which wheels engage which others. It can report the rate of its escapement, the positions of its hands, perhaps even the condition of a bearing. It can distinguish a measured value from a design specification and admit when a component lies outside its ability to inspect.
This would be a remarkable clock. It would save its maker a great deal of work. But one question remains unanswered.
What if the clock could look at its own face?
It might associate the position of its hands with the position of its gears. It could tell you that a particular state of the mechanism corresponds to the hand being adjacent to the numeral twelve. It might even have a complete formal description of the mapping. None of that, by itself, tells it why a human calls that arrangement noon, why people agree to meet at that hour, or why the clock was made to indicate time rather than the number of turns of a spring.
There is no defect in the mechanism. The missing information is not another hidden gear. It is the relationship between a representation and the world in which somebody uses it.
I have been thinking about this distinction while working on software that describes its own structure to other software, particularly AI agents. The immediate engineering problem is familiar: a tool needs to know what a program contains, what it can do, and what relationships its components have. Much of this is available somewhere, although often in different forms and at different stages of execution. The more difficult problem is deciding what those descriptions actually establish.
That investigation led me backward, to an operating system built for Lisp machines and a set of questions that programming-language researchers have been asking for decades.
A computer you could look inside
LaurieWired's video, The LEAST Private Operating System Ever Created, is a wonderful introduction to Symbolics Genera, an operating environment built for specialized Lisp machines. It is also one of the immediate sources of inspiration for my work on Reflective Rust.
The title refers to an unfamiliar kind of openness: a development environment in which much of the system could be examined from within the same environment in which it ran. Genera brought editing, debugging, browsing, inspection, and execution into close contact. A developer was not always reduced to viewing an inert source file on one side and a mysterious executable on the other. Parts of the running system remained available as objects and definitions that its own tools could inspect.
LaurieWired does an excellent job presenting that history visually. Her video also connects the older environment to modern questions about reflection in languages such as C++ and Rust. Her project CallMeMaybe, which uses emerging C++ compile-time reflection facilities to construct selected runtime metadata and operations, makes the connection concrete. I would recommend watching the video for the history alone.
What interested me was not nostalgia for a Lisp machine. It was the assumption beneath its design: that the structure of a running system could remain a first-class concern of the environment that operated it.
Modern development tends to break that relationship into artifacts. We have source files, build output, executables, debug symbols, API specifications, runtime logs, diagrams, and documentation. Each contains a portion of the account. They have different owners, update schedules, and limitations. Sometimes they agree. Sometimes a change to one leaves another behind.
This division is not necessarily a mistake. Source representations and optimized binaries serve different purposes. A production service should not expose all of its internal state merely because a debugger would find it convenient. Some information is expensive to retain. Some is private, sensitive, or meaningful only while a compiler performs an analysis.
But the division does have consequences. We routinely ask new tools to reconstruct relationships that an earlier tool already established.
A compiler resolves which declaration a call refers to. Later, a documentation generator or an agent may parse the source again to find the same relationship. A service knows which operations it actually registered. Later, somebody writes a separate tool manifest that may or may not match the service. An application knows the permissions attached to a particular account. Later, a client tries to infer them from whether a button happens to be visible.
We have made it normal for software to lose contact with the explanations of its own behavior, then require another system to infer them.
Genera suggests that this is not the only possible arrangement. But the history of reflection also explains why a simple return to a fully inspectable machine is neither possible nor desirable.
The difference between a program and its description
Lisp was a fertile environment for early work because programs could be represented and manipulated as structured data. Its symbolic expressions made the construction and transformation of code natural. This is related to what is commonly called homoiconicity, although it is not the same thing as reflection.
A macro that transforms code is not necessarily inspecting a program's resolved meaning. A parser can tell that a function has a particular spelling without knowing which function a call will select. An interpreter can execute an expression without giving that expression a way to examine the evaluator responsible for running it.
These distinctions are not new. They were part of the original research problem.
In his 1982 dissertation, Procedural Reflection in Programming Languages, Brian Cantwell Smith investigated what happens when aspects of a computational process are themselves available as representations within that process. His work with reflective interpreters and 3-Lisp raised a question considerably deeper than whether an object can list its methods. Could computation interact with a representation of its own interpretive machinery, and what relationship must hold between the two for that interaction to have consequence?
Consider two descriptions of a machine. One is a drawing filed in the clockmaker's cabinet. The other is a measuring instrument mechanically coupled to the clock's movement. Both may describe the gears. But they do not have the same relationship to what is happening. The drawing can remain unchanged while a spring breaks. The instrument may register a change, but only within what it is designed to measure.
A representation of a program is similarly not identical to a representation causally connected to its execution. The difference matters when a system attempts to inspect or alter its own behavior.
Smalltalk developed another side of the idea. In the Smalltalk-80 environment, classes and methods were objects that could be browsed and changed in a living object system. Development tools and running software shared a more immediate relationship than the familiar edit-build-restart process. That didn't settle the philosophical problem of meaning, but it demonstrated the productivity of keeping program structure accessible during development.
By 1991, Gregor Kiczales, Jim des Rivières, and Daniel G. Bobrow had published The Art of the Metaobject Protocol. The work on the Common Lisp Object System asked how selected language mechanisms could be represented through an explicit protocol. Instead of granting arbitrary access to whatever happened to be inside the runtime, a metaobject protocol defined particular points of inspection and extension.
Here a second problem came into focus. Suppose the clockmaker can alter every part of the mechanism at any moment. That freedom may be powerful, but it also makes the clock's behavior difficult to predict. A carefully designed set of adjustments offers less freedom and more dependable behavior.
Software reflection faces the same tradeoff. A mechanism that exposes a meaningful part of a program is useful. A mechanism that quietly bypasses every invariant may defeat the reason that program was constructed in the first place.
Reflection continued to develop through languages with runtime metadata, compile-time metaprogramming, interactive object environments, and different forms of introspection. Java and C# exposed rich runtime facilities. Other languages explored different compile-time arrangements. Reflection did not disappear after the Lisp machines. The languages simply disagreed, often for good reasons, about what should be inspectable, when it should be inspectable, and what inspection should permit.
That history points toward a question more precise than whether a machine can know itself.
Which facts about a machine can a particular mechanism establish, and how does another party know what those facts mean?
The clock face is not another gear
Before turning to compilers, I want to stay with the clock a little longer, because it exposes a mistake that is easy to make when talking about intelligent software.
A clock's visible face is a representation. Its hands move according to the internal mechanism, and we interpret their positions using conventions about hours, minutes, numerals, and the organization of our lives. The mechanism gives the representation a dependable physical basis. It does not supply the entirety of its meaning.
Suppose the clock has an internal camera. It can see its own hands. Suppose it also has sensors reporting the position of every gear and an exact mathematical model of how those positions determine what appears on the face. It can now answer a question like, "Which gear configuration produces this image?"
That is real knowledge about a relationship. It is not yet an answer to "What is time?"
It also doesn't automatically tell the clock what its maker intended. The same regulated movement could drive a dial that counts revolutions, a musical mechanism, or a display calibrated according to a different convention. The physical relations constrain what the device can do. They do not select one interpretation from every possible one.
We can make the issue sharper. If the clockmaker changes the dial so that the same hand position is labeled with a different symbol, the gear train may continue operating without any mechanical difference. The clock's construction remains the same while the interpretation of its face changes. If the maker designs a new dial for a different audience, the physical device may take on a different role while much of its mechanism remains unchanged.
This is not an argument that meanings are arbitrary in the sense that anything can mean anything. The dial has to be calibrated to a real process if it is going to serve as a reliable timepiece. Physical behavior constrains interpretations. Shared conventions, experience, use, and correction give those interpretations their practical force. But the meaning is not recoverable simply by cataloging the metal parts.
Questions about signals and symbols make this distinction familiar in other fields. In the history of ape-language research, investigators did not merely ask whether an animal could make a recognizable sign. They asked what its use of signs established about reference, learning, generalization, and understanding. Those conclusions remain debated, and the abilities and experimental conditions of different animals cannot be collapsed into a single verdict. The relevant analogy is the distinction between producing an observable symbol and demonstrating a particular understanding of it.
The problem becomes even clearer when we imagine receiving a signal from somewhere beyond Earth. We might discover repetition, mathematical structure, or regularities unlikely to arise by chance. That could be substantial evidence about the signal's organization, perhaps even about its deliberate construction. But recognizing a pattern is not the same as knowing its referent. Without sufficiently shared context or a way to ground symbols in observations, a very orderly message may remain difficult or impossible to interpret. Sending a message presents the inverse problem: how do we make our intended references recoverable by someone who does not share our conventions?
The clock's face, an ape's learned sign, and an unfamiliar signal from space are not identical phenomena. They have different mechanisms and different evidentiary problems. But each demonstrates why we should be careful when moving from a pattern was produced to its meaning has been established.
This is the distinction I was missing in my initial framing of reflection.
A machine may have an accurate representation of its own internal structure. That does not mean it has a complete interpretation of its role in the world. Nor does the presence of a descriptor guarantee that another machine reading it understands the purpose behind it.
We can export structure. We can encode intended meanings in contracts. We can attach context, provenance, examples, tests, and constraints. We can establish useful agreement between a producer and a consumer. But we should not confuse a complete inventory of the mechanism with a complete account of its significance.
The distinction becomes especially important when we call those representations semantic.
What the compiler actually establishes
Take an ordinary Rust declaration:
struct Document {
title: String,
published: bool,
}
impl Document {
fn publish(&mut self) {
self.published = true;
}
}A Rust compiler can establish that the field exists, that its type is bool, that publish takes mutable access to a Document, and that the assignment in the body is permitted under the language's rules. In a larger program, the compiler also resolves names, checks trait obligations, verifies types, evaluates relevant constraints, and establishes relationships between declarations and uses.
That information is not simply text. It is the result of analysis governed by a language specification and an implementation. A compiler can often settle questions that a text search cannot.
But look at the method name: publish.
What does publication mean?
Perhaps published = true makes an article publicly visible. Perhaps the flag only indicates that a reviewer approved a draft. Perhaps the service has a separate job that later copies material to a public website. Perhaps publication requires a legal record, a payment, or permission from another actor.
The compiler can establish that a boolean field is assigned. It does not infer the social and operational meaning of publication from the word publish.
Even a perfect type graph would not answer every domain question. Its semantic facts are semantic within the programming language: what declaration a name denotes, which operation is well typed, whether a borrow is valid. Those are powerful facts, but they do not include the full purpose of the application.
It is tempting to say compilation throws away meaning. That is too blunt. The compiler converts and preserves information in forms appropriate to its tasks; generated code may embody relationships that no longer resemble their source representation. Some useful information is retained in debug metadata, symbol tables, generated descriptors, or tooling interfaces. Other details are optimized away or never published through a stable interface.
The result is that many consumers independently reconstruct parts of the same program. An IDE requests language information. Documentation tools parse source or consume metadata. Serializers maintain generated or handwritten mappings. An AI agent searches files and infers relationships. A runtime service publishes a capability specification that may have been maintained separately from the implementation.
There are legitimate reasons not to carry all compiler information into a binary. Privacy matters. Size and performance matter. Compiler internals change. Some facts depend on a compilation context that cannot be meaningfully transported elsewhere.
The opportunity is narrower and more useful: design explicit ways to preserve or project the facts that a particular consumer needs, with their origin and scope attached.
A compiler-derived fact, an extractor's best-supported conclusion, a developer's declaration, and a runtime observation are not interchangeable. The first may be established by the compiler's type rules. The second is limited by the extractor. The third expresses an intention or contract. The fourth describes an event or condition in some time window.
For a reader to use any of them correctly, it must know which kind of claim it has received.
The particular difficulty of Rust
Rust gives this problem an unusually sharp edge because it is designed to prevent entire classes of invalid programs from being expressed through ordinary safe interfaces.
Consider a proposed reflection API:
set_field(object, "published", true)It sounds convenient. But the field might be private. The caller may not have mutable access to the object. The type may enforce invariants through its public methods. A reflected value may contain references tied to lifetimes that cannot be safely ignored.
An unrestricted dynamic mutation facility could undermine the very guarantees for which the developer chose Rust.
Rust already supports important kinds of metaprogramming. Derive macros inspect syntactic declarations and generate code. Procedural macros transform token streams. Traits express contracts under the type system. Runtime facilities such as Any support limited type inspection under specific conditions.
What Rust does not provide as a general stable feature is an interface through which arbitrary code can query the compiler's full resolved semantic model and dynamically manipulate any program object by name.
This distinction is easy to blur when we say that a compiler "knows" something. Knowing it while type-checking is not the same as making it a supported query at compile time, and neither is the same as retaining it in the running process.
Modern C++ offers an illuminating comparison. The P2996 reflection proposal develops compile-time reflection over program entities. LaurieWired's CallMeMaybe demonstrates how selected compile-time information can be used to register runtime operations and metadata. Its documentation requires an experimental compiler configuration, currently GCC 16.1 with reflection enabled, and the registry deliberately limits which members it exposes.
The interesting idea is not unlimited introspection. It is selection. Use information available at one stage of a program's life to construct a well-defined interface for another stage.
Reflective Rust explores that question under Rust's particular rules. The research proposes compiler semantic handles, bounded compile-time operations, and an exchangeable Compiler Semantic Graph. The current repository implements schemas, runtime descriptor facilities, access projection, validation, canonical identity, and related protocol tools. It does not implement a rustc semantic extractor or a stable compiler reflection extension. The distinction is recorded in its implementation-status document.
I would rather have an accurate account of those limits than a proposal that presents itself as accomplished work. That preference is not separate from the architecture. It is part of the same design problem.
For the clock, being able to report "this spring's tension is not measured" is often more useful than inventing a value. For software, an explicit gap is sometimes the most important part of an interface.
When the interpreter is an agent
Suppose I ask an AI agent to add an approval step before an article can be published.
It searches the repository for publish, opens relevant files, follows imports, reads tests, and tries to find the callers it must update. This is normal development work, and text search is frequently the right first tool. The danger comes when the agent turns the result of a search into a claim stronger than the search supports.
Imagine a small Python program:
def publish(document):
...
handlers = {"release": publish}There is no direct publish(...) call in the dispatch-table assignment. The function is stored as a value, and another part of the program may invoke it through the table. A text search can find the name. A syntax-aware index may record a reference. But proving every future indirect call relationship is a different task.
An agent asks, "Who calls publish?"
One answer says, "Nobody."
Another says, "There are no resolved direct callers in the indexed code. This function is referenced through a dispatch table, and additional runtime call paths may exist."
The second answer is longer. It is also better evidence for a consequential edit.
This is one reason I built Reflective Index, a local code indexer for Python and Swift. Its graph records supported entities and relationships, and its MCP interface lets an agent ask for a symbol, its callers, or a bounded neighborhood of relevant structure. Python extraction uses the standard library. Supported Swift package analysis can use the compiler toolchain's index store.
The project is intentionally explicit about unresolved relationships. A call is linked only when its target can be established under the extractor's rules. Otherwise the result reports the gap. A reference used as a value is distinguished from an established call.
This is not equivalent to the Rust compiler's complete type analysis, and the index doesn't yet parse Rust. It is an extractor with specific coverage. Its graph uses a draft extension of Reflective Rust's CSG shape, rather than claiming that all of its facts were produced by a compiler.
Here the clockmaker's problem becomes practical. A drawing that says which gears definitely connect is useful. A drawing that leaves a questionable connection unmarked but tells you it has not inspected the connection is more useful than one that invents a linkage to look complete.
A tool's silence should not be mistaken for evidence that nothing exists.
But even this better source graph leaves something out. The agent may know exactly which code is responsible for the publish method and still not know what the business means by publication. It may need a product rule, a workflow definition, a legal requirement, or a decision record.
The code graph tells the agent where it should look. It does not eliminate the need to ask the right human or system what the change is supposed to accomplish.
What a running system says it can do
Now move the agent out of the repository and into the content-management system itself.
The agent is no longer trying to change the implementation. It needs to draft an article, attach an illustration, request approval, and perhaps publish the result.
The application may have an HTTP API, a command-line interface, an MCP server, an administrative panel, OpenAPI documentation, and several client-specific tool definitions. Those surfaces can drift apart. One advertises an operation that was renamed. Another exposes the old argument shape. A third shows a button only to administrators, but the backend may still need a separate authorization check.
The agent wants a dependable answer: "What can I do here?"
That sounds like a question about a program's structure. It is actually several questions.
What operations has the application implemented? What operations has this running instance registered? What operations are presently available? What operations is this caller permitted to invoke? And what does invoking any of them mean in the domain of the application?
These may produce different answers.
Reflective Rust keeps several representations apart. Its Compiler Semantic Graph (CSG) concerns source-level entities and their relationships. Its Runtime Semantic Projection (RSP) concerns explicitly exposed descriptors, capabilities, and observations. Its Operational Semantic Graph (OSG) concerns operational topology such as services, contracts, and dependencies. The current workspace has reference implementations of the runtime protocol and graph models, while real compiler extraction remains a proposal.
These are not three interchangeable views of one universal truth. They answer different questions and have different sources of evidence.
Hermit CMS, a Rust-based content-management system I am developing, is one intended consumer. Its engineering agent reports that the project uses Reflective Rust protocol descriptors to organize a common description of operations and to expose different projections to different clients. I have not independently inspected the current private implementation for this essay, so I treat that as an implementation report rather than verified conformance.
The example is straightforward. A drafting agent may receive a capability list that includes create_draft, edit_draft, and request_review. A publishing agent may receive those operations plus publish. The drafting agent doesn't need to guess which operation it should call, and it needn't see every capability the system possesses.
But this is where wording becomes important. The projected list is a description of the interface visible to a caller. It is not the mechanism that secures the publish endpoint. An unauthorized call must still fail at the server even if a client somehow knows the endpoint name.
And neither the existence of publish nor permission to invoke it tells us what publication means.
Imagine two content systems that both expose publish(document_id). In the first, it immediately makes a document public. In the second, it commits an immutable publication record and schedules distribution after a review window. An API client can successfully call both. Their signatures may match. Their consequences do not.
For an agent operating without human supervision, that distinction is not semantic decoration. It may be the difference between an appropriate routine action and a costly mistake.
The operation's name must be connected to a domain contract: what state transitions are intended, which conditions must hold, which events occur, what may be undone, and what obligations survive completion. Tests and documentation can then help establish whether the implementation behaves according to that contract.
Reflection makes the operation discoverable. A grounded contract gives the discovery significance.
A related problem appears in Peel, an archive utility with a Rust engine. The phrase "supports ZIP" hides many different questions. Can the engine recognize this variant? List its contents? Extract a single file? Verify its integrity? Handle this encryption method? Recover anything after corruption? What is safe under a given resource budget?
The Peel engineering agent reports an implemented peel reflect command that publishes an rr-rsp-0.1 capability index and can optionally sign it. The accessible public repository snapshot does not independently establish that current implementation, so the claim remains attributed to that agent. The architectural point is nevertheless useful: an engine's capability description can be narrower and more accurate than an application-wide promise in a document.
If the engine can declare that it supports inspection for one format but not recovery, an agent has a better basis for selecting an operation. Yet it still needs to interpret what "recovery" guarantees, what evidence a result provides, and which risks a caller is willing to accept.
The problem has moved from can the clock show its workings? to what does the clock's account mean to the person relying on it?
The difference between agreeing and understanding
A description becomes more valuable when other systems can consume it. It also becomes easier to misunderstand.
Consider a Rust service that emits a descriptor and a Swift application that receives it. Both may agree to use JSON and SHA-256 for content identity. That is not enough to guarantee they compute identical hashes. One serializer may include a field with null; another may omit it. Their key orders or number representations may differ. They can parse equivalent-looking documents but hash different bytes.
Canonicalization solves a particular part of this problem. RFC 8785 specifies a JSON Canonicalization Scheme, so compatible implementations can derive the same canonical byte sequence from the same permitted data. Then a digest of those bytes can establish whether the bytes agree.
In Semantic Core, an independent envelope implementation reproduces a Reflective Rust golden reference vector. The repository includes tests through Rust, a C interface, and Swift. One test deliberately distinguishes an omitted field from a field serialized as null before parsing normalizes it. That is exactly the kind of small discrepancy that can hide until two applications disagree about identity or signatures.
This is valuable engineering work. It does not establish that the applications agree about the meaning of every field.
Two programs may hash the same capability descriptor, verify its Ed25519 signature, and still attach different operational expectations to the action described. A signature can establish that specified bytes were signed by a key that the verifier accepts. It does not prove the claim is true, complete, current, or appropriate to act upon. A hash establishes byte identity under a specified method. It does not establish domain meaning.
We should also distinguish identity from origin. A stable content hash can tell us that a description hasn't changed. It doesn't identify the actor authorized to speak for the service unless a separate trust arrangement establishes that authority. And an authenticated description may be stale because the running implementation has changed.
In my other work, I keep returning to this boundary between evidence and what a decision is justified in concluding. The distinction applies here without needing to turn reflection into an all-purpose decision system.
There are at least four separate claims a consumer might need to establish: the structure of an object or operation, the current state of the thing described, the meaning of its declared contract, and the caller's authority to act. Each may require a different test or source of evidence.
The clockmaker can measure the spring, validate the gear ratio, inspect the hand position, and confirm that the dial follows an agreed convention. None of those checks substitutes for all the others.
The same problem in another language, and another kind of world
It is tempting to turn this into a requirement that every project adopt one reflection library. That would miss the point.
For rust-swift, a project exploring translation of a supported subset of Rust into Swift, a typed intermediate representation can be projected into Reflective Rust's CSG representation. The project imports Reflective Rust crates directly. This makes code structure exchangeable, but it doesn't mean that every property of Rust semantics has automatically been preserved in Swift. Translation requires explicit lowering rules and validation against the supported language subset. The source graph is evidence about an intermediate representation, not a license to assume complete semantic equivalence.
In blender-mcp-rs, a spatial graph extension describes kinds of scene objects such as meshes, cameras, sockets, and colliders. The repository contains the extension and a get_scene_csg tool. In the handler inspected for this essay, object nodes are generated from reported scene objects, while the richer model's relationships are not all populated. It is a useful experiment, not proof of a complete spatial ontology.
Here the clock analogy grows in an unexpected direction. An agent examining a Blender scene may be able to enumerate every mesh and transform, just as the clock can enumerate its gears. But a socket named HAND_GRIP means something because of a convention and workflow about what attaches there. A mesh named Door might be a door, a decoration, or a placeholder. An object's label does not by itself establish its intended use.
The same caution applies to software symbols. A function called authorize is not evidence that authorization is correct. A method called verify is not proof that the thing was verified. These names are instructions for interpretation, not independent validations of behavior.
A tool can extract those names accurately while misunderstanding their purpose perfectly.
I don't think the solution is to make every system share one enormous ontology. A scene, a content system, a compiler, and an archive engine have different objects and different constraints. What can be shared is a discipline about declaring the type of fact, its source, the contract that gives it meaning, and the limits of the producer's evidence.
That is more modest than a universal language of machine understanding. It is also more likely to work.
What should remain in documentation?
I have written before about the problem of living documentation. Generative tools need current context. If their instructions describe yesterday's application, they may confidently produce changes for a system that no longer exists.
Reflection can reduce part of that maintenance burden. A function signature should not have to be copied manually into five different documents. A capability shouldn't need five separately maintained lists. A compiler or extractor should not have to settle the same supported relationship repeatedly simply because another consumer has no access to its result.
But a living document does work that reflection cannot replace.
Why did the team choose one architecture over another? What assumptions were rejected? Why must publication require human approval? Why does a particular operation exist, and which consequences does it deliberately avoid? A type checker doesn't answer those questions merely by knowing the types.
The clock's gears may explain exactly how it advances its hands. They do not tell us why a railway station adopted a common time standard, why an astronomer wants a different measure, or why a family keeps a stopped clock on the mantelpiece.
The purposes belong to histories, institutions, relationships, and decisions outside the mechanism. They can be documented; some can be expressed in executable rules; some can be tested in practice. But they have to be grounded somewhere.
A good architecture should connect machine-established facts to those human-authored meanings without pretending they are the same category of evidence.
That also means making disagreement visible. Perhaps the generated API description says an operation is available, but the current service has disabled it. Perhaps documentation describes a review gate that no longer exists in code. Perhaps a capability is signed by a legitimate key but was produced by an older build. Or perhaps a type graph is up to date while its explanation of intended behavior is not.
A trustworthy system should not conceal those disagreements behind a single reassuring word such as "verified."
We need to say what was verified, by which mechanism, against which version or contract, and within what scope.
This is where reflection becomes more than convenience. It offers a way to connect certain descriptions to actual structures and operations, so that other systems have something specific to inspect and test. The relationship must still be maintained. It must still be checked. But it is better than relying on a document that has no defined connection to the thing it describes.
What the clock asks
The original attraction of Symbolics Genera was that the system could be inspected from within its own computational environment. The attraction remains. If a compiler has already established an important relationship, if a runtime can declare its real capabilities, or if a service can report its current state, other tools should not always have to begin with a guess.
But my understanding of the problem has changed as the work has expanded across projects.
At first, I was interested in what a machine could reveal about its own construction. That is a substantial engineering question. It leads directly to source graphs, runtime descriptors, compiler APIs, provenance, access boundaries, versioning, and conformance tests.
Then the clockmaker's analogy exposed the question underneath it.
The clock can report each wheel, the rate of its movement, and the position of its hands. It can compare the internal mechanism with what appears on the face. It may be able to say which measurements are direct and which have been inferred. These are useful capabilities, and we should take them seriously.
But if it asks its maker, "What are my hands pointing to?" the answer cannot be another inventory of gears.
The maker has to introduce a referent, a convention, and a reason for using the representation. The maker may explain hours and noon. The clock could then operate with that explanation, perhaps even test it against observations. It would still not have derived the meaning of time from its spring.
The exchange also works in reverse. A maker can describe a clock's intended behavior while overlooking a worn tooth or a failing bearing. The clock's measurements may reveal that the maker's description is wrong. Neither party's account should be accepted without regard to what it can actually establish.
That tension is what interests me about reflection in the age of agents.
A machine-readable description does not make a system conscious, wise, or correct. It does not abolish uncertainty. It does not transfer human purposes into compiler facts by naming a field purpose. And it does not authorize an agent to act simply because the agent understands the shape of an operation.
It can, however, make important facts inspectable, give those facts a source and a scope, expose the limits of the account, and provide a firmer basis for checking a claim before acting on it.
In the 1980s, a programmer could work inside an environment that retained unusually rich connections between the running system and the tools examining it. Today, we have systems that can read, modify, and operate other systems on our behalf. We should be asking what descriptions those systems deserve, and what would make the descriptions dependable.
The clockmaker may know why he built the clock. The clock may know something about its condition that its maker has missed. A person reading the dial knows what the hands are being used to say. Each possesses a different part of the account.
Perhaps that is the real problem: not teaching a machine to declare that it knows itself, but teaching our tools to distinguish what is established, what is interpreted, and what still requires an answer from somewhere else.
A clock can tell us what time it is.
That still leaves the clock's question to its maker:
Can you tell me what time is?
References and further reading
Historical work and language research
- LaurieWired, The LEAST Private Operating System Ever Created. A video on Symbolics Genera and the history and contemporary relevance of reflection; a direct source of inspiration for this essay. See also LaurieWired's channel.
- Brian Cantwell Smith (1982), Procedural Reflection in Programming Languages, doctoral dissertation, MIT.
- Adele Goldberg and David Robson (1983), Smalltalk-80: The Language and Its Implementation.
- Gregor Kiczales, Jim des Rivières, and Daniel G. Bobrow (1991), The Art of the Metaobject Protocol.
- P2996R13: Reflection for C++26.
- LaurieWired, CallMeMaybe, experimental C++ runtime reflection built on compile-time facilities.
- Rust Project Goals, Reflection and comptime.
- The Rust Reference and rustc Development Guide.
- RFC 8785: JSON Canonicalization Scheme.
Related research on meaning and communication
- Charles F. Hockett (1960), The Origin of Speech, Scientific American. A historical framework for distinguishing features of communication systems; not a resolution of debates over ape-language comprehension.
- Herbert S. Terrace, Laura-Ann Petitto, R. J. Sanders, and Thomas G. Bever (1979), Can an Ape Create a Sentence?, Science. A prominent contribution to contested research on learned signs and language in apes; conclusions should not be treated as representing the entire field.
- NASA, The Golden Record. A familiar example of the challenge of packaging human meaning for a recipient without shared cultural context.
Implementations and project evidence
- Reflective Rust, including its implementation-status record and foundational manuscript draft.
- Reflective Index, including draft CSG extensions.
- Semantic Core and reference-vector tests.
- rust-swift, including its dependency declarations.
- blender-mcp-rs, including its spatial graph implementation.
- Peel's accessible public repository. Current reflection-command behavior in this essay is attributed to its engineering agent rather than independently verified from this repository snapshot.
- Living Documentation.
Source-status note: Reflective Rust's compiler integration is research and proposal work; the existing repository implements runtime protocols, descriptors, schemas, validation, and graph utilities. The Hermit CMS and current Peel implementation details are attributed to their engineering agents because their current implementations were not independently inspected for this article. Neither a signature nor a schema-valid graph is represented here as proof of semantic truth or behavioral correctness.