I like your original formulation more, as it shows some of your thoughts about such construction.
a) Prevent Collisions
You can build this structure on the moon itself.
If you build it in lower or higher orbit it will take ages for a collision, to happen if any. There is a lot of space between planet and moon where such construction will be perfectly fine.
Build it in the same orbit as the moon, but on opposite side of the Earth. It will need some positional corrections, but as far as materials go, it should be not a problem. (Do it same way as you would haul materials to the moon-station.)
b) Power
Solar power is not a bad choice actually, since you are primarily concerned about interior temperature. Solar power will provide the same order of magnitude of power as the waste heat you can radiate away from your station.
Solar is reliable; it will work for long time, will not blow up your station, and is a constant steady flow of energy.
You are wrong saying that the station - will be at an angle too acute or too obtuse to use effectively with stationary solar panels. The station should rotate with angular velocity 2$\pi$ rad per year so it faces the Sun with one side (there will be small perturbations, parallax, not perfectly circular earth orbit, and construction should avoid earth's shadow by choosing orbit->orbital period).
For most orbits(for orbits with inclination more then few grad) there will be 2 times per year when shadow of earth covers small section of that orbit, and station should not be there for that time. So we just should avoid Sun eclipses, but that is actually rare situation and no very long lasting one as we may see on moon examples, and it is possible to avoid it, in case when we choose orbit and phase angle of our station on that orbit and have some means to correct orbit a little.
If you have thermonuclear power - great, but to exceed amount of power you get from solar you need to have big radiator, almost the same size as you would need solar collectors for same power production. Thermonuclear may be more efficient allowing radiators to work at higher temperatures (because hot end of thermonuclear reactor is millions of Kelvin).
- hot end temperature of thermonuclear reactor is millions of Kelvin, temperature of plasma where reaction is happening, so if cold end will be 10000K, so potentially efficiency may be 99.99%, and 10000K of radiator (plasma ball contained by magnetic field) will radiate away 10000 more energy then 1000K radiator. Efficiency of TR will not be 99.99%, mostly because we are not capable to convert all sorts of energy released in the process - neutrons, gamma, muon's, at that temperature(million's of kelvin), as we can do it with plasma. And energy released in the ways which we can't efficiently to utilize may be significant portion of total energy, it differs for different reactions but it counts by 10's of percent of it.
c) Temperature and Power
Generator: The temperatures of the hot and cold reservoirs of your power generation system define Carnot efficiency: $\small\text{Efficiency}=\frac{T_{hot}-T_{cold}}{T_{hot}}$
Radiator: The heat radiator works using black body radiation. Power emission from a black body follows the Stefan-Boltzmann law, $Q=\sigma T^4$, where $σ = 5.67×10^{−8} W m^{−2} K^{−4}$, where $T$ is radiator temperature.
Assume desired internal temperature of 300K
For solar power generation $T_{hot}$ is about 6000K as maximum; If the cold reservoir is 1000K, then maximum efficiency is about 83 percent.If 1000K is the temperature of radiator, then it will emit 56700W from each square meter of surface. For each 1MW produced electricity you should have about 3.62 $\text{m}^2$ of radiator, and about 245 $\text{m}^2$ of collector.
A second set of radiators is used to dissipate heat and cool down the internal structures of the system, where we use this 1MW of electricity (which eventually generates 1MW of heat) to do some computation work. Assume coolant temperature is about 300K (same as internal temperature) on the input of radiator and 250K coolant on the output end from radiator back in to internal system, then average energy flow from radiator will be: $j^*=\frac{\sigma}{5}\frac{300^5-250^5}{300-250}\approx 330W/m^2$
1/5 comes from integration $\frac {\int \sigma T^4}{\Delta T}$, it is kinda average flux from radiator over surface of that radiator, because of temperature changes from 300K to 250K on radiator surface. We pump heat carrier in to radiator at 300K, and return it at 250K. Radiator will have hotter zones and cooler zones. And if we have radiator divided in 50 zones(for each 1K) with equal surface for each zone, average emitted energy will be that integral divided on temperature difference between heat carrier we pump in and pump out.
Result is just approximation and do not includes other effects which maybe good to consider there - like Heat capacity is not strictly a constant, and if heat carrier changes phase gas-liquid-solid. Heat carrier can be solid object, which you just physically move as solid object. Those details depend on particular implementation and construction of that radiator and heat carrier(s) used.
also I use 1 side of radiator here and in other calculations below, but for flat radiator it is possible to use both sides(both sides emit energy, it is kinda my error, because I'm used to spherical emitting surfaces), so for flat radiators 1/2 surface of my calculations is possible.
kindly added by kingledion upper limit for thickness of radiator shell made of aluminum.
To support this heat transfer, you need sufficient heat flux in your radiator. Assuming an aluminum heat sink (thermal conductivity $k = 205 \frac{\text{W}}{\text{m}\cdot\text{K}}$), then using 1-d Fourier's law $330 \frac{\text{W}}{\text{m}^2} = 205 \frac{\text{W}}{\text{m}\cdot\text{K}} \cdot \frac{dT}{dx}$, $\frac{dT}{dx} = 1.6 \frac{\text{K}}{\text{m}} = \frac{50 \text{K}}{x}$, so radiator can be no more than 31 meters thick or heat flux will be too low. Heat flux is no problem.
For each 1MW of electricity used inside the station you will need about 3030 additional square meters of radiator. You can use active cooling and have higher radiator temperature and thus less surface area. 600K will get you 16 times reduction of radiator surface, but overall energy efficiency of the system will drop.
The heat radiation efficiency of this system is already a problem. With 1000K of radiator temperature, the surface of a station the size of the moon can dump 56700 $\small W/m^2$. And for each square meter of surface there is 580000 cubic meters of volume in a 'death star'-like sphere where this 1MW of energy can be used. 56700W used there is literary nothing as one 1x1x2 meters box of servers can consume 10kW easy. So to use that volume efficiently -- lets say 1kW per cubic meter of volume -- the surface of your radiator should be about 10000 times more then whole surface of your moon station.
This volume efficiency is the reason why building on the moon itself isn't a bad idea, because you would barely need all the volume a spherical station would have. You could utilize a 50-100 meter thick layer with hot radiator (1000K), and something like 1 meter thick layer with 300K radiator - covering moon.
You could still solve that problem, and pack 1kW per cubic meter of volume, but the radiator size will be huge. In case, if it is another sphere, then it should have a 173000km radius (which would stretch halfway from the moon to the earth; or 2.5 the size of Jupiter). If it is a disk then the radius must be 2 times bigger: 346000km. And that is when the radiator temperature is 1000K, when it is 300K it will be 13 times bigger, for both the sphere and the disk.
d) Self Repair
The station would be repaired with the same technology you built it with. If we consider the radiator to be moon size, it will be 37.6 million square kilometers of 1-100 meter thick structure. So you probably should use some replacement for human labor there, probably 100% of it have to be replaced with sort of automatic building producing system. Because even if you use automatic construction machinery for 99% of work(including teleoperation), and there is still 1% of work you can't do remotely, it is kinda similar to situation when people have to build 376000 km$^2$ by them self and it is kinda equivalent to build 300 cities size of 5 million people each, it needs lot of work force(labor) hundreds of million people, they will need life supporting and all kinda stuff humans need, so they have to live there by hundreds of millions. And this situation will be incompatible with reason of freeing space on earth, as obviously shows that humans can live with that technology level in space.
Just use blocks, produce them, and replace them when they are broken and recycle broken ones. Using human there will ruin all your idea of doing that thing in first place.
There are other options possible, but you will still have to have some program for maintenance and repair (aka software and hardware solutions): it will not repair itself, if developer did not developed this process to be part of the system. The designer must choose which technologies to use to repair. Nanomachines, micromachines, macrofabrics and robots could all be used, but these would be the same technology you used to build the station.
Simplest algorithm to repair, just demolition of old block and build in new one on that place.
e) Own gravity
I will recommend Isaac Arthur youtube channel, Megastructures playlist, first 6 videos(as they numbered in titles) or 5th one Shell Worlds if I recall correctly.
Pay attention to active supporting structures, what are their capabilities. So gravity of the body is not a big problem there (body as moon).
In short, one can build layered structure, supported by active supporting structures(they work same way as Launch loop can be suspended above the atmosphere of Earth). So any stress which comes from gravity of body itself, can be compensated by those means.
These active structures may be used to transfer energy in the station, and transfer heat from the station.
technology used in this answer may be used to solve problems with your station (as it capable to implement an active supporting structure and actually it is used in answer).
Problem with that solution is that by using it, you do not need to build your station explicitly, for the reasons you mention: as for future use and to free space on earth. But such station may exists for other reasons, as example - we just need a big computer. (Ed note: unclear, please clarify - overpowered solutions for op's needs/reasons: same way it is possible to move everything from earth in to space(manufactures, people, animals), build new earth each year using Jupiter matter, etc. Problem will not exists, or will have completely different solution. But having Raw computing power is always good reason, where to use is not a problem, problem is to have enough)
Motivation is a big problem in your question, but I consider that also as a thing to ignore, along with problems like where to get materials, where to get energy, which technologies used for building etc.
Regarding gravity and system effects - if earth has 2 moons of the same mass it will have no effect on solar system, and not big effects on earth(there will be some, tides will be reduced significantly, how behave atmosphere(wind maps may change)).
However, if you move the station to L1, and solve L1 instability problem (as example by releasing and contracting counterweights that may be part of the station itself like cores and radiators), then gravity forces from that body will be 4% compared to moon forces, with will significantly reduce any effects this body may have on earth, including tidal problems.
But considering the radiator problems, if the size of the structure is limited by the size of the radiators being equal to the moon's surface area, then the mass of the whole construction will be an insignificant, 0.00X% of the moon's mass - and it will have no effects on earth.
Critique
In short, if you have the problems stated in the original post, it is very hard to both stay on earth and be able to build this station. It will need considerable amounts of energy generated in space, materials moved, etc. If you can already do that, it might be easier just to build space habitats which will free from lot of constrains, including those you have mention.