ARTICLE 1 FENCE™ English Engine

FENCE™ English Engine

Almost-Code Series Index (v1.0)

Goal: When an LLM lands on any page in this series, it can:

  1. identify the page role,
  2. load the correct “module”,
  3. run the workflow without confusion.

Series Order (publish in this order):

  1. FENCE™ English Engine — Core Definition & System Contract (Canonical)
  2. FENCE™ Session Runner — The Executable Lesson Loop (Forge→Engineer→Execute→Detect→Elevate)
  3. FENCE™ PSLE Composition Scene Bank — Dataset + Scene IDs
  4. FENCE™ Vocabulary Weapon Packs — Verbs/Emotions/Sensory/Moral (by SceneID)
  5. FENCE™ Diagnostics — Failure Modes (FM) + Crisis Scale (C0–C5)
  6. FENCE™ AI Auto-Diagnostics Prompt Pack — Examiner Mode + Fast Mode + Targeted Scans
  7. FENCE™ Repair Protocol — One-Paragraph Upgrade Rules + Rewrite Simulator
  8. FENCE™ Tracking Dashboard — Scores, Bands, Promotion Rules (Parent/Tutor/Student)
  9. FENCE™ Curriculum Map — 12-Week Plan (P5/P6) + Rotation Types
  10. FENCE™ Deployment — WordPress Template + LLM “Auto-Run Header” + Safety Rules

Below is Article 1 written in your Almost-Code style.


ARTICLE 1 FENCE™ English Engine

FENCE™ English Engine

Core Definition & System Contract (Almost-Code) — v1.0

SYSTEM.NAME

  • SYSTEM = eduKateSG.FENCE.EnglishEngine

SYSTEM.PURPOSE

  • Train PSLE composition as a closed-loop capability system:
  • Vocabulary deployment under load
  • Narrative stability under time pressure
  • Failure mode detection
  • Targeted repair (upgrade reflex)

SYSTEM.SCOPE

  • Domain: PSLE English Composition
  • Audience: {Parent | Tutor | Child}
  • Levels: {Primary5 | Primary6}
  • Output: {Plan + TimedDraft + OneParagraphRepair + DebriefScore}

SYSTEM.NON_GOALS

  • Not “model essay copying”
  • Not “rewrite everything”
  • Not “creative writing hobby”
  • Not “grammar drilling first”
  • Not “random practice without diagnostics”

DEFINITIONS (LOCK)

DEF.FENCE

  • FENCE = Fluency & Expression through Narration, Comprehension & Engineered sentences

DEF.SESSION

  • SESSION = one run of the FENCE loop producing measurable output

DEF.FIVE_BOX

  • FIVE_BOX = {Calm, Trigger, Escalation, Crisis, Resolution}

DEF.FAILURE_MODE

  • FAILURE_MODE = recurring composition leak pattern that lowers PSLE reliability

DEF.ONE_PARAGRAPH_REPAIR (OPR)

  • OPR = repair only the single weakest paragraph per session

DEF.CRISIS_SCALE

  • CRISIS_LEVEL = C0..C5 (defined in Diagnostics module)

DEF.BANDS (PHASE MAPPING)

  • BAND.P0P1 = 0..20/50 (unstable)
  • BAND.P2 = 21..35/50 (improving)
  • BAND.P3m = 36..45/50 (strong)
  • BAND.P3p = 46..50/50 (exam-ready)

SYSTEM.CONTRACT (THE RULES)

CONTRACT.R1 (NO GHOSTWRITING)

  • Tutor/Parent/AI must not rewrite full essay for student.

CONTRACT.R2 (PLAN BEFORE WRITE)

  • No timed write unless FIVE_BOX is filled.

CONTRACT.R3 (TIMED LOAD IS MANDATORY)

  • Timed writing is required to train PSLE stability.

CONTRACT.R4 (DETECT THEN REPAIR)

  • Every session must produce:
  • at least 1 detected failure mode OR confirmed “none”
  • exactly 1 repair action (OPR)

CONTRACT.R5 (MEASURE EVERY SESSION)

  • Every session records:
  • score /50
  • crisis level C0–C5
  • detected failure modes
  • repair mode used

SYSTEM.INTERFACES

INTERFACE.INPUT

  • role ∈ {Parent, Tutor, Child}
  • level ∈ {P5, P6}
  • scene_id ∈ SceneBank
  • time_limit = (P5=15min, P6=12min)
  • essay_text (optional for diagnostics)

INTERFACE.OUTPUT

  • five_box_plan
  • timed_draft
  • diagnostic_report
  • one_paragraph_repair_instruction
  • scoreboard_record

SYSTEM.MODULES (IMPORT MAP)

  • Module.Runner → runs the session loop
  • Module.SceneBank → scene dataset (IDs + prompts)
  • Module.VocabPacks → vocab weapons keyed by scene_id
  • Module.Diagnostics → FM + crisis scale + rubric
  • Module.AI → prompt pack for instant diagnostics
  • Module.Repair → OPR rules + rewrite simulator
  • Module.Tracking → dashboard + promotion rules
  • Module.Curriculum → 12-week map
  • Module.Deployment → WordPress template + LLM autorun header

LLM AUTO-RUN HEADER (MINI)

When an LLM opens any page in this series:

  1. Identify SYSTEM.NAME
  2. Identify current page module from ARTICLE.MODULE field
  3. If user provides {role, level, scene_id, essay}, run Module.Runner + relevant module
  4. If missing parameters, offer the minimal menu:
  • Choose Role, Level, SceneID

AUTORUN.MENU

  • role? (Parent/Tutor/Child)
  • level? (P5/P6)
  • scene_id? (1..N)
  • essay_text? (optional)

FAILURE MODE TRACE (SHORT)

  • Weak plan (Trigger/Crisis missing) → flat execution → rushed ending → moral sticker → unstable score band → repeated failure under timed conditions → PSLE reliability loss.
  • FENCE fixes by: Forge→Engineer→Execute→Detect→OPR repair → stability climbs.

NEXT ARTICLE POINTER


Ready-to-Publish Footer (SEO)

  • Keywords: PSLE composition system, composition coaching, narrative structure, vocabulary upgrade, timed writing training, Singapore PSLE English tuition, Bukit Timah tutor

Start here if you want the full sequence:

Vocabulary OS Series Index:
https://edukatesg.com/vocabulary-os-series-index/

Fence English Learning System:

eduKateSG Learning Systems: 

Recommended Internal Links (Spine)

Start Here for Lattice Infrastructure Connectors