Skip to main content

Idiomark Enhancement Proposals (PEPs)

Idiomark Enhancement Proposals (PEPs) are design documents that extend the core Idiomark for specific use cases, domains, or communities. Each PEP maintains backwards compatibility with the core specification while adding specialized features.

What is a PEP?​

A PEP is:

  • ✅ An extension of the core Idiomark
  • ✅ Backwards-compatible with Idiomark v1.0+
  • ✅ Independently versioned from the core spec
  • ✅ Community-driven and open for proposals

A PEP is not:

  • ❌ A replacement for the core protocol
  • ❌ A breaking change to Idiomark
  • ❌ A proprietary or closed specification

Active PEPs​

Standards Track​

These PEPs define new features and extensions to the protocol:

PEPTitleStatusDescription
PEP-0Idiomark-FunFinalViral personality minting tool for GitHub/Twitter
PEP-1IdiomarkDActiveDevelopment extension (coding style, workflow, tools)
PEP-2IdiomarkHDraftHealthcare extension (patient communication, health literacy)
PEP-3IdiomarkADraftAnalytics extension (temporal tracking, comparative metrics)

Informational​

These PEPs provide guidelines and best practices:

PEPTitleStatusDescription
TBDBest Practices-Guidelines for Idiomark implementation
TBDSecurity Guide-Security considerations for Idiomark tools

PEP Status Definitions​

StatusMeaning
DraftWork in progress, not ready for production
ReviewComplete proposal seeking community feedback
FinalAccepted and finalized specification
ActiveFinal + actively maintained reference implementation
WithdrawnAuthor withdrew the proposal
RejectedCommunity rejected the proposal

How to Use PEPs​

For Users​

Choose PEPs based on your use case:

  • 🎮 Building a viral tool? → Use PEP-0 (Idiomark-Fun)
  • 💻 Developer-focused app? → Use PEP-1 (IdiomarkD)
  • 🏥 Healthcare application? → Use PEP-2 (IdiomarkH) [Draft]
  • 📊 Analytics platform? → Use PEP-3 (IdiomarkA) [Draft]

PEPs are modular - you can combine multiple PEPs in a single profile:

{
"idiomark": "1.0.0",
"personality": {
/* core Idiomark fields */
},
"extensions": {
"idiomarkd": {
/* development traits */
},
"idiomarka": {
/* analytics metadata */
}
}
}

For Developers​

Implementing PEP support:

  1. Start with core Idiomark - Implement Idiomark v1.0 first
  2. Add PEP extensions - Parse extensions.<pep-name> fields
  3. Graceful degradation - Ignore unknown PEPs
  4. Validate schemas - Use PEP-specific validators

Example:

import { validateIdiomark } from "@idiomark/validator";
import { validateIdiomarkD } from "@idiomark/idiomarkd";

const profile = JSON.parse(idiomarkFile);

// Validate core Idiomark
if (!validateIdiomark(profile)) {
throw new Error("Invalid Idiomark profile");
}

// Validate IdiomarkD extension (if present)
if (profile.extensions?.idiomarkd) {
if (!validateIdiomarkD(profile.extensions.idiomarkd)) {
console.warn("Invalid IdiomarkD extension, ignoring");
delete profile.extensions.idiomarkd;
}
}

Proposing a New PEP​

Have an idea for a Idiomark extension? Here's how to propose it:

1. Check Existing PEPs​

Review the active PEPs to avoid duplication.

2. Use the Template​

Start with the PEP template to structure your proposal.

3. Draft Your PEP​

Include:

  • Abstract - What problem does this solve?
  • Specification - Technical details and schema
  • Rationale - Why this approach?
  • Backwards Compatibility - How does it interact with core Idiomark?
  • Reference Implementation - Working code demonstrating the extension

4. Submit for Review​

Open a pull request in the Idiomark repository with your PEP draft.

5. Community Feedback​

Engage with feedback, iterate on your proposal, and address concerns.

6. Final Approval​

Once consensus is reached, your PEP moves to Final status.

PEP Governance​

Who Can Propose a PEP?​

Anyone! PEPs are community-driven. If you have a use case that the core protocol doesn't address, propose an extension.

Who Approves PEPs?​

The Idiomark Core Team reviews proposals with input from the community. Approval criteria:

  • ✅ Solves a real problem
  • ✅ Maintains backwards compatibility
  • ✅ Has a reference implementation (or clear path to one)
  • ✅ Doesn't duplicate existing PEPs
  • ✅ Follows Idiomark design principles

Can PEPs Be Rejected?​

Yes. Common rejection reasons:

  • ❌ Breaks backwards compatibility
  • ❌ Too narrow/specific (better as a tool, not a PEP)
  • ❌ Duplicates existing functionality
  • ❌ Lacks community support
  • ❌ Security/privacy concerns

Design Principles for PEPs​

All PEPs should follow these principles:

1. Backwards Compatible​

PEPs must not break existing Idiomark implementations. Tools that don't support a PEP should be able to:

  • Parse the core Idiomark fields
  • Ignore the PEP extension gracefully
  • Function without the PEP data

2. Namespaced​

PEPs live in the extensions field with a unique namespace:

{
"extensions": {
"idiomarkd": {
/* PEP-1 data */
},
"idiomarkh": {
/* PEP-2 data */
}
}
}

3. Versioned Independently​

Each PEP has its own version, independent of core Idiomark:

{
"idiomark": "1.0.0",
"extensions": {
"idiomarkd": {
"version": "1.2.0" // ← PEP-specific version
}
}
}

4. Declare Requirements​

PEPs must declare which core Idiomark version(s) they require:

---
pep: 1
requires: Idiomark v1.0+
---

5. Privacy-Conscious​

PEPs should:

  • Minimize sensitive data collection
  • Support opt-in/opt-out
  • Enable data portability
  • Document privacy implications

Frequently Asked Questions​

Q: Can I use multiple PEPs together?​

A: Yes! PEPs are designed to be composable. A single profile can include multiple extensions.

Q: What if two PEPs conflict?​

A: PEPs should be designed to avoid conflicts. If conflicts arise, the PEP governance process will resolve them.

Q: Can I create a private PEP for my company?​

A: Yes, but it won't be an "official" PEP. You can use the extensions field with your own namespace (e.g., extensions.acme-corp).

Q: How do I know which PEPs a tool supports?​

A: Tools should document their PEP support. Look for badges like:

  • ✅ Supports Idiomark v1.0
  • ✅ Supports PEP-1 (IdiomarkD)
  • ⚠️ Partial support for PEP-3 (IdiomarkA)

Q: Can a PEP become part of the core protocol?​

A: Yes! If a PEP gains widespread adoption, it may be promoted to the core spec in a future major version (e.g., Idiomark v2.0).

Get Involved​

  • 💬 Discuss PEPs - Join the Idiomark Discord
  • 📝 Propose a PEP - Open a PR with your proposal
  • 🐛 Report Issues - File bugs on existing PEPs
  • ⭐ Star on GitHub - Show your support

Last Updated: 2026-02-14
Maintainers: Idiomark Core Team