Milestone / Achievement Tracker #12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-02T23:09:52Z - https://github.com/coilysiren/eco-mcp-app/issues/13
Task 4 — Milestone / Achievement Tracker
Prereq: read
todo/README.mdfirst.Goal
Build an MCP tool
get_eco_milestonesrendering an iframe card of server achievement progress.Data source
GET http://eco.coilysiren.me:3001/info(public, no auth).The field
ServerAchievementsDictis an object mapping achievement name → an HTML-ish string, e.g.:There are ~5 achievements on the current cycle.
/infoalso exposesTotalCultureas a top-level number (use this directly; do not re-derive from the achievement string).Task
250).57.6).<style=...>,<icon name=... type=...>,<color=...>, closing</style>,</icon>,</color>. Use a regex pass:re.sub(r"</?(style|icon|color)(\s[^>]*)?>", "", s)."Cultural Awakening: 57.6 / 250 Culture (23%)".TotalCulturefrom/infoas a top-line stat above the ladder.Implementation notes
src/eco_mcp_app/server.py.src/eco_mcp_app/templates/partials/(note:templates/, per README).Out of scope
TotalCultureinside this card and inside task 2's Economic Dashboard card. Pick one top-line location. If task 2 is already live, suppress it here (readtemplates/partials/*.htmlfirst to check).Acceptance
/infopayload without crashing on any string.inv smokepasses.