openspec/templates/design.md
Goals:
Non-Goals:
┌─────────────────────────────────────────────────────────┐
│ Component Overview │
├─────────────────────────────────────────────────────────┤
│ │
│ ┌────────────┐ ┌────────────┐ │
│ │ Component │ │ Component │ │
│ │ A │─────▶│ B │ │
│ └────────────┘ └────────────┘ │
│ │
└─────────────────────────────────────────────────────────┘
Context:
<!-- What is the issue or decision point -->Options Considered:
| Option | Pros | Cons |
|---|---|---|
| Option A | <!-- pros --> | <!-- cons --> |
| Option B | <!-- pros --> | <!-- cons --> |
Decision:
<!-- Which option was chosen and why -->Consequences:
<!-- What this decision enables or prevents -->ClassNamepublic class ClassName {
// Fields
private Type field;
// Public API
public ReturnType method(ParamType param);
// Internal methods
private void internalMethod();
}
ExistingClassNameFilter Chain Flow:
Request → Filter1 → Filter2 → ... → Target → Response
| Property | Type | Default | Description |
|---|---|---|---|
druid.new.property | int | 100 | Description |
| Attribute | Type | Description |
|---|---|---|
AttributeName | long | Description |
| Risk | Mitigation |
|---|---|
| <!-- risk --> | <!-- mitigation --> |
| Trade-off | Reason |
|---|---|
| <!-- trade-off --> | <!-- reason --> |