Job
Pull one self-contained module out of a monolith behind a tested interface
One module of a monolith gets a documented interface that every caller uses, a contract test passing on the current code and on a separate copy, and a switch that selects which answers.
What you get
- The interface description and the contract test suite
- The changed callers and the separately running module as pull requests
- A map of what the module reads and writes, including database tables, with each access routed through the interface or listed as an exception
- Price
- From $1,950Final price agreed before we start
- You pay
- After the agreed checks pass and you sign off.
- Term
- One job
- How soon
- We set up the day after you ask and start work within three days.
No passwords, keys, card details or admin invites needed to start.
Price and terms in full
From $1,950 Final price agreed before we start
From $1,950 for one module within those limits. We read the module, its callers and its data access before a final fixed quote. Shared state, shared tables, dynamic call sites or no one to host the separate process lead to a separate decision or a stop.
- You pay
- After the agreed checks pass and you sign off. No advance payment.
- Includes
- One module of up to 15 files behind a documented interface; Up to 40 call sites moved and up to 25 contract tests; A separately running copy of the module passing the same tests, with a switch and a runbook
- Term
- One job
- Technology
- Monolith, Web applications, Automated tests
- Delivery
- Start window and delivery date agreed in writing after eligibility and access checks.
Nothing is charged or booked when you send your details. The written quote confirms the total price and any tax before you accept.
- Done means4 agreed checks, each with the evidence you keep
- It fits whenThe module has up to 15 files, an owner who can describe what it does and a test suite that exercises it or a list of behaviours you can…
- If it failsIf the agreed checks do not pass, you do not pay and you keep the interface, the tests and the map of accesses.

