Files
yoloyolo/.planning/phases/10-classification-layer/10-DISCUSSION-LOG.md
T

48 lines
2.2 KiB
Markdown
Raw Normal View History

2026-03-27 15:36:08 +01:00
# Phase 10: Classification Layer - Discussion Log
> **Audit trail only.** Do not use as input to planning, research, or execution agents.
> Decisions are captured in CONTEXT.md — this log preserves the alternatives considered.
**Date:** 2026-03-27
**Phase:** 10-classification-layer
**Areas discussed:** PROTO-08 frequency gap, Plain vs TLS port handling
---
## PROTO-08 Frequency Gap
| Option | Description | Selected |
|--------|-------------|----------|
| Auto-assign range (Recommended) | Let autoAssignFreq handle them (FNV hash in [2500, 4000] Hz). Built-in constants + rules, but frequencies behave like user-defined classes. Simplest, no table redesign. | ✓ |
| Extend the table | Add 3 more slots above SIP at 2449 Hz. Proper built-in ClassFreqConfigs entries. Pushes into auto-assign territory, requires range shift. | |
| Squeeze into Infrastructure band | Insert 3 slots between existing Infrastructure entries (65-133 Hz). Most musically coherent but touches Phase 9's locked design. | |
**User's choice:** Auto-assign range (Recommended)
**Notes:** LDAP, Kerberos, Syslog get TrafficClass constants and rules but their Hz values come from autoAssignFreq rather than designed table slots. No Phase 9 table redesign needed.
---
## Plain vs TLS Port Handling
| Option | Description | Selected |
|--------|-------------|----------|
| Same class (Recommended) | IMAP 143 and IMAPS 993 both classify as ClassIMAP. Simpler, fewer classes. Exception: keep SMTP/SMTP-sub separate per Phase 9 design. | ✓ |
| Separate classes | IMAP and IMAPS are distinct TrafficClasses with distinct sounds. More granular but doubles class count and needs more frequency slots. | |
| Same class, no SMTP exception | Merge everything including SMTP + SMTP-sub into single ClassSMTP. Wastes Phase 9 SMTP-sub slot at 305 Hz. | |
**User's choice:** Same class (Recommended)
**Notes:** Plain/TLS variants share one class. SMTP (25) and SMTP-submission (587) remain separate because Phase 9 designed distinct frequency slots for them.
---
## Claude's Discretion
- Rule ordering within specific-port section
- Test structure for new protocols
- How to update TestAllClassesCount
- Whether to group rules by family with comments
## Deferred Ideas
None — discussion stayed within phase scope.