The name "OuroborosDB" is derived from the ancient symbol "Ouroboros," a representation of cyclical events, continuity, and endless return. Historically, it's been a potent symbol across various cultures, signifying the eternal cycle of life, death, and rebirth. In the context of this database, the Ouroboros symbolizes the perpetual preservation and renewal of data. While the traditional Ouroboros depicts a serpent consuming its tail, our version deviates, hinting at both reverence for historical cycles and the importance of continuous adaptation in the face of change.
To indicate the correctness and safety of the logic of functions, the following annotations are used in comments directly after the function definitions, at the same line as func (See examples below):
// A- Function and was written by AI and was not reviewed by a human.// AP- Function was written by AI and was reviewed but the human has found a potential issue which the human marked with a// TODOcomment.// AC- Function was written by AI and was reviewed and approved by a human that has medium confidence in the correctness and safety of the logic.// H- Function was written by a human// HP- Function was written by a human but the human has found a potential issue which the human marked with a// TODOcomment.// HC- A human comprehended the logic of th function in all its dimensions and is confident about its correctness and safety.
If the function has a higher risk profile (e.g., involves complex algorithms, security-sensitive operations, or critical data handling), a P prefix is added for Priority:
All P function must be brought to PHC status before a production release.
We add the indicators directly after the function declaration, although it is normally not common practice in Go, because it makes it easier to see the status of the function for most editors as they show use sticky function declaration.
It is negotiable that AI generated functions must be generated with an // A or // AP annotation after the function declaration func exampleFunction() { // A.
Examples:
// This function does X, Y, and Z.
func exampleFunction() { // A
// Function is low risk and was written by AI and not reviewed by a human.
}
// This function does X, Y, and Z.
func exampleFunction() { // HC
// Function is low risk and was comprehended by a human who is confident about its correctness and safety.
}
// This function performs critical operations X, Y, and Z has some funky stuff going on.
func criticalFunction() { // PAP
// Function is high risk and was comprehended by a human who is confident about its correctness and safety.
}
// This function performs critical operations X, Y, and Z.
func criticalFunction() { // PHC
// Function is high risk and was comprehended by a human who is confident about its correctness and safety.
}
// If a function has multiline parameters, the annotation goes at the same line as func
func manyParametersFunction( // AC
param1 string,
param2 int,
param3 []byte
) error {
// function has many parameters, was written by AI and reviewed and approved by a human.
return nil
}All logging in this repository should use the pkg/clusterlog package. This ensures logs are recorded in the cluster-wide log, emitted to the configured slog.Logger, and delivered to subscribers via the Carrier transport where applicable.
Exceptions: an exception is allowed only when using pkg/clusterlog would create or risk a subscription loop (circular subscriptions) that could cause self-delivery or unbounded propagation. In such cases, document the justification with a clear // LOGGER referencing the potential subscription loop.
ouroboros-db © 2026 Mia Heidenstedt and contributors
SPDX-License-Identifier: AGPL-3.0