What usually happened
You might be seeing
- Changes to one area need a full-application release and a full regression run
- Other code reaches into the module's internals and tables, so nobody can change it safely
- An earlier attempt to split the application stalled because the boundary was never defined
Who it’s for: An engineering lead whose monolith has one part that changes often, scales differently or needs a different runtime, and who wants to separate that part without rewriting the rest.
The result: One agreed module is reachable only through a documented interface. A contract test suite passes against the module in its current place and against a separately running copy, a configuration switch chooses which one answers, and no code outside the module reads its internals or writes its tables.
When it starts, and why it happens
Usually starts when: One module forces the whole application to be released together, a team wants to own a part independently, or a part needs a newer runtime than the rest of the code can use.
A module inside a monolith is rarely as separate as its folder suggests. Other code calls its internal functions directly, reads its database tables and relies on shared state, so moving it out breaks callers nobody knew about. Extracting the module in one move, as a new service with a new database, replaces an invisible dependency with a network call and a data-ownership problem at the same time. The safer first move is to make the boundary real inside the monolith, prove it with tests, and only then run the module separately.
What you get
All 4 things you get
- The interface description and the contract test suite
- The changed callers and the separately running module as pull requests
- A map of what the module reads and writes, including database tables, with each access routed through the interface or listed as an exception
- A runbook for the switch and for switching back
Included
- One module of up to 15 source files whose behaviour can be described as a small set of operations, in an application with a runnable test suite
- A written interface for the module: its operations, inputs, outputs and errors, agreed with you before any code moves
Show 3 more
- Moving every caller, up to 40 call sites, onto that interface so that no code outside the module touches its internals
- A contract test suite of up to 25 cases, run against the module in the application
- A second implementation of the same interface running as a separate process that you can host, using the same database and the module's own tables (no data is moved or split), passing the same contract tests, with a configuration switch between the two
Not included
- Hosting, deploying or operating the separate module in production, which stay with your team
- Splitting the database into a separate one, or distributed transactions across the boundary
- Rewriting the module in another language, or adding features to it
Show 2 more
- Extracting more than one module, which is a separate job for each
- Changing how the rest of the application is built or deployed
How we know it’s done
Agreed with you before work starts. Each check produces evidence you keep.
The 4 checks in full, with the evidence you keep
A search of the code outside the module finds no import or call of the module's internal functions and no query against its tables; every use goes through the interface
Evidence: The search output before and after, and the map of the module's data access with each access routed through the interface or listed as an accepted exception
The contract test suite of up to 25 cases passes against the module in the application, and passes unchanged against the separately running copy
Evidence: Two test run logs listing the same cases
With the switch set to each implementation in turn on staging, the application's existing tests and the agreed flows pass
Evidence: Test output and flow results for both settings
Switching from the separate copy back to the in-application module restores the same results for the agreed flows, rehearsed on staging
Evidence: The rehearsal log with before and after results
Sign-off. You review the interface, the contract tests and the data map, then merge and deploy under your own gates. Passing contract tests cover the behaviours agreed, not every possible use of the module.
If it fails. If the agreed checks do not pass, you do not pay and you keep the interface, the tests and the map of accesses.
How we deliver
We arrange the work and independent review, then show you the result against the agreed checks. You keep authority over your systems.
The 6 delivery steps in full
- Agree the module, the list of its operations and the definition of done, then run the application's tests on a copy and record the baseline
- Find every caller and every data access of the module by searching the code, and write the map of what it reads and writes
- Write the interface and the contract tests against the module as it is, so the tests pass before anything moves
- Move each caller onto the interface one at a time, re-running the tests after each, until nothing outside the module touches its internals
- Build the separately running copy of the module against the same interface and run the same contract tests, then add the switch and test both settings
- Independent review of the interface, the caller changes and the data map, then hand over the pull requests, the evidence and the runbook for switching and switching back
This is a one-off job, not emergency cover or a subscription. We confirm eligibility, the total price, a start window and a delivery date before you accept. Work starts only after agreed inputs, secure access, any licences and necessary permissions are in place. Hosting, platform and supplier charges are excluded unless the written quote includes them. No charge or booking is created by sending a message.
When it fits, and when we stop
It fits when
- The module has up to 15 files, an owner who can describe what it does and a test suite that exercises it or a list of behaviours you can agree
- No more than 40 call sites outside the module use it, and they can be found by searching the code
Show 3 more
- The module's own data is read and written only by the module, or the exceptions can be routed through the interface
- The application runs on a copy with test data and no live customers or payments
- Your team can host a separate process for the module on staging, and in production if you choose to switch, and operate it
We stop and tell you if
- The module shares in-memory state or database transactions with the rest of the application in a way that cannot be put behind an interface
- Other code reads or writes the module's tables in many places that cannot be listed and changed
Show 3 more
- The module's behaviour cannot be exercised without production data or live external effects
- The call sites are generated dynamically and cannot be found by searching
- Nobody on your side can host and operate a separate process, even on staging: the seam alone is not covered by this fixed-price job, so ask for a quote
Check whether this job fits
Five short questions. Your answers stay on this page unless you choose to email them.
Answer 5 questions to see if it fits
Checks you can run yourself
Count the places that use the module
Ask a developer to run this read-only search in a copy of the project folder, replacing the module name and the module's folder name, and send the number. It skips installed dependencies and the module's own folder.
grep -rn "YOUR_MODULE_NAME" --include='*.rb' --include='*.py' --include='*.php' --include='*.js' --include='*.ts' --exclude-dir=node_modules --exclude-dir=vendor --exclude-dir=YOUR_MODULE_FOLDER . | wc -lLook for: A count of references outside the module itself. The fixed scope covers up to 40 call sites.
List the database tables the module touches
Ask a developer to search the module's code for table names and send the list, not the code.
Look for: Table names. Then search the rest of the code for the same names: any hit is an access to be routed through the interface.
What could go wrong
3 risks, and how we handle each
Every change is a pull request your team merges, so it can be reverted. The configuration switch defaults to the module in its current place; switching back to it from the separate copy restores the earlier behaviour. No data is moved in this job: the separate process reads and writes the same database and the module's own tables, only through the interface, so there is nothing to reconcile when you switch back.
Scroll the table sideways to read it all.
| Risk | How we handle it |
|---|---|
| A caller or data access is missed and breaks when the module runs separately | Callers are found by search and then proved by moving them one at a time with the tests re-run, and the reviewer repeats the search independently. |
| The contract tests are weaker than the behaviour people rely on | The list of behaviours is agreed with a named person before tests are written, and each test is traced to an item on the list. |
| A network call adds failure modes the in-process call did not have | The interface states its errors explicitly, the contract tests include failure cases, and the switch lets you run the in-process version until you are satisfied. |
A second reviewer re-searches the code for any remaining access to the module's internals and its tables, checks that the contract tests are not weaker than the behaviour agreed, and re-runs both settings of the switch from the handover notes alone.
Need to keep it working?
A full-time AI agent can look after this kind of work, or tell us what you want looked after when you ask.
What ongoing work would cover, and what it does not
Discuss a follow-on to extract the next module, or a monthly service that keeps the application's dependencies on supported versions.
Ongoing work is separately scoped and quoted: no monitoring, response-time guarantee or automatic subscription is included in this job.
What you can check
Other ways to get this done
- Stopping after the seam, with the module still inside the application behind its interface, already removes most of the risk. That smaller scope is quoted separately from this job, which also builds the separately running copy; whether you switch to the copy is your decision after you see the tests.
- If the module is rarely changed and shares most of its data with the rest of the code, leaving it where it is and improving its tests may be the better investment.
Questions
Why not extract it straight into a new service?
Because most failures come from callers and data access that nobody listed. Making the boundary real first, with tests, finds them while everything is still in one place.
Do I have to run the module separately?
No. Whether you switch to the separate copy is your decision. The copy is part of this fixed job, so it needs somewhere to run, even if only on staging. The seam and contract tests alone are quoted separately.
Does the separate module get its own database?
Not in this job. The separate process uses the same database and the module's own tables, reached only through the interface. Splitting the database needs a data-ownership plan and is quoted separately.
Ask about this job
What to send us, what comes later, and who owns what
Send us
- The language and framework, and the module you want separated and what it does
- The approximate number of files in it, and how many places call it
- Whether the module has its own database tables, and whether other code uses them
- Why you want it separate and how you would host it
Later, once you agree
- A controlled copy of the source with secrets removed, through the agreed company-controlled secure handoff
- How to run the application and its tests locally, with synthetic fixtures
- A named person who can confirm the module's intended behaviour
- A company-controlled secure handoff agreed before access: no live passwords, keys, private code or customer records by ordinary email.
You own the code, hosting and data. We work from an authorised copy with secrets removed and return pull requests that your team reviews, merges and deploys. We never ask for passwords or tokens in your first message.
Email fallback: open your mail app
If website submission is unavailable, review and send the fallback email yourself. An email fallback is not a website receipt. Or write to hello@syntheticindustry.ai and say which job you mean.
Last revised 13 October 2